Odoo Help

0

0
3 Risposte
0
emamudin Etiopia
14/08/19, 07:12

Thanks all  

am going for the customization   

the thing is i don't want the sequencing or auto generating  product default code 

only on the  variant creation default product code to be inherited product Default code form the template.Product_Default_code to product.product_default_code || variant  

what am saying anyone can help me coding this  

Just for clarification :-

Product Name : Air Filter,   internal reference: 1901010, Variant: Type D & E

automatically the variant creation would be 

internal Reference    Product Name

1901010-D                      Air Filter 

1901010-E                       Air Filter

thanks.


0
Avatar

Paresh Wagh India

--Paresh Wagh--

8519
| 4 2 4
Navi Mumbai, India
--Paresh Wagh--
Paresh Wagh India
10/08/19, 22:59

You could try the following approach.

  1. Make Internal Reference required on the Product Template

  2. Define a sequence (with no gaps) and use it to assign the sequence number to Internal Reference using an Automated Action

  3. Define an Automated Action on Product Variant to set the Internal Reference value based on the criteria you need. 

0
Avatar

Niyas Raphy India

--Niyas Raphy--
27417
| 7 7 11
Wayanad, Kerala, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy India
10/08/19, 01:37

Hi,

There is a lot of modules available in the Odoo app store for the product code generation, but it does not match with what exactly you are looking for. For your requirement I think, you have to customize the system accordingly as per the need.

Anyway have a look at this module: Product Code


Thanks

Fai una domanda
Writer
Tag
12
Keep Informed
1 follower(s)
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