Algumas novidades sobre product_variant_multi

O artigo que você está visualizando foi publicado em 19/11/2010, então é possível que esteja desatualizado. As informações apresentadas abaixo podem ter expirado.

The module Product_variant_multi now use a generic and powerfull syntax for the automatic generation of the variant name.

=====

Some news about product_variant_multi

October 28th, 2011

Recently Akretion made some changes on product_variant_multi. Indeed, we redesigned the automatic generation of the variant names. Before, it was only possible to access the name of the dimension and the name of the option selected.
For example, the default model for the variant name was [NAME] - [VALUE], and if your company had some custom fields on product.variant.dimension.option, it was not posible to generate a custom variant name with them.

We now use a generic syntax which is the same as the code generator syntax (better homogeneity). If you want to have the same result as before, you should use the following syntax : [_o.dimension_id.name_] - [_o.option_id.name_] where o is the object product.variant.dimension.option. And if your company added a field on the object product.variant.dimension.option, you can use the syntax [_o.dimension_id.name_] - [_o.option_id.my_custom_field_].

Also we introduced the field code on product.variant.dimension.option and we replaced the default syntax by [_o.dimension_id.name_] - [_o.option_id.code_]. This little change adds a lot of possibility for variant name customization.

We hope that you will like these enhancements and that you will have a smooth upgrade of the module product variant multi with the above instructions.

Sobre o autor

Founder
Raphaël Valyi
Founder - Brazil
Raphael, when he worked in Smile the French IT company, led the most thorough comparative study on ERP OpenSource (OpenERP, Openbravo, Compiere, Adempiere, ERP5 Ofbiz, etc ...) that led to writing a white paper of 120 pages. It has over 5 years experience in OpenERP and achieved more than 10 ...

Esse site usa cookies para melhorar a sua experiência de navegação