Odoo Help

0

How to change name generator syntax - product_variant_multi

By
Adam Pajkin
on 3/24/16, 5:04 AM 243 views

I have Dimension types Width with options 180,190Profile with options 50,55 and Diameter with option R15.

The default name generating syntax is  

[_o.dimensionid.name_] - [_o.optionid.code_]

Which generates names like this:

Width - 180 Profile - 50 Diameter - R15Width - 180 Profile - 55 Diameter - R15Width - 190 Profile - 50 Diameter - R15Width - 190 Profile - 55 Diameter - R15

I want the name generator to generate names like this:

180/50 R15

180/55 R15

190/50 R15

190/55 R15 

So the code would be something like:

[_Width_]/[_Profile_] [_Diameter_]

Anyone here who understands the name generating syntax who can help me? Thanks

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/24/16, 5:04 AM
Seen: 243 times
Last updated: 3/24/16, 9:14 AM