Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Why fiscal position doesn't work with (Camptocamp) Magento orders if delivery address is different than defaults?
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?
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.
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
|Asked: 10/19/14, 4:24 AM|
|Seen: 1360 times|
|Last updated: 3/16/15, 8:10 AM|