Le 5 juin 2014 17:13, "Alberto Garcia" <alberto.gar...@factorlibre.com> a écrit : > > And something about the other thing. > > If the connector don't import tax to product, why don't import a tax_id in the sale.order.line. >
Because the Magento API does not give a reference (Id) to a tax. And even if it was the case, we would need to know which Magento tax corresponds to which OpenERP tax. Anyway, usually you need your products to be configured correctly on OpenERP, including taxes. > In this situation: > Openerp use in sale order the tax defined in product (that is incorrect) That is correct as soon as you configured correctly the product. > > Someone have a solution done for this? > > El 05/06/14 15:04, Alberto Garcia escribió: >> >> Hello, >> >> Can you send me the code that you have. Thank you very much. >> >> El 05/06/14 12:59, Markus Schneider escribió: >>> >>> You have two options: >>> >>> first you can install the mass_editing module an change the default tax of all products after importet from magento. You don't need to many technical skill. But finding the products for editing may be hard, depends on the structure and number of products. >>> >>> Other way is to write a mapper for the product import an set the right tax class there. This you need some development skills for the connector framework. Maybe i can share some example code if you need. But our solution is hard coded for german accounting not a general solution at the moment, but it is adoptable. >>> >>> At the moment i m at the opendays ;) >>> >>> Regards >>> Markus >>> >>> On 5. Juni 2014 12:05:33 MESZ, Alberto Garcia < alberto.gar...@factorlibre.com> wrote: >>>> >>>> Hello, >>>> >>>> I have products with 21% others with 10% others with 4%. The default tax is 21% in openerp. >>>> >>>> >>>> El 05/06/14 12:01, Markus Schneider escribió: >>>>> >>>>> Hi, >>>>> >>>>> this is true. In the sale.order the default tax of the product is used. At the moment tax class are not conected with the connector. So you need a implementation to override it. So why you need it, have you different tax class on the same product or only different tax class on different product? >>>>> >>>>> Kind Regards >>>>> Markus >>>>> >>>>> >>>>> On 5. Juni 2014 11:43:21 MESZ, Alberto Garcia < alberto.gar...@factorlibre.com> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> I have configured that prices are tax included. >>>>>> >>>>>> When a product is created in sale order import don't create well the >>>>>> product. >>>>>> >>>>>> - Use de default tax instead of get the tax producto in Magento >>>>>> - And the price_list used is tax included >>>>>> >>>>>> I use the last connector. >>>>>> >>>>>> Regards, >>>>> >>>>> >>>>> -- >>>> >>>> >>>> >>>> -- >>>> Alberto Garcia >>>> Consultor Funcional / Jefe Proyecto >>> >>> >>> -- >>> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. >> >> >> >> -- >> Alberto Garcia >> Consultor Funcional / Jefe Proyecto >> >> >> > > > -- > Alberto Garcia > Consultor Funcional / Jefe Proyecto > > > -- > Mailing list: https://launchpad.net/~openerp-connector-community > Post to : openerp-connector-community@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openerp-connector-community > More help : https://help.launchpad.net/ListHelp >
-- Mailing list: https://launchpad.net/~openerp-connector-community Post to : openerp-connector-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-connector-community More help : https://help.launchpad.net/ListHelp