← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 438717] Re: Error in account_anglo_saxon when using foreign currency

 

Hello,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3.
Rev-id: pso@xxxxxxxxxxx-20101221123202-vegmmg2aoh97j3rv
Rev-no: 4622

It will be merged soon with Addons3 branch.

Thanks for reporting.

** Changed in: openobject-addons
       Status: Triaged => In Progress

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/438717

Title:
  Error in account_anglo_saxon when using foreign currency

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  Sorry I have to remind the Bug #388145

In new module account_anglo_saxon you will be surprised with wrong account move to cost of sale account.
It is when you sale in currency other than home one. Let say own currency is EUR. And you created invoice in USD. 
I marked it with asterisks. 

Product purchase = 10 EUR, Tax = 22% =2.20 EUR
Product sale = 26 USD, tax = 22% = 5,72 USD
Stock location configured with account 3000

Purchase a product
In the general ledger nothing is booked, there is packing line generated in Stock management to receive the goods

Receive the products
account 3000 = D 10 ← Type balance – Stock account, defined in location
account 2800 = C 10 ← Type balance – Interim account, Goods received, awaiting invoice

Receive the purchase invoice
account 2800 = D 10
account 1612 = D 2,20 ← Type balance – Vat account to receive
account 1500 = C 12,20 ← Type balance – Creditor account

Sell product
In the general ledger nothing is booked, there is packing line generated in Stock management to send the goods

Deliver product
account 3000 = C 10 Stock account
account 2801 = D 10 Type balance – Interim account, Goods send, to invoice - account defined in "Stock Output Account" in product category

Invoice customer
****account 2801 = C 7,69 **** should be 10,00 account defined in "Stock Output Account" in product category
****account 7000 = D 7,69 **** should be 10,00 Type P/L – Cost of sales - I still don't know where this account should be set.

account 8000 = C 20,00 (converted from USD) Type P/L Sales account
account 1602 = C 4,40 (converted from USD) Type balance – Vat account to pay
account 1300 = D 24,40 (converted from USD) Type balance Debtor account

Move to cost of sales is converted like USD to EUR but it shouldn't be because Cost prise is already in EUR.
By the way can someone tell me where the account 7000 in above case should be defined. Because in my configuration this amount gets back to 3000.