Commit 5ea94131 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add simulated_movement_type_list, container_type_list and discount_type_list.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@687 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 96d252f1
...@@ -65,6 +65,8 @@ order_or_delivery_type_list = tuple(list(order_type_list) + list(delivery_type_l ...@@ -65,6 +65,8 @@ order_or_delivery_type_list = tuple(list(order_type_list) + list(delivery_type_l
variation_base_category_list = ('coloris', 'taille', 'variante', 'morphologie') variation_base_category_list = ('coloris', 'taille', 'variante', 'morphologie')
variation_base_category_id_list = variation_base_category_list # Temp Patch variation_base_category_id_list = variation_base_category_list # Temp Patch
# Invoice "movement" is not an accountable movement
# Accountable movements of invoices are of type Accounting Transaction Line
invoice_movement_type_list = ( invoice_movement_type_list = (
'Invoice Line', 'Invoice Line',
'Invoice Cell', 'Invoice Cell',
...@@ -120,8 +122,15 @@ movement_type_list = tuple(list(order_movement_type_list) + \ ...@@ -120,8 +122,15 @@ movement_type_list = tuple(list(order_movement_type_list) + \
['Simulation Movement'] ['Simulation Movement']
) )
simulated_movement_type_list = tuple(filter(lambda x: x != 'Container Line' and x != 'Container Cell',
movement_type_list))
container_type_list = ('Container',)
item_type_list = ('Piece Tissu',) item_type_list = ('Piece Tissu',)
discount_type_list = ('Remise',)
# Bellow, we only use order_or_delivery_movement_type_list for movements # Bellow, we only use order_or_delivery_movement_type_list for movements
# Since we simulation only acquires from orders or deliveries # Since we simulation only acquires from orders or deliveries
movement_or_order_type_list = tuple(list(acquisition_movement_type_list) + list(order_type_list)) movement_or_order_type_list = tuple(list(acquisition_movement_type_list) + list(order_type_list))
......
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