change position field 'equipments create'

This commit is contained in:
sinergia 2022-07-04 16:31:10 -05:00
parent 93a409daf6
commit e00a5415ef
2 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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>