Skip to content

Commit

Permalink
Port almost all modules to v10 (OCA#305)
Browse files Browse the repository at this point in the history
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
  • Loading branch information
Alexis de Lattre authored and etobella committed Oct 11, 2017
1 parent b3ff996 commit a6bae0a
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 28 deletions.
2 changes: 1 addition & 1 deletion account_payment_mode/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This module doesn't add any feature, but it is used by several other modules.

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

Bug Tracker
===========
Expand Down
4 changes: 2 additions & 2 deletions account_payment_mode/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
'name': 'Account Payment Mode',
'version': '9.0.1.0.0',
'version': '10.0.1.0.0',
'license': 'AGPL-3',
'author': "Akretion,Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/bank-payment',
Expand All @@ -19,5 +19,5 @@
'views/account_journal.xml',
],
'demo': ['demo/payment_demo.xml'],
'installable': False,
'installable': True,
}
6 changes: 2 additions & 4 deletions account_payment_mode/demo/payment_demo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<odoo noupdate="1">

<record id="bank_fiducial" model="res.bank">
<field name="name">Fiducial Banque</field>
Expand Down Expand Up @@ -106,5 +105,4 @@
</record>


</data>
</openerp>
</odoo>
2 changes: 1 addition & 1 deletion account_payment_mode/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# © 2016 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

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


class AccountJournal(models.Model):
Expand Down
2 changes: 1 addition & 1 deletion account_payment_mode/models/account_payment_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# © 2016 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

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


class AccountPaymentMethod(models.Model):
Expand Down
4 changes: 2 additions & 2 deletions account_payment_mode/models/account_payment_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# © 2016 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import models, fields, api, _
from openerp.exceptions import ValidationError
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError


class AccountPaymentMode(models.Model):
Expand Down
2 changes: 1 addition & 1 deletion account_payment_mode/models/res_partner_bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# © 2016 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

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


class ResPartnerBank(models.Model):
Expand Down
2 changes: 0 additions & 2 deletions account_payment_mode/views/account_journal.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>

<!-- FIX of the 'account' module: on the form view of a bank journal,
allow to link to an existing bank account -->
Expand All @@ -25,5 +24,4 @@ allow to link to an existing bank account -->
</field>
</record>

</data>
</odoo>
2 changes: 0 additions & 2 deletions account_payment_mode/views/account_payment_method.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>

<!-- The object account.payment.method is defined in the account module
but there are no view for this object in the account module... so we define it
Expand Down Expand Up @@ -59,5 +58,4 @@ here. I hate the objects that don't have a view... -->
parent="account.account_management_menu"
sequence="30" />

</data>
</odoo>
6 changes: 2 additions & 4 deletions account_payment_mode/views/account_payment_mode.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>

<record id="account_payment_mode_form" model="ir.ui.view">
<field name="name">account.payment.mode.form</field>
Expand Down Expand Up @@ -68,5 +67,4 @@
parent="account.account_management_menu"
sequence="25" />

</data>
</openerp>
</odoo>
6 changes: 2 additions & 4 deletions account_payment_mode/views/res_partner.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>


<!-- Avoid creation of bank accounts linked to contacts.
Expand All @@ -19,5 +18,4 @@ which prevents the selection of a contact -->
</record>


</data>
</openerp>
</odoo>
6 changes: 2 additions & 4 deletions account_payment_mode/views/res_partner_bank.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>

<!-- Show acc_type on res.partner.bank in order to be able to
detect wrong IBANs -->
Expand Down Expand Up @@ -41,5 +40,4 @@ detect wrong IBANs -->
</record>


</data>
</openerp>
</odoo>

0 comments on commit a6bae0a

Please sign in to comment.