c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02142
[Bug 640761] Re: account_anglo_saxon lacks a fiscal position mapping in invoice.py
Hello,
This code is already improved in trunk.
Our R&D Teams are currently focused on the latest OpenERP version, and unfortunately this issue does not affect it.
In the case of past stable releases of OpenERP, you may contact our Maintenance team via the OpenERP Publisher's Warranty, and they will quickly help you solve this issue.
Thanks for your comprehension.
Thanks.
** Also affects: openobject-addons/5.0
Importance: Undecided
Status: New
** Also affects: openobject-addons/trunk
Importance: Undecided
Status: New
** Changed in: openobject-addons/5.0
Status: New => Won't Fix
** Changed in: openobject-addons/trunk
Status: New => Invalid
--
account_anglo_saxon lacks a fiscal position mapping in invoice.py
https://bugs.launchpad.net/bugs/640761
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Invalid
Status in OpenObject Addons 5.0 series: Won't Fix
Status in OpenObject Addons trunk series: Invalid
Bug description:
On 5.0.12 using account_anglo_saxon in a multicompany environment with fiscal position mapping the COGS account is not mapped to the right account, since there's no fiscal position mapping in invoice.py.
imo. following code should be inserted at line 58:
#fiscal position
fpos = inv.fiscal_position or False
cacc = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, cacc)
dacc = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, dacc)