- #START#: Start
+ name="group_legend">
+
+ #START#
+ : Start
date
of the
invoiced period
- #END#: End date
+
+ #END#
+ : End date
of
the
invoiced period
@@ -205,42 +219,42 @@
+ filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"/>
+ string="In progress"
+ domain="['|', ('date_end', '>=', context_today().strftime('%Y-%m-%d')), '&', ('date_end', '=', False), ('recurring_next_date', '!=', False)]"
+ />
+ string="Finished"
+ domain="[('date_end', '<', context_today().strftime('%Y-%m-%d')), ('recurring_next_date', '=', False)]"
+ />
+ domain="[('active', '=', False)]"
+ name="inactive"/>
+ name="group_by_partner"
+ domain="[]"
+ context="{'group_by':'partner_id'}"/>
+ string="Commercial Entity"
+ context="{'group_by': 'commercial_partner_id'}"/>
+ string="Next Invoice"
+ domain="[('recurring_next_date', '!=', False)]"
+ context="{'group_by':'recurring_next_date'}"
+ />
+ string="Date End"
+ domain="[]"
+ context="{'group_by':'date_end'}"
+ />
@@ -253,9 +267,10 @@
form
tree,form
[('contract_type', '=', 'sale')]
- {'is_contract':1,
- 'search_default_not_finished':1,
- 'default_contract_type': 'sale'}
+
+ {'is_contract':1,
+ 'search_default_not_finished':1,
+ 'default_contract_type': 'sale'}
@@ -280,10 +295,10 @@
+ parent="account.menu_finance_receivables"
+ action="action_customer_contract"
+ sequence="99"
+ />
@@ -292,9 +307,10 @@
form
tree,form
[('contract_type', '=', 'purchase')]
- {'is_contract':1,
- 'search_default_not_finished':1,
- 'default_contract_type': 'purchase'}
+
+ {'is_contract':1,
+ 'search_default_not_finished':1,
+ 'default_contract_type': 'purchase'}
@@ -319,9 +335,9 @@
+ parent="account.menu_finance_payables"
+ action="action_supplier_contract"
+ sequence="99"
+ />
diff --git a/contract/views/contract_tag.xml b/contract/views/contract_tag.xml
new file mode 100644
index 000000000..f6bca2c39
--- /dev/null
+++ b/contract/views/contract_tag.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ contract.tag
+
+
+
+
+
+
+
+ contract.tag
+
+
+
+
+
+
+
+
+
+ Contract Tags
+ contract.tag
+ tree,form
+
+
+
+
+
diff --git a/contract/views/contract_template.xml b/contract/views/contract_template.xml
index dad5db29a..99b22e5b0 100644
--- a/contract/views/contract_template.xml
+++ b/contract/views/contract_template.xml
@@ -100,12 +100,6 @@
-
-