Odoo Help


How to use Point of Sale and fiscal positions? Cannot create unbalanced journal entry.

Aleksander Nøkland
on 11/23/15, 11:02 AM 2,353 views

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!

This was a bug. And it's fixed: https://github.com/odoo/odoo/commit/d37c8ef6327a834eaed7ce0dfa6a6b775aad96c1 Also check out modules if you need different fiscal positions on restaurant floors: https://github.com/yelizariev/pos-addons/tree/9.0/pos_fiscal_current https://github.com/yelizariev/pos-addons/tree/9.0/pos_fiscal_floor

Aleksander Nøkland
on 4/29/16, 11:02 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 11/23/15, 11:02 AM
Seen: 2353 times
Last updated: 4/8/16, 6:33 AM