Skip to Content
Menu
This question has been flagged
2 Replies
2707 Views

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>
Avatar
Discard

can you post your py file?

Best Answer

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

Avatar
Discard