Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Product default_code display in pricelists
by
Accomodata, Jos De Graeve
Hi,
Technically, a product template has no default code. The field belongs to the product variant. On the product template form the field is shown if only 1 variant exists.
If you are searching on product variants the default code is always shown.
To modify this behaviour, modify the name_get method on product.template
Regards,
Jos
(Sent from mobile)
Op 30-mrt.-2016 2:22 PM schreef "Jean-Marc Dupont" <jmd@6it.fr>:
Hello Odoo experts,can someone explain why the product default code is not used in displaying the product name like in any other module ?Neither in price list items list, nor when entering a product template in the price list item formdisplaying name like that : [Code] NameAnd subsidiary question : does a module exist for doing that ?Thanks a lot for your answersJean-Marc DUPONT
Agence Web, e-Commerce et Systèmes d'entreprise
68, rue du Refuge - 84200 Carpentras
_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
Product default_code display in pricelists
by6it, Jean-Marc Dupont-
Re: Product default_code display in pricelists
byAccomodata, Jos De Graeve
-