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

I have developed a module, did tried to add auto generate order id rather than adding mannually which didnt work. Then i removed the given code to automatically generate the order id from odoo. But this error is shown. Any help from the community, I am new to odoo

頭像
捨棄

Odoo Warning -Validation Error

The operation cannot be completed

- Create / Update: a mandatory field is not set

- Delete: another model requires the record being deleted. if possible, archive it instead


Model: To manage the order of customer (omis.order), field: Unknown(Unknown)

最佳答案

Hi,

Can you add a screenshot of the error message that you are getting along with the question? What is the issue you faced to add a sequence number for your model., you can define a new sequence and assign the value by over riding the create method of the model.

You can have a look at this: How to generate sequence number in Odoo

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
1月 20
3802
2
5月 20
7230
2
10月 16
6957
2
6月 19
6875
0
3月 22
46