Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2429 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mrt. 23
3526
2
apr. 24
1797
7
jul. 25
50276
1
mei 25
2433
1
apr. 25
3451