change position field 'equipments create'
This commit is contained in:
parent
93a409daf6
commit
e00a5415ef
@ -70,7 +70,8 @@ class Line(metaclass=PoolMeta):
|
|||||||
address_equipment = fields.Many2One('party.address', "Direccion", required=True)
|
address_equipment = fields.Many2One('party.address', "Direccion", required=True)
|
||||||
serial_equipment = fields.Char("Serial", size=None, required=True)
|
serial_equipment = fields.Char("Serial", size=None, required=True)
|
||||||
refurbish = fields.Boolean("Refurbish")
|
refurbish = fields.Boolean("Refurbish")
|
||||||
product_equipment = fields.Boolean("Product Equipment")
|
product_equipment = fields.Boolean("Product Equipment",
|
||||||
|
states={'readonly': True})
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def default_address_equipment(cls):
|
def default_address_equipment(cls):
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<!--This file file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
<!--This file file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||||
<data>
|
<data>
|
||||||
<xpath
|
<xpath
|
||||||
expr="/form/notebook/page[@id='info']/separator[@name='comment']"
|
expr="/form/field[@name='invoice_address']" position="after">
|
||||||
position="before">
|
|
||||||
<label name="equipment_create"/>
|
<label name="equipment_create"/>
|
||||||
<field name="equipment_create"/>
|
<field name="equipment_create"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
Loading…
Reference in New Issue
Block a user