Skip to Content
Menu
This question has been flagged

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
Discard
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
Discard
Related Posts Replies Views Activity
3
Mar 23
3307
2
Apr 24
1550
1
May 25
1720
1
Apr 25
2816
1
Apr 25
3566