diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py
index 40a4b2d1d5d..136731fbac6 100644
--- a/addons/account/__terp__.py
+++ b/addons/account/__terp__.py
@@ -59,7 +59,8 @@
"project/project_report.xml",
"product_view.xml",
"account_assert_test.xml",
- "process/invoice_process.xml",
+ "process/customer_invoice_process.xml",
+ "process/supplier_invoice_process.xml",
"process/statement_process.xml",
],
"translations" : {
diff --git a/addons/account/process/customer_invoice_process.xml b/addons/account/process/customer_invoice_process.xml
new file mode 100644
index 00000000000..35878c77fd3
--- /dev/null
+++ b/addons/account/process/customer_invoice_process.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/account/process/statement_process.xml b/addons/account/process/statement_process.xml
index 3ee13ace8d5..89710174453 100644
--- a/addons/account/process/statement_process.xml
+++ b/addons/account/process/statement_process.xml
@@ -26,6 +26,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -43,47 +54,24 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -95,6 +83,15 @@
+
+
+
+
+
+
+
+
+
@@ -110,28 +107,10 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -141,9 +120,11 @@
-
+
+
+
diff --git a/addons/account/process/supplier_invoice_process.xml b/addons/account/process/supplier_invoice_process.xml
new file mode 100644
index 00000000000..e43ee096ebc
--- /dev/null
+++ b/addons/account/process/supplier_invoice_process.xml
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addons/base_contact/__terp__.py b/addons/base_contact/__terp__.py
index b8a419e1ee9..581dfe8b26b 100644
--- a/addons/base_contact/__terp__.py
+++ b/addons/base_contact/__terp__.py
@@ -40,14 +40,15 @@
Pay attention that this module converts the existing addresses into "addresses + contacts". It means that some fields of the addresses will be missing (like the contact name), since these are supposed to be defined in an other object.
""",
- "depends" : ["base"],
+ "depends" : ["base", "process"],
"init_xml" : [],
"demo_xml" : [
"base_contact_demo.xml"
],
"update_xml" : [
"security/ir.model.access.csv",
- 'base_contact_view.xml'
+ 'base_contact_view.xml',
+ "process/base_contact_process.xml"
],
"active": False,
"installable": True
diff --git a/addons/base_contact/process/base_contact_process.xml b/addons/base_contact/process/base_contact_process.xml
new file mode 100644
index 00000000000..c446e91b104
--- /dev/null
+++ b/addons/base_contact/process/base_contact_process.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addons/crm_configuration/process/crm_configuration_process.xml b/addons/crm_configuration/process/crm_configuration_process.xml
index 84155528f92..2218610390e 100644
--- a/addons/crm_configuration/process/crm_configuration_process.xml
+++ b/addons/crm_configuration/process/crm_configuration_process.xml
@@ -1,106 +1,132 @@
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/addons/hr/process/hr_process.xml b/addons/hr/process/hr_process.xml
index 1afb90f3020..5984ed7e924 100644
--- a/addons/hr/process/hr_process.xml
+++ b/addons/hr/process/hr_process.xml
@@ -17,9 +17,11 @@
-->
+
-
+
@@ -54,11 +56,20 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
@@ -76,7 +87,6 @@
-
diff --git a/addons/hr_expense/__terp__.py b/addons/hr_expense/__terp__.py
index 7787db5e235..1cb45d7cade 100644
--- a/addons/hr_expense/__terp__.py
+++ b/addons/hr_expense/__terp__.py
@@ -48,6 +48,7 @@
"hr_expense_workflow.xml",
"hr_expense_view.xml",
"hr_expense_report.xml",
+ "process/hr_expense_process.xml"
],
"active": False,
"installable": True
diff --git a/addons/hr_expense/process/hr_expense_process.xml b/addons/hr_expense/process/hr_expense_process.xml
new file mode 100644
index 00000000000..5a00f2dc646
--- /dev/null
+++ b/addons/hr_expense/process/hr_expense_process.xml
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addons/hr_holidays/process/hr_holidays_process.xml b/addons/hr_holidays/process/hr_holidays_process.xml
index 4cbddc9c423..2cdb83885ab 100644
--- a/addons/hr_holidays/process/hr_holidays_process.xml
+++ b/addons/hr_holidays/process/hr_holidays_process.xml
@@ -2,43 +2,177 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/membership/__terp__.py b/addons/membership/__terp__.py
index 16172f9f2e4..8e80e24341e 100644
--- a/addons/membership/__terp__.py
+++ b/addons/membership/__terp__.py
@@ -36,7 +36,8 @@
],
"update_xml" : [
"security/ir.model.access.csv",
- "membership_view.xml","membership_wizard.xml"
+ "membership_view.xml","membership_wizard.xml",
+ "process/membership_process.xml"
],
"active" : False,
"installable" : True,
diff --git a/addons/membership/process/membership_process.xml b/addons/membership/process/membership_process.xml
new file mode 100644
index 00000000000..5e4b9e0703b
--- /dev/null
+++ b/addons/membership/process/membership_process.xml
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addons/mrp/__terp__.py b/addons/mrp/__terp__.py
index 98c88413e3c..c76c82296d5 100644
--- a/addons/mrp/__terp__.py
+++ b/addons/mrp/__terp__.py
@@ -25,7 +25,7 @@
"author" : "Tiny",
"website" : "http://tinyerp.com/module_mrp.html",
"category" : "Generic Modules/Production",
- "depends" : ["stock", "hr", "purchase", "product", "process"],
+ "depends" : ["stock", "hr", "purchase", "product"],
"description": """
This is the base module to manage the manufacturing process in Tiny ERP.
diff --git a/addons/mrp/process/procurement_process.xml b/addons/mrp/process/procurement_process.xml
index 866ad784349..d05eb28eaef 100644
--- a/addons/mrp/process/procurement_process.xml
+++ b/addons/mrp/process/procurement_process.xml
@@ -15,6 +15,16 @@
Process Node
-->
+
+
+
+
+
+
+
+
+
+
@@ -25,26 +35,34 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -80,40 +98,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -126,7 +144,7 @@
-
+
@@ -152,8 +170,8 @@
-
-
+
+
@@ -164,14 +182,14 @@
-
-
+
+
-
+
@@ -183,6 +201,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -207,10 +252,10 @@
-
+
-
+
@@ -219,17 +264,7 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -239,6 +274,15 @@
+
+
+
+
+
+
+
+
+
@@ -247,22 +291,22 @@
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
+
@@ -273,19 +317,10 @@
-
+
-
-
-
-
-
-
-
-
-
@@ -304,15 +339,6 @@
-
-
-
-
-
-
-
-
-
@@ -335,34 +361,6 @@
Process Action
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -404,6 +402,6 @@
-
+
\ No newline at end of file
diff --git a/addons/product/process/product_process.xml b/addons/product/process/product_process.xml
index d7e985eca7d..1264cf09f33 100644
--- a/addons/product/process/product_process.xml
+++ b/addons/product/process/product_process.xml
@@ -29,38 +29,16 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -72,23 +50,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/project/process/task_process.xml b/addons/project/process/task_process.xml
index f987ba07af3..c5179ff6e23 100644
--- a/addons/project/process/task_process.xml
+++ b/addons/project/process/task_process.xml
@@ -39,7 +39,7 @@
-
+
diff --git a/addons/project_mrp/process/project_mrp_process.xml b/addons/project_mrp/process/project_mrp_process.xml
index 125d325f223..3d08bd11394 100644
--- a/addons/project_mrp/process/project_mrp_process.xml
+++ b/addons/project_mrp/process/project_mrp_process.xml
@@ -6,12 +6,12 @@
Process Node
-->
-
+
-
-
+
+
@@ -33,35 +33,24 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
+
+
+
@@ -79,7 +68,7 @@
-
+
diff --git a/addons/purchase/process/purchase_process.xml b/addons/purchase/process/purchase_process.xml
index 23891fda515..0d17b36dc06 100644
--- a/addons/purchase/process/purchase_process.xml
+++ b/addons/purchase/process/purchase_process.xml
@@ -21,8 +21,8 @@
-
-
+
+
@@ -32,19 +32,30 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -54,8 +65,8 @@
-
-
+
+
@@ -65,8 +76,8 @@
-
-
+
+
@@ -77,8 +88,8 @@
-
-
+
+
@@ -88,14 +99,32 @@
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -122,6 +151,15 @@
+
+
+
+
+
+
+
+
+
@@ -164,7 +202,7 @@
-
+
diff --git a/addons/sale/process/sale_process.xml b/addons/sale/process/sale_process.xml
index 973c39ec2dc..231d1900ff7 100644
--- a/addons/sale/process/sale_process.xml
+++ b/addons/sale/process/sale_process.xml
@@ -1,161 +1,188 @@
-
-
-
+
-
-
+
+
-
-
-
+
-
-
-
+
+
+
- object.state=='draft'
+
-
+
-
-
-
+
+
+
- object.state in ('draft','waiting_date','manual','progress','shipping_except','invoice_except','done','cancel')
+
-
+
-
-
-
+
+
+
- object.state=='draft'
-
+
+
-
-
+
+
+
- object.state in ('waiting_date','manual','progress')
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
- object.state in ('assigned', 'confirmed')
+
+
-
-
-
+
+
+
- object.state in ('done')
+
+
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
-
-
- object.order_policy=='postpaid'
-
+
+
-
-
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
@@ -163,103 +190,103 @@
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
diff --git a/addons/sale_crm/process/sale_crm_process.xml b/addons/sale_crm/process/sale_crm_process.xml
index 6aaa146b250..307b1cfd618 100644
--- a/addons/sale_crm/process/sale_crm_process.xml
+++ b/addons/sale_crm/process/sale_crm_process.xml
@@ -2,25 +2,55 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addons/stock/__terp__.py b/addons/stock/__terp__.py
index d4a14976c2b..1937aad9428 100644
--- a/addons/stock/__terp__.py
+++ b/addons/stock/__terp__.py
@@ -42,6 +42,7 @@
"report_stock_view.xml",
"security/stock_security.xml",
"security/ir.model.access.csv",
+ "process/stock_process.xml"
],
"active": False,
"installable": True
diff --git a/addons/stock/process/stock_process.xml b/addons/stock/process/stock_process.xml
new file mode 100644
index 00000000000..aef4e3b89aa
--- /dev/null
+++ b/addons/stock/process/stock_process.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file