-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ groups="base.group_no_one"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ #START#: Start
+ date
+ of the
+ invoiced period
+
+ #END#: End date
+ of
+ the
+ invoiced period
+
+
+
+
+
+
+
+
-
- #START#: Start date of the
- invoiced period
-
- #END#: End date of the
- invoiced period
-
-
-
+
+
@@ -160,9 +130,6 @@
[('type', '=', 'sale'),('company_id', '=', company_id)]
-
- [('sale_ok', '=', True)]
-
@@ -184,14 +151,6 @@
[('type', '=', 'purchase'),('company_id', '=', company_id)]
-
- [('purchase_ok', '=', True)]
-
-
-
- True
-
diff --git a/contract/views/contract_line.xml b/contract/views/contract_line.xml
index 346123ef..96875c9f 100644
--- a/contract/views/contract_line.xml
+++ b/contract/views/contract_line.xml
@@ -20,10 +20,11 @@
-
+
-
+
@@ -35,4 +36,129 @@
+
+ account.analytic.invoice.line.sale.form
+ account.analytic.invoice.line
+
+ primary
+
+
+
+ [('sale_ok', '=', True)]
+
+
+
+
+
+ account.analytic.invoice.line.purchase.form
+ account.analytic.invoice.line
+
+ primary
+
+
+
+ [('purchase_ok', '=', True)]
+
+
+
+ True
+
+
+
+
+
+ account.analytic.invoice.line.tree
+ account.analytic.invoice.line
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ account.analytic.invoice.line.purchase.tree
+ account.analytic.invoice.line
+ primary
+
+
+
+
+ True
+
+
+
+