Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2420 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
mar 23
3525
2
abr 24
1796
7
jul 25
50271
1
may 25
2420
1
abr 25
3440