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

I would like to create a custom tree for a form I created.

The below code seemed fine when editing,

but an error was raised as the tree has inherited constraints from other models: [object with reference: Product Unit of Measure - product.uom]

Any idea how can I make the backend model for it? It is preferred not to directly change the python code.

Thank you!

<field name="x_jobids"> 
    <tree editable="bottom">
        <field name="x_jobtype" />
        <field name="x_details" />
        <field name="x_size" />
        <field name="x_qty" />
    </tree>
</field>
อวตาร
ละทิ้ง

can you post your py file?

คำตอบที่ดีที่สุด

Could you show error log and code python for this problem?

อวตาร
ละทิ้ง