Odoo Help

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,360 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!

2

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.

Register

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)

Stats

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