Commit 4def3c86 by Yvon Kerdoncuff

Merge branch '5250-colonnes-export-comptable' into 'dev_cooperatic'

fix added columns in export comptable by removing semicolons if found in coop name

See merge request !247
parents ad281844 f2e7a6e9
Pipeline #3130 failed with stage
in 1 minute 8 seconds
...@@ -182,7 +182,7 @@ def retrieve_odoo_coop_data (coop_ids): ...@@ -182,7 +182,7 @@ def retrieve_odoo_coop_data (coop_ids):
for coop in coops: for coop in coops:
if not (str(coop['barcode_base']) in coops_dict.keys()): if not (str(coop['barcode_base']) in coops_dict.keys()):
coops_dict[str(coop['barcode_base'])] = \ coops_dict[str(coop['barcode_base'])] = \
str(coop['barcode_base']) + ' - ' + coop['name'] str(coop['barcode_base']) + ' - ' + coop['name'].replace(';','')
return coops_dict return coops_dict
......
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