From dd17919e351dfdf632d7171630702efcc52bf08a Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Thu, 8 Jun 2017 17:25:49 -0700 Subject: [PATCH] [10.0][IMP] Add variable qty to contract template view (#66) * [IMP] Add variable qty to contract template view * Bump minor version --- contract_variable_quantity/__manifest__.py | 2 +- .../views/contract_view.xml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/contract_variable_quantity/__manifest__.py b/contract_variable_quantity/__manifest__.py index 07064371..b56b6a3b 100644 --- a/contract_variable_quantity/__manifest__.py +++ b/contract_variable_quantity/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Variable quantity in contract recurrent invoicing', - 'version': '10.0.1.0.0', + 'version': '10.0.1.1.0', 'category': 'Contract Management', 'license': 'AGPL-3', 'author': "Tecnativa," diff --git a/contract_variable_quantity/views/contract_view.xml b/contract_variable_quantity/views/contract_view.xml index 5a5f5237..3f32a437 100644 --- a/contract_variable_quantity/views/contract_view.xml +++ b/contract_variable_quantity/views/contract_view.xml @@ -1,6 +1,25 @@ + + Contract Template Variable Qty + account.analytic.contract + + + + + + + + + + {'required': [('qty_type', '=', 'fixed')], 'invisible': [('qty_type', '!=', 'fixed')]} + + + + account.analytic.account