Position new record based on order

We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.
This commit is contained in:
Juanjo Garcia 2020-01-22 16:39:38 +01:00
parent 9655c398cb
commit 3659876b0b
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full <!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. --> copyright notices and license terms. -->
<tree editable="bottom"> <tree editable="1">
<field name="bom"/> <field name="bom"/>
<field name="position"/> <field name="position"/>
<field name="product"/> <field name="product"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full <!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. --> copyright notices and license terms. -->
<tree editable="bottom"> <tree editable="1">
<field name="name"/> <field name="name"/>
<field name="drawing"/> <field name="drawing"/>
</tree> </tree>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full <!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. --> copyright notices and license terms. -->
<tree editable="bottom"> <tree editable="1">
<field name="production"/> <field name="production"/>
<field name="position"/> <field name="position"/>
<field name="product"/> <field name="product"/>