Fix
This commit is contained in:
parent
b8677f9872
commit
a902c16555
|
@ -15,7 +15,7 @@ class Configuration(ModelSQL, ModelView):
|
|||
'Charge Form Sequence', required=True)
|
||||
phyto_export_sequence = fields.Many2One('ir.sequence',
|
||||
'Phyto Export Sequence', required=True)
|
||||
ica_register = fields.Char('ICA Register')
|
||||
ica_register = fields.Char('ICA Register', required=True)
|
||||
|
||||
@staticmethod
|
||||
def default_company():
|
||||
|
|
Binary file not shown.
1
party.py
1
party.py
|
@ -15,6 +15,7 @@ class Party(metaclass=PoolMeta):
|
|||
class Company(metaclass=PoolMeta):
|
||||
__name__ = 'company.company'
|
||||
ica_register = fields.Char('ICA Register')
|
||||
farm_code = fields.Char('Farm Code')
|
||||
|
||||
|
||||
class CustomsGlobal(ModelSQL, ModelView):
|
||||
|
|
|
@ -11,6 +11,7 @@ class ProductStyle(ModelSQL, ModelView):
|
|||
name = fields.Char('Name')
|
||||
|
||||
|
||||
class Product(metaclass=PoolMeta):
|
||||
class Template(metaclass=PoolMeta):
|
||||
__name__ = 'product.template'
|
||||
farming = fields.Boolean('Farming')
|
||||
hts = fields.Char('HTS')
|
||||
|
|
BIN
sale_ref.fodt
BIN
sale_ref.fodt
Binary file not shown.
|
@ -2,10 +2,13 @@
|
|||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='reports']/field[@name='footer']"
|
||||
<xpath expr="/form/notebook/page[@id='reports']/field[@name='footer']"
|
||||
position="after">
|
||||
<label name="ica_register"/>
|
||||
<field name="ica_register"/>
|
||||
<group id="farm_data">
|
||||
<label name="farm_code"/>
|
||||
<field name="farm_code"/>
|
||||
<label name="ica_register"/>
|
||||
<field name="ica_register"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
|
@ -6,5 +6,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
position="after">
|
||||
<label name="farming"/>
|
||||
<field name="farming"/>
|
||||
<label name="hts"/>
|
||||
<field name="hts"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue