Odoo Help


Why fiscal position doesn't work with (Camptocamp) Magento orders if delivery address is different than defaults?

Yves Geoffroy
on 10/19/14, 4:24 AM 1,544 views

With Magento connector V7, fiscal position is working fine if delivery address is the default one. But if the delivery address is different than the defaults, the quotation created in OpenERP indicates that fiscal position (in Other information tab) is the default ones, not the one of the delivery address (partner_shipping_id). So I get the Exception Total Tax Amount differs from Magento.

If I'm creating sales order directly in OpenERP with a delivery address different then the one of the partner_id, it works fine.

What am I doing wrong?



Guewen Baconnier - Software Developer, Camptocamp

--Guewen Baconnier - Software Developer, Camptocamp--

| 6 7 8
Lausanne, Switzerland
--Guewen Baconnier - Software Developer, Camptocamp--

Guewen works at Camptocamp as an Odoo developer since 2010. He is the lead developer of the Odoo Connector framework and the Magento Connector. He is a delegate member of the OCA, a committer and an active contributor to the OCA projects.


Guewen Baconnier - Software Developer, Camptocamp
On 11/11/14, 9:52 AM

The Magento API does not provides sufficiently information to map a fiscal position.

Also, when a new sales order is created on Magento, it creates a copy of the delivery address, so this is not the same that the one that you see in the address book (not the same ID).

Hence, the best solution is to use the modules from this project: https://github.com/OCA/account-fiscal-rule

You will be able to create rules (origin/destination) so the fiscal positions will be applied automatically on new orders.

OK. Thanks... I'll try that.

Yves Geoffroy
on 11/12/14, 8:45 PM

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

1 follower(s)


Asked: 10/19/14, 4:24 AM
Seen: 1544 times
Last updated: 3/16/15, 8:10 AM