OpenERP -> Odoo

Remove application=True in __openerp__.py
This commit is contained in:
Alexis de Lattre
2014-10-08 21:02:35 +02:00
committed by Raf Ven
parent 356eb5c9eb
commit 3d3325d8eb
4 changed files with 7 additions and 9 deletions

View File

@@ -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 <alexis.delattre@akretion.com>
#

View File

@@ -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 <alexis.delattre@akretion.com>
#
@@ -59,5 +59,4 @@ for any help or question about this module.
'partner_view.xml',
],
'installable': True,
'application': True,
}

View File

@@ -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))

View File

@@ -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 <alexis.delattre@akretion.com>
#
@@ -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