diff --git a/product/ERP5/ERP5Globals.py b/product/ERP5/ERP5Globals.py index e971246388d7c7b03975f31ba974adfec81aa59c..39f6ad5b30398535c0118fed490282d1d61c327f 100755 --- a/product/ERP5/ERP5Globals.py +++ b/product/ERP5/ERP5Globals.py @@ -59,6 +59,7 @@ delivery_type_list = ('Delivery', 'Sale Invoice Transaction', 'Production Packing List', 'Production Report', + 'Balance Transaction', ) order_or_delivery_type_list = tuple(list(order_type_list) + list(delivery_type_list)) @@ -106,7 +107,8 @@ delivery_movement_type_list = ( 'Production Report Cell', 'Production Packing List Line', 'Container Line', - 'Container Cell' + 'Container Cell', + 'Balance Transaction Line', ) order_or_delivery_or_invoice_movement_type_list = tuple(list(order_movement_type_list) + \ @@ -136,6 +138,9 @@ discount_type_list = ('Remise',) payment_condition_type_list = ('Condition Paiement',) +# This transaction lines are special because destination must be None. +balance_transaction_line_type_list = ('Balance Transaction Line',) + # Bellow, we only use order_or_delivery_movement_type_list for movements # Since we simulation only acquires from orders or deliveries movement_or_order_type_list = tuple(list(acquisition_movement_type_list) + list(order_type_list))