Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3710 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 20
3788
2
พ.ค. 20
7220
Master Password Version 10 แก้ไขแล้ว
2
ต.ค. 16
6943
2
มิ.ย. 19
6871
0
มี.ค. 22
46