Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3149 Visualizações

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
Cancelar

can you post your py file?

Melhor resposta

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

Avatar
Cancelar