openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27061
[Bug 1268655] [NEW] Currency of a Recurring Invoice (contract) is wrong
Public bug reported:
Hello,
When creating a recurring invoice in a contract the currency of the
invoice is wrong.
If you look at the code :
/openobject-addons/account_analytic_analysis/account_analytic_analysis.py
line 673 in both SAAS-2(9085) and TRUNK (9046)
'currency_id': contract.partner_id.property_product_pricelist.id or False,
it should be
'currency_id': contract.partner_id.property_product_pricelist.currency_id.id or False,
I hope this is obvious that instead of extracting the id of the currency
... the id of the property_product_pricelist is used. Please note that
if your home currency is EUR (id=1) and if you have only one pricelist
(id=1) you will not notice this bug.
Please let me know if you need further details.
Best regards,
Daniel
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: currency invoice recurring
--
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/1268655
Title:
Currency of a Recurring Invoice (contract) is wrong
Status in OpenERP Addons (modules):
New
Bug description:
Hello,
When creating a recurring invoice in a contract the currency of the
invoice is wrong.
If you look at the code :
/openobject-addons/account_analytic_analysis/account_analytic_analysis.py
line 673 in both SAAS-2(9085) and TRUNK (9046)
'currency_id': contract.partner_id.property_product_pricelist.id or False,
it should be
'currency_id': contract.partner_id.property_product_pricelist.currency_id.id or False,
I hope this is obvious that instead of extracting the id of the
currency ... the id of the property_product_pricelist is used. Please
note that if your home currency is EUR (id=1) and if you have only one
pricelist (id=1) you will not notice this bug.
Please let me know if you need further details.
Best regards,
Daniel
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1268655/+subscriptions
Follow ups
References