Skip to Content
Menu
This question has been flagged
1 Reply
1571 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Jun 24
1221
0
Jan 24
31
0
Jul 25
261
2
Jun 25
1466
4
May 25
2293