← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666051] Re: point_of_sale : invoice line should use account of property of partner OR of category of product?

 

** Summary changed:

- action_invoice setting wrong the account
+ point_of_sale : invoice line should use account of property of partner OR of category of product?

-- 
point_of_sale : invoice line should use account of property of partner OR of category of product?
https://bugs.launchpad.net/bugs/666051
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: New

Bug description:
Hello, when action_invoice is called from POS, the process configure data wrong.
In file point_of_sale/pos.py line: acc= order.partner_id.property_account_receivable.id you read the account for account.invoice model (its ok), then this acc is assigned in inv_line var with: inv_line['account_id'] = acc, this break the concept to call product_id_change before and update inv_line with data returned.
If wkf is called the move created is:

Debtors   100(debit)
Debtors                       100(credit)

i deleted the inv_line['account_id'] = acc and everything works correctly.

You can reproduce the bug, checking Invoice in Make payment from POS and looks the account.move created.

Regards,







References