Skip to Content
Menu
This question has been flagged
1 Odpoveď
2423 Zobrazenia

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
Zrušiť
Best Answer

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
mar 23
3526
2
apr 24
1796
7
júl 25
50271
1
máj 25
2424
1
apr 25
3441