Des nouvelles de product_variant_multi

L'article que vous consultez a été publié le 19/11/2010, il est donc possible qu'il ne soit plus à jour. Les informations affichées ci-dessous sont suceptibles d'avoir expirées.

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

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.

Lumière sur l'auteur

Fondateur
Raphaël Valyi
Fondateur - 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 ...
Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considérerons que vous acceptez l'utilisation des cookies.