From 3d3325d8ebf56910bb91274c1516d498aa7eb6d7 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 8 Oct 2014 21:02:35 +0200 Subject: [PATCH] OpenERP -> Odoo Remove application=True in __openerp__.py --- account_fiscal_position_vat_check/__init__.py | 2 +- account_fiscal_position_vat_check/__openerp__.py | 3 +-- account_fiscal_position_vat_check/account_invoice.py | 4 ++-- account_fiscal_position_vat_check/partner.py | 7 +++---- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/account_fiscal_position_vat_check/__init__.py b/account_fiscal_position_vat_check/__init__.py index 871d74b5b..e665809a4 100644 --- a/account_fiscal_position_vat_check/__init__.py +++ b/account_fiscal_position_vat_check/__init__.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# Account Fiscal Position VAT Check module for OpenERP +# Account Fiscal Position VAT Check module for Odoo # Copyright (C) 2013-2014 Akretion (http://www.akretion.com) # @author Alexis de Lattre # diff --git a/account_fiscal_position_vat_check/__openerp__.py b/account_fiscal_position_vat_check/__openerp__.py index 41be4d437..8aa02d4ef 100644 --- a/account_fiscal_position_vat_check/__openerp__.py +++ b/account_fiscal_position_vat_check/__openerp__.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# Account Fiscal Position VAT Check module for OpenERP +# Account Fiscal Position VAT Check module for Odoo # Copyright (C) 2013-2014 Akretion (http://www.akretion.com) # @author Alexis de Lattre # @@ -59,5 +59,4 @@ for any help or question about this module. 'partner_view.xml', ], 'installable': True, - 'application': True, } diff --git a/account_fiscal_position_vat_check/account_invoice.py b/account_fiscal_position_vat_check/account_invoice.py index 0097af6de..95a0e031b 100644 --- a/account_fiscal_position_vat_check/account_invoice.py +++ b/account_fiscal_position_vat_check/account_invoice.py @@ -29,7 +29,7 @@ class account_fiscal_position(models.Model): customer_must_have_vat = fields.Boolean( string='Customer Must Have VAT number', - help="If enabled, OpenERP will check that the customer has a VAT " + help="If enabled, Odoo will check that the customer has a VAT " "number when the user validates a customer invoice/refund.") @@ -57,7 +57,7 @@ class account_invoice(models.Model): "that require the customer to have a VAT number. " "But the Customer '%s' doesn't " "have a VAT number in OpenERP." - "Please add the VAT number of this Customer in OpenERP " + "Please add the VAT number of this Customer in Odoo " " and try to validate again.") % (type_label, invoice.fiscal_position.name, invoice.partner_id.name)) diff --git a/account_fiscal_position_vat_check/partner.py b/account_fiscal_position_vat_check/partner.py index 4cc6ed60c..656ca127d 100644 --- a/account_fiscal_position_vat_check/partner.py +++ b/account_fiscal_position_vat_check/partner.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# Account Fiscal Position VAT Check module for OpenERP +# Account Fiscal Position VAT Check module for Odoo # Copyright (C) 2013-2014 Akretion (http://www.akretion.com) # @author Alexis de Lattre # @@ -40,9 +40,8 @@ class res_partner(models.Model): 'title': _('Missing VAT number:'), 'message': _( "You have set the fiscal position '%s' " - "that require the customer to have a VAT number. " - "You should add the VAT number of this customer" - " in OpenERP.") % fp.name + "that require the customer to have a VAT number, " + "but the VAT number is missing.") % fp.name } } return True