← Back to team overview

magentoerpconnect-community team mailing list archive

Re: Tax synchronization

 

Hi
Yes it's not easy at all.
I take a look to the blueprint. I read the comment you did with Joel.
To resume the problem. In Canada there is 2 tax per products. And so when
you import the sale order, as magento only give you the total tax rate it's
hard to know exactly which tax magento applied. Moreover the actual system
only support one tax so it's doesn't work in thsi case.

So two solution is posible.
1- Adding new webservice in magento so we can know exactly which taxe have
been applyed on the sale order. But if we want it working we have to map
the taxe before in order to know exactly which tax is the equivalant in
OpenERP and Magento.
2- Adding an option on the shop so we can chose between to way to compute
taxe : OpenERP get the price and apply the taxe or Magento give us the taxe
and the price (the actual way to compute). And check if the total amount of
the sale order is the same in the two referential.

The two option is posible.
I prefere the second solution because, if OpenERP compute taxe we should be
able to manage fiscal position and so also the selection of the correct
account (this is what we need in B2B), so it can be very usefull. But if
OpenERP recompute the taxe we should take a lot a precaution and add some
check after the creation of the sale order (check the total amount is the
mininum, indeed is the amount paid by the customer). Moreover if it's done
correctly, giving the possibility to recompute the tax in OpenERP can be a
"protection" again computation error in Magento. I already know some
customer that have made some error in tax configuration in Magento, if
OpenERP was recomputing the tax the error will be detected at the first
import, and save some money ;)

As the computation of tax by OpenERP will be an option it will not impact
the actual customer who want to keep the actual process.

Adding this feature should be done in base_sale_multichannels, it's a
generic feature (calling on_change, checking result...) and can be re-use
with other e-commerce solution.

If you want we can talk about it on jasper, skype.
sebastien.beau@xxxxxxxxxxxx
sebastien_beau

Best Regards

2011/11/8 Raimon Esteve <resteve@xxxxxxxxxxxxxxx>

> Very complex:
>
> 1- What tax mapping? In Spain there are 58 taxes but not all are customers
> and there are diferents by type of account.char. Need boolean field? extra
> model related taxes and magento server?
> 2- tax_class_id field mapping magento is not property_account_income. Tax
> Product working by Company and is m2m.
> 3- Same as Partner: m2m and by company.
> 4- Need new webservices
> 5- More better define at Magento. Tax not change everyday.
> --
> Raimon Esteve
> // OpenERP Partners
> // Zoook. OpenERP e-sale
> // e-ERP. Su gestión integrada a la web
> // AulaERP, formación online
> www.zikzakmedia.com
>
> _______________________________________________
> Mailing list: https://launchpad.net/~magentoerpconnect-community
> Post to     : magentoerpconnect-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~magentoerpconnect-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References