Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1628 Visualizzazioni

Hello everyone, 

we use odoo 17 and want to adjust some settings via odoo studio.


For products, when duplicating a product, the data from purchasing tab (supplier list, field: seller_ids) is not copied. 


I tried to set the base property in the copied field to true 


But I get the following error: 


Invalid operation

Properties of a base field cannot be changed in this way. Please make the change by customizing Python code, ideally through a separate module.


Is there a way to copy the data when duplicating a product? (preferably via studio)


Thank you and best regards

Avatar
Abbandona
Risposta migliore

Hi,

In odoo, this is a validation error rising when the state field in the model 'ir.model.fields' is not equal to manual. So it can be changed through the python code by creating a new custom module


Hope it helps

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
1268
0
gen 24
31
0
lug 25
303
2
giu 25
1627
4
mag 25
2568