openlabs / magento_integration

Magento OpenERP Integration
https://openerp-magento-connector.readthedocs.org/en/develop/
80 stars 77 forks source link

Tax code/rate mapping improvement #188

Open ghost opened 10 years ago

ghost commented 10 years ago

Only one OpenERP tax code can be connected to the shipping costs calculated by Magento. For use in Europe this is insufficient. For intra EU deliveries a 0% rule has to be applied while for shipments to customers in the same country a 21% has to be applied.

As multiple tax rates are not allowed, is there a workaround?

PurpleCroquet commented 10 years ago

Found one part of the solution in the application of "Fiscal positions" in OpenERP. The other part of the solution has to arise from some clever way to connect the Magento Group and Country code to a certain Fiscal Position. Any ideas?

sharoonthomas commented 10 years ago

@PurpleCroquet not sure if fiscal solution is the right (TM) way to do it. However, I agree that this feature needs to be implemented.

shalabhaggarwal commented 10 years ago

Magento does not send the shipment tax rate information. Refer to the comment on https://github.com/openlabs/magento_integration/blob/develop/sale.py#L489

This would need a PHP API enhancement.