[MIG] account_credit_control_dunning_fees : Migration to 11.0

This commit is contained in:
Akim Juillerat
2018-02-02 12:05:07 +01:00
parent 28f3db739a
commit f9b4defee3
10 changed files with 11 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:target: http://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
===========================
@@ -27,10 +27,6 @@ the credit control line currency.
The product is used to compute taxes in reconciliation process.
.. figure:: path/to/local/image.png
:alt: alternative description
:width: 600 px
Usage
=====
@@ -44,7 +40,7 @@ Support of fees price list
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/92/10.0
:target: https://runbot.odoo-community.org/runbot/92/11.0
Bug Tracker
===========

View File

@@ -1,12 +1,13 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{'name': 'Credit control dunning fees',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'author': "Camptocamp, Odoo Community Association (OCA)",
'maintainer': 'Camptocamp',
'category': 'Accounting',
'complexity': 'normal',
'depends': ['account_credit_control'],
'website': 'http://www.camptocamp.com',
'website': 'https://github.com/OCA/account-financial-tools',
'data': ['view/policy_view.xml',
'view/line_view.xml',
'report/report_credit_control_summary.xml',

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, api

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, api

View File

@@ -12,7 +12,7 @@
</xpath>
<xpath expr="//span[@t-field='l.balance_due']" position="replace">
<span t-field="l.balance_due_total"
t-field-options='{"widget": "monetary",
t-options='{"widget": "monetary",
"display_currency": "l.currency_id or l.company_id.currency_id"}'/>
</xpath>
</template>

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.tests import common

View File

@@ -7,12 +7,10 @@
<field name="arch" type="xml">
<xpath expr="//notebook//notebook/page[//field[@name='email_template_id']]" position="after">
<page string="Fees">
<group>
<group>
<field name="dunning_fixed_amount"/>
<field name="dunning_product_id"/>
<field name="dunning_currency_id"/>
</group>
<group name="fees">
<field name="dunning_fixed_amount"/>
<field name="dunning_product_id"/>
<field name="dunning_currency_id"/>
</group>
</page>
</xpath>

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, api