Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3143 Lượt xem

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>
Ảnh đại diện
Huỷ bỏ

can you post your py file?

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ