Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
The following issue is already known on GitHub (https://github.com/odoo/odoo/issues/10855). As there is no movement I wanted to ask this community if someone has an idea on how to fix the following issue:
It's not possible for accountant to deliver VAT declaration if PoS is used:
Steps to reproduce on Odoo9:
- Create a Product with default demo sale and purchase VAT (15%) ;
- Open a PoS session;
- Sell the product (qty = 1) ; pay the Order ;
- Close the session and post entries;
- Check generated sale accounting entries ; Open the move.line related to the sale.
- 'tax_ids' is not defined
- 'tax_ids' = the vat of the product
I identified the following code snippet as potential problem:
'analytic_account_id': self._prepare_analytic_account(cr, uid, line, context=context),
'credit': ((amount>0) and amount) or 0.0,
'debit': ((amount<0) and -amount) or 0.0,
'partner_id': order.partner_id and self.pool.get("res.partner")._find_accounting_partner(order.partner_id).id or False
We suppose by adding "tax_ids" it should work:
The only difficulty we have is in getting the variable for the tax_ids.
Does anybody of you have an idea?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/18/16, 12:42 PM|
|Seen: 334 times|
|Last updated: 7/25/16, 1:10 PM|