Commit 22558e34 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: propagate source_project in the simulation/builder

parent d961d916
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
<string>destination</string> <string>destination</string>
<string>source_section</string> <string>source_section</string>
<string>destination_section</string> <string>destination_section</string>
<string>source_project</string>
<string>destination_project</string>
<string>price_currency</string> <string>price_currency</string>
<string>source_decision</string> <string>source_decision</string>
<string>destination_decision</string> <string>destination_decision</string>
......
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
<string>destination</string> <string>destination</string>
<string>source_section</string> <string>source_section</string>
<string>destination_section</string> <string>destination_section</string>
<string>source_project</string>
<string>destination_project</string>
<string>price_currency</string> <string>price_currency</string>
<string>ledger</string> <string>ledger</string>
</tuple> </tuple>
......
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
<string>destination</string> <string>destination</string>
<string>source_section</string> <string>source_section</string>
<string>destination_section</string> <string>destination_section</string>
<string>source_project</string>
<string>destination_project</string>
<string>source_decision</string> <string>source_decision</string>
<string>destination_decision</string> <string>destination_decision</string>
<string>price_currency</string> <string>price_currency</string>
......
...@@ -67,8 +67,10 @@ for movement in movement_list: ...@@ -67,8 +67,10 @@ for movement in movement_list:
source=movement.getSource(), source=movement.getSource(),
destination=movement.getDestination(), destination=movement.getDestination(),
source_section=movement.getSourceSection(), source_section=movement.getSourceSection(),
source_project=movement.getSourceProject(),
destination_section=movement.getDestination(), destination_section=movement.getDestination(),
destination_decision=movement.getDestination(), destination_decision=movement.getDestination(),
destination_project=movement.getDestinationProject(),
ledger=movement.getLedger(), ledger=movement.getLedger(),
specialise=specialise, specialise=specialise,
price_currency=movement.getPriceCurrency(), price_currency=movement.getPriceCurrency(),
......
...@@ -9,7 +9,9 @@ def newPackingList(movement, causality, message): ...@@ -9,7 +9,9 @@ def newPackingList(movement, causality, message):
source=movement.getSource(), source=movement.getSource(),
destination=movement.getDestination(), destination=movement.getDestination(),
source_section=movement.getSourceSection(), source_section=movement.getSourceSection(),
source_project=movement.getSourceProject(),
destination_section=movement.getDestination(), destination_section=movement.getDestination(),
destination_project=movement.getDestinationProject(),
destination_decision=movement.getDestination(), destination_decision=movement.getDestination(),
specialise=movement.getSpecialise(), specialise=movement.getSpecialise(),
price_currency=movement.getPriceCurrency(), price_currency=movement.getPriceCurrency(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment