Skip to content

Commit

Permalink
[MIG] base_unece, account_tax_unece, product_uom_unece
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn authored and pedrobaeza committed Jan 6, 2017
1 parent 8c5abae commit a3434d3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions account_tax_unece/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Usage

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/101/8.0
:target: https://runbot.odoo-community.org/runbot/101/9.0

Bug Tracker
===========
Expand All @@ -38,7 +38,7 @@ help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
community-data-files/issues/new?body=module:%20
account_unece%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======
Expand Down
2 changes: 1 addition & 1 deletion account_tax_unece/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
'name': 'Account Tax UNECE',
'version': '8.0.1.0.0',
'version': '9.0.1.0.0',
'category': 'Accounting & Finance',
'license': 'AGPL-3',
'summary': 'UNECE nomenclature for taxes',
Expand Down
2 changes: 1 addition & 1 deletion account_tax_unece/views/account_tax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form"/>
<field name="arch" type="xml">
<field name="child_depend" position="after">
<field name="include_base_amount" position="after">
<field name="unece_type_id"/>
<field name="unece_categ_id"/>
</field>
Expand Down
4 changes: 2 additions & 2 deletions base_unece/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Usage

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/101/8.0
:target: https://runbot.odoo-community.org/runbot/101/9.0

Bug Tracker
===========
Expand All @@ -30,7 +30,7 @@ help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
community-data-files/issues/new?body=module:%20
base_unece%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======
Expand Down
2 changes: 1 addition & 1 deletion base_unece/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
'name': 'Base UNECE',
'version': '8.0.1.0.0',
'version': '9.0.1.0.0',
'category': 'Tools',
'license': 'AGPL-3',
'summary': 'Base module for UNECE code lists',
Expand Down
4 changes: 2 additions & 2 deletions base_unece/models/unece_code_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ class UneceCodeList(models.Model):

@api.multi
@api.depends('code', 'name')
def compute_display_name(self):
def _compute_display_name(self):
for entry in self:
entry.display_name = '[%s] %s' % (entry.code, entry.name)

code = fields.Char(string='Code', required=True, copy=False)
name = fields.Char(string='Name', required=True, copy=False)
display_name = fields.Char(
compute='compute_display_name', store=True, string='Display Name')
compute='_compute_display_name', store=True, string='Display Name')
type = fields.Selection([], string='Type', required=True)
description = fields.Text(string='Description')

Expand Down
2 changes: 1 addition & 1 deletion base_unece/views/unece_code_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</record>

<menuitem id="unece_code_list_menu" action="unece_code_list_action"
parent="base.menu_base_config" sequence="150"/>
parent="base.menu_administration" sequence="150"/>

</data>
</openerp>
4 changes: 2 additions & 2 deletions product_uom_unece/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Usage

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/101/8.0
:target: https://runbot.odoo-community.org/runbot/101/9.0

Bug Tracker
===========
Expand All @@ -36,7 +36,7 @@ help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
community-data-files/issues/new?body=module:%20
product_uom_unece%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======
Expand Down
2 changes: 1 addition & 1 deletion product_uom_unece/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

{
'name': 'Product UoM UNECE',
'version': '8.0.0.1.0',
'version': '9.0.0.1.0',
'category': 'Sales Management',
'license': 'AGPL-3',
'summary': 'UNECE nomenclature for the units of measure',
Expand Down

0 comments on commit a3434d3

Please sign in to comment.