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:
parent
9655c398cb
commit
3659876b0b
|
@ -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"/>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in New Issue