update intrastat_product

This commit is contained in:
luc-demeyer
2016-10-03 20:52:36 +02:00
committed by Alexis de Lattre
parent a29f16f74a
commit c8390e40ad
4 changed files with 7 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
{
'name': 'Intrastat Product',
'version': '8.0.1.4.0',
'version': '8.0.1.4.1',
'category': 'Intrastat',
'license': 'AGPL-3',
'summary': 'Base module for Intrastat Product',

View File

@@ -18,6 +18,7 @@
attrs="{'invisible': [('intrastat', '!=', 'extended')]}"
widget="selection"/>
<field name="src_dest_country_id" string="Destination Country"/>
<field name="src_dest_region_id" string="Origin Region" invisible="1"/>
</xpath>
<xpath expr="//field[@name='invoice_line']//field[@name='account_id']" position="after">
<field name="hs_code_id"/>
@@ -40,7 +41,8 @@
<field name="intrastat_transport_id"
attrs="{'invisible': [('intrastat', '!=', 'extended')]}"
widget="selection"/>
<field name="src_dest_country_id" string="Origin Country"/>
<field name="src_dest_country_id" string="Origin/Destination Country"/>
<field name="src_dest_region_id" string="Origin/Destination Region" invisible="1"/>
</xpath>
<xpath expr="//field[@name='invoice_line']//field[@name='account_id']" position="after">
<field name="hs_code_id"/>

View File

@@ -104,8 +104,8 @@
<field name="model">intrastat.product.declaration</field>
<field name="arch" type="xml">
<search string="Search Intrastat Product Declarations">
<filter name="arrivals" string="Arrivals" domain="[('type', 'like', 'EX19')]" />
<filter name="dispatches" string="Dispatches" domain="[('type', 'like', 'EX29')]" />
<filter name="arrivals" string="Arrivals" domain="[('type', '=', 'arrivals')]"/>
<filter name="dispatches" string="Dispatches" domain="[('type', '=', 'dispatches')]"/>
<filter name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
<filter name="done" string="Done" domain="[('state', '=', 'done')]" />
<group string="Group By" name="group_by">

View File

@@ -19,7 +19,7 @@
<form string="Intrastat Supplementary Unit">
<group>
<field name="name"/>
<field name="uom_id"/>
<field name="uom_id" required="1"/>
<field name="description"/>
<field name="active"/>
</group>