Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3057 Zobrazení

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
Zrušit

can you post your py file?

Nejlepší odpověď

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

Avatar
Zrušit