跳至內容
選單
此問題已被標幟
1 回覆
1602 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 24
1244
0
1月 24
31
0
7月 25
271
2
6月 25
1571
4
5月 25
2499