Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos.core
Commits
36f45f73
Commit
36f45f73
authored
Mar 07, 2023
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: builders: do not merge movement with different prices
parent
422f892d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
62 additions
and
6 deletions
+62
-6
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder.xml
...ateItem/portal_deliveries/slapos_sale_invoice_builder.xml
+1
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/category_movement_group_on_delivery.xml
...e_invoice_builder/category_movement_group_on_delivery.xml
+1
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/category_movement_group_on_line.xml
..._sale_invoice_builder/category_movement_group_on_line.xml
+1
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/property_movement_group_on_line.xml
..._sale_invoice_builder/property_movement_group_on_line.xml
+2
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_builder.xml
...al_deliveries/slapos_sale_invoice_transaction_builder.xml
+1
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_trade_model_builder.xml
...s/slapos_sale_invoice_transaction_trade_model_builder.xml
+1
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_trade_model_builder/property_movement_group_on_line.xml
...n_trade_model_builder/property_movement_group_on_line.xml
+1
-0
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder.xml
...em/portal_deliveries/slapos_sale_packing_list_builder.xml
+1
-1
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/property_movement_group_on_line.xml
..._packing_list_builder/property_movement_group_on_line.xml
+53
-0
No files found.
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder.xml
View file @
36f45f73
...
...
@@ -84,6 +84,7 @@
<value>
<tuple>
<string>
calculateSeparatePrice
</string>
<string>
calculateAddQuantity
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/category_movement_group_on_delivery.xml
View file @
36f45f73
...
...
@@ -27,7 +27,7 @@
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
2
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/category_movement_group_on_line.xml
View file @
36f45f73
...
...
@@ -27,7 +27,7 @@
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
3
</int>
</value>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_builder/property_movement_group_on_line.xml
View file @
36f45f73
...
...
@@ -27,7 +27,7 @@
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
2
</int>
</value>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
@@ -39,6 +39,7 @@
<tuple>
<string>
start_date
</string>
<string>
stop_date
</string>
<string>
price
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_builder.xml
View file @
36f45f73
...
...
@@ -83,8 +83,8 @@
<key>
<string>
delivery_cell_separate_order
</string>
</key>
<value>
<tuple>
<string>
calculateSeparatePrice
</string>
<string>
calculateAddQuantity
</string>
<string>
calculateAveragePrice
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_trade_model_builder.xml
View file @
36f45f73
...
...
@@ -85,8 +85,8 @@
<key>
<string>
delivery_cell_separate_order
</string>
</key>
<value>
<tuple>
<string>
calculateSeparatePrice
</string>
<string>
calculateAddQuantity
</string>
<string>
calculateAveragePrice
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_invoice_transaction_trade_model_builder/property_movement_group_on_line.xml
View file @
36f45f73
...
...
@@ -11,6 +11,7 @@
<value>
<tuple>
<string>
collect_order_group/line
</string>
<string>
divergence_scope/property
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder.xml
View file @
36f45f73
...
...
@@ -84,7 +84,7 @@
<key>
<string>
delivery_cell_separate_order
</string>
</key>
<value>
<tuple>
<string>
calculate
Averag
ePrice
</string>
<string>
calculate
Separat
ePrice
</string>
<string>
calculateAddQuantity
</string>
</tuple>
</value>
...
...
master/bt5/slapos_accounting/PathTemplateItem/portal_deliveries/slapos_sale_packing_list_builder/property_movement_group_on_line.xml
0 → 100644
View file @
36f45f73
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
divergence_scope/property
</string>
<string>
collect_order_group/line
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
property_movement_group_on_line
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
<item>
<key>
<string>
tested_property
</string>
</key>
<value>
<tuple>
<string>
price
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
update_always
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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