openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24258
[Bug 1204545] Re: bug l10n_be_coda: structured communication get truncate with address
** Tags added: maintenance
** Changed in: openobject-addons
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) => OpenERP Publisher's Warranty Team (openerp-opw)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1204545
Title:
bug l10n_be_coda: structured communication get truncate with address
Status in OpenERP Addons (modules):
Triaged
Bug description:
Hi,
I've met another bug in the coda module.
while parsing the coda file you can have to type of communication :
- structured communication
- free communication
but at line 202 http://bazaar.launchpad.net/~openerp/openobject-
addons/7.0/view/head:/l10n_be_coda/wizard/account_coda_import.py#L202
the process concat the address of the partner to a structured
communication which is totally false. it should check first if the
'communication_struct' is equal to False to do it
so the code should be like the following
statement['lines'][-1]['counterpartyName'] = rmspaces(line[47:82])
if statement['lines'][-1]['communication_struct'] == False :
statement['lines'][-1]['communication'] += rmspaces(line[82:125])
The code as it is won't let the matching of the structured
communication perform on the ones saved in invoices as they never
match
Thanks for your help
Houssine
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1204545/+subscriptions
References