Commit 77edf2bb authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_real_time_inventory_accounting: stock/preparation/entree for ME.

parent 7d49bc8c
...@@ -72,6 +72,7 @@ class InventoryAssetPriceAccountingRuleMovementGenerator(InvoiceTransactionRuleM ...@@ -72,6 +72,7 @@ class InventoryAssetPriceAccountingRuleMovementGenerator(InvoiceTransactionRuleM
# PATCH-BEGIN # PATCH-BEGIN
update_dict = {} update_dict = {}
if movement.getLedger() in ('stock/stock/entree', if movement.getLedger() in ('stock/stock/entree',
'stock/preparation/entree',
'stock/transit/sortie'): 'stock/transit/sortie'):
update_dict['start_date'] = update_dict['stop_date'] = input_movement.getStopDate() update_dict['start_date'] = update_dict['stop_date'] = input_movement.getStopDate()
elif movement.getLedger() in ('stock/stock/sortie', elif movement.getLedger() in ('stock/stock/sortie',
......
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