Commit 4b85b7a8 authored by Vincent Pelletier's avatar Vincent Pelletier

Move hardcoded value dict to specific product instead of generic one.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15208 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d8b1788
......@@ -199,20 +199,12 @@ class BaobabConduit(ERP5Conduit):
from Products.Baobab.Conduit import inventory_code_to_path
from Products.Baobab.Conduit import vault_code_to_path
from Products.Baobab.Conduit import variation_translate_dict
from Products.Baobab.Conduit import status_code_to_cash_status
except ImportError:
inventory_code_to_path = {}
vault_code_to_path = {}
variation_translate_dict = {}
status_code_to_cash_status = {'TVA' : 'valid',
'NEE' : 'new_emitted',
'NEU' : 'new_not_emitted',
'RTC' : 'retired',
'ATR' : 'to_sort',
'MUT' : 'mutilated',
'EAV' : 'to_ventilate',
'ANN' : 'cancelled',
'MIX' : 'mixed'}
ariation_translate_dict = {}
status_code_to_cash_status = {}
"""
Methods below are tools to use the property_map.
......
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