I'm on Odoo v9 and are using point_of_sale and pos_restaurant.
I've defined a product:
-with sale price (list_price) of 100
-25% sale tax, where taxes are included in price.
I've defined 2 Fiscal Positions:
-Restaurant (which is empty)
-take Away, where tax mapping/tax on product is 25% and tax to apply is 15%
I've set the fiscal positions to be available in pos.config.
I can register sales with different fiscal positions, i get correct prices, and correct info on the reciepts.
Everything seems to works as intended, until i try to close the session and click "Validate Closing & Post Entries".
Then I get the error message "Cannot create unbalanced journal entry".
If I've registered any sale with a different fiscal position, this warning-message shows and I'm unable to close the session.
To try fo find the error/whats happening, I've comment out parts of /addon/account/models/account_move.py
under def assert_balanced(self):
# if len(self._cr.fetchall()) != 0:
# raise UserError(_("Cannot create unbalanced journal entry."))
The session closes, but on the report only the TAX-code for the 25% tax is used, event thought i've sold products with 15% tax.
Is it not possible to use fiscal positions in point_of_sale, when the products have a default tax, and the price is included in the price, and the prices are displayed including tax in pos?
Any and all ideas are welcome!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/23/15, 11:02 AM|
|Seen: 1131 times|
|Last updated: 4/8/16, 6:33 AM|