Skip to content

Commit

Permalink
Rename model to models, fix import, fix view
Browse files Browse the repository at this point in the history
  • Loading branch information
grindtildeath committed Jun 30, 2017
1 parent 04cd567 commit 730b3a4
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion account_multicurrency_revaluation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from . import wizard
from . import model
from . import models
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2012-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models, fields, api
from openerp import models, fields, api


class AccountConfigSettings(models.TransientModel):
Expand Down
4 changes: 2 additions & 2 deletions account_multicurrency_revaluation/views/res_config_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="model">account.config.settings</field>
<field name="inherit_id" ref="account.view_account_config_settings"/>
<field name="arch" type="xml">
<xpath expr="//group[field[@name='overdue_msg']]" position="after">
<separator name="analytic_account" position="before">
<group string="Multicurrency revaluation">
<!--<separator string="Foreign currency gain &amp; loss" colspan="5"/>-->
<group>
Expand Down Expand Up @@ -41,7 +41,7 @@
<field name="default_currency_reval_journal_id"/>
</group>
</group>
</xpath>
</separator>
</field>
</record>
</odoo>

0 comments on commit 730b3a4

Please sign in to comment.