Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2425 Vues

Hello,

I am using odoo.sh platform mainly with the native package (inventory/MRP/Barecode..)
there is few things I would like to modifiy in the native package like making a column unique.
One exemple would be to have the intern reference from the inventory module unique whitout being able to import/create duplicate.

My questions are the following : 

Generally speaking, what is the best way to slightly modify these native modules? 
I understood that the odoo will be kept updated so if I modify something it may be broken later on... (and I have only basic knowledge for developing modules)

is odoo studio a good solutions to apply modifications ?

what are the consequences if I do modification directly in the scripts (.py) ?


Thank you in advance, 
Hope it's clear enough,

Regards,

Avatar
Ignorer
Meilleure réponse

HI,

It is not recommended to directly edit the source code, the reasons is the what exactly you have said, the source code will get updated and there will be chance for the changes to get over written.


For the case of the unique reference, you can do it via automated action in the odoo. Always you can prefer the studio, if the things can be done with studio.


Thanks

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
mars 23
3526
2
avr. 24
1796
7
juil. 25
50271
1
mai 25
2425
1
avr. 25
3441