Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate contract_show_invoice to v10 #54

Merged
merged 6 commits into from Mar 22, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions contract_show_invoice/__manifest__.py
Expand Up @@ -6,7 +6,7 @@
{
'name': 'Contract Show Invoice',
'summary': 'Button in contracts to show their invoices',
'version': '9.0.1.1.0',
'version': '10.0.1.1.0',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restart version number with 10.0.1.0.0

'author': 'Domatix,'
'Tecnativa,'
'Odoo Community Association (OCA)',
Expand All @@ -16,5 +16,5 @@
'data': [
'views/contract_view.xml',
],
'installable': False,
'installable': True,
}
2 changes: 1 addition & 1 deletion contract_show_invoice/models/invoice.py
Expand Up @@ -3,7 +3,7 @@
# © 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

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


class AccountInvoice(models.Model):
Expand Down
2 changes: 1 addition & 1 deletion contract_show_invoice/test/test_contract_show_invoice.py
Expand Up @@ -2,7 +2,7 @@
# © 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase


class TestContractShowInvoice(TransactionCase):
Expand Down
4 changes: 2 additions & 2 deletions contract_show_invoice/views/contract_view.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<openerp>
<odoo>
<data>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for the data tag anymore, can remove and decrease indentation level four spaces


<record id="act_analytic_invoices" model="ir.actions.act_window">
Expand Down Expand Up @@ -41,4 +41,4 @@
</record>

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