Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
7f4d22b7
Commit
7f4d22b7
authored
Dec 31, 2018
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always make a quantity divergence tester take the delivery ratio into account
/reviewed-on
nexedi/erp5!819
parent
8930fec9
Changes
40
Show whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
4 additions
and
472 deletions
+4
-472
bt5/erp5_configurator_standard_accounting_template/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
...ules/new_invoice_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_accounting_template/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
...tal_rules/new_payment_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
...tal_rules/new_invoice_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
...w_invoice_transaction_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
...rules/new_trade_model_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
...les/new_delivery_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
...al_rules/new_delivery_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
..._rules/new_order_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/1.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/1.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/1/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/1/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/2.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/2.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/2/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/2/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/3.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/3.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/3/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/3/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/5.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/5.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/5/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/5/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/6.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/6.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/6/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/6/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/7.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/7.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/7/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/7/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/8.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/8.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/8/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/8/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/9.xml
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/9.xml
+0
-4
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/9/quantity_tester.xml
..._rule/PathTemplateItem/portal_rules/9/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
...les/new_delivery_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
...al_rules/new_delivery_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
...ules/new_invoice_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
...tal_rules/new_invoice_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
...w_invoice_transaction_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
..._rules/new_order_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
...tal_rules/new_payment_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
...rules/new_trade_model_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_immobilisation/PathTemplateItem/portal_rules/default_amortisation_rule/quantity_tester.xml
...ortal_rules/default_amortisation_rule/quantity_tester.xml
+0
-14
bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/portal_rules/default_delivery_root_simulation_rule/quantity_tester.xml
...default_delivery_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_delivery_root_simulation_rule/quantity_tester.xml
...es/test_delivery_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_delivery_simulation_rule/quantity_tester.xml
...l_rules/test_delivery_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_invoice_simulation_rule/quantity_tester.xml
...al_rules/test_invoice_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_order_root_simulation_rule/quantity_tester.xml
...rules/test_order_root_simulation_rule/quantity_tester.xml
+0
-14
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_trade_model_simulation_rule/quantity_tester.xml
...ules/test_trade_model_simulation_rule/quantity_tester.xml
+0
-14
product/ERP5/Document/FloatEquivalenceTester.py
product/ERP5/Document/FloatEquivalenceTester.py
+4
-6
No files found.
bt5/erp5_configurator_standard_accounting_template/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_accounting_template/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -88,10 +78,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_invoicing_template/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -96,10 +86,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -92,10 +82,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_configurator_standard_trade_template/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/1.xml
View file @
7f4d22b7
...
...
@@ -442,10 +442,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/1/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/2.xml
View file @
7f4d22b7
...
...
@@ -466,10 +466,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/2/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/3.xml
View file @
7f4d22b7
...
...
@@ -235,10 +235,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/3/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -80,10 +70,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/5.xml
View file @
7f4d22b7
...
...
@@ -477,10 +477,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/5/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/6.xml
View file @
7f4d22b7
...
...
@@ -507,10 +507,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/6/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -76,10 +66,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/7.xml
View file @
7f4d22b7
...
...
@@ -446,10 +446,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/7/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/8.xml
View file @
7f4d22b7
...
...
@@ -442,10 +442,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/8/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/9.xml
View file @
7f4d22b7
...
...
@@ -307,10 +307,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/9/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -92,10 +82,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -88,10 +78,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_demo_maxma_rule/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -96,10 +86,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
...
...
bt5/erp5_immobilisation/PathTemplateItem/portal_rules/default_amortisation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/portal_rules/default_delivery_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_delivery_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_delivery_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -92,10 +82,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_invoice_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -84,10 +74,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_order_root_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -10,16 +10,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -72,10 +62,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_simulation_performance_test/PathTemplateItem/portal_rules/test_trade_model_simulation_rule/quantity_tester.xml
View file @
7f4d22b7
...
...
@@ -16,16 +16,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
use_delivery_ratio
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -96,10 +86,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
quantity divergence tester
</string>
</value>
</item>
<item>
<key>
<string>
use_delivery_ratio
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
product/ERP5/Document/FloatEquivalenceTester.py
View file @
7f4d22b7
...
...
@@ -89,11 +89,9 @@ class FloatEquivalenceTester(Predicate, EquivalenceTesterMixin):
tested_property
=
self
.
getTestedProperty
()
property_name
=
getattr
(
self
,
'getTranslatedTestedPropertyTitle'
,
lambda
:
None
)()
or
\
tested_property
if
prevision_movement
.
getDelivery
()
==
decision_movement
.
getRelativeUrl
():
# use delivery_ratio if specified
if
self
.
getProperty
(
'use_delivery_ratio'
):
if
(
tested_property
==
'quantity'
and
prevision_movement
.
getDelivery
()
==
decision_movement
.
getRelativeUrl
()):
decision_value
*=
prevision_movement
.
getDeliveryRatio
()
if
tested_property
==
'quantity'
:
prevision_value
+=
prevision_movement
.
getDeliveryError
(
0.0
)
if
self
.
isDecimalAlignmentEnabled
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment