openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #19110
[Bug 1083534] Re: multi-currency sales and purchase receipts generate wrong journal items
Hello Leonardo,
You are absolutely correct. The debit and credit amount should be in
company currency.
When you create a sale/purchase receipt then it's amount should be on
journal's currency. And debit, credit amount should be in company
currency.
So your suggestion is correct, it should be like
Account Receivable, debit: 77, amount_currency 100
revenue account, credit:77 amount_currency: 100.
But your patch doesn't fix it, Anyways I am confirming this as a bug
and assign to out R@D team.
Thanks for the pointing out...!!
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
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/1083534
Title:
multi-currency sales and purchase receipts generate wrong journal
items
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Observed on runbot in latest 6.1:
(Build 274)
server (3643)
addons (5377)
web (4890)
and trunk:
(Build 273)
server (4601)
addons (8141)
web (3502)
To reproduce:
Install a DB with demo data (in my case, base currency is EUR)
Create a sale journal with a different currency (e.g. CHF)
Create a sale receipt, choose the sale journal in CHF and enter a line with amount 100. If you post the voucher, the generated journal items are wrong:
Account Receivable, debit: 100, amount_currency 100
Revenue Account, credit: 100, amount_currency -130
Instead, I am expecting to find:
Account Receivable, debit: 77, amount_currency 100
revenue account, credit:77 amount_currency: 100
same thing happens for purchase receipt
I found a workaround for this: if I add to the sales (resp. purchase) receipt form view the field
<field name="payment_rate_currency_id" invisible="True"/>
then everything seems to work fine. I tested this on 6.1.
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1083534/+subscriptions
References