Odoo Help

Welcome!

This community 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.

0

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

By
Yves Geoffroy
on 10/19/14, 4:24 AM 1,147 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?

Thanks!

1

Guewen Baconnier - Software Developer, Camptocamp

--Guewen Baconnier - Software Developer, Camptocamp--
2658
| 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

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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