Browse Source

commit inicial

Rodney Enciso Arias 8 years ago
commit
712e06a6a7
18 changed files with 522 additions and 0 deletions
  1. 37 0
      README.rst
  2. 23 0
      __init__.py
  3. BIN
      __init__.pyc
  4. 34 0
      __openerp__.py
  5. 55 0
      account_invoice.py
  6. BIN
      account_invoice.pyc
  7. 28 0
      i18n/account_invoice_supplier_ref_unique.pot
  8. 32 0
      i18n/de.po
  9. 31 0
      i18n/el_GR.po
  10. 32 0
      i18n/es.po
  11. 31 0
      i18n/es_MX.po
  12. 32 0
      i18n/fr.po
  13. 31 0
      i18n/hr.po
  14. 31 0
      i18n/it.po
  15. 31 0
      i18n/nl.po
  16. 31 0
      i18n/pt_BR.po
  17. 32 0
      i18n/sl.po
  18. 31 0
      i18n/zh_CN.po

+ 37 - 0
README.rst

@@ -0,0 +1,37 @@
+Unique Supplier Invoice Number
+==============================
+
+This module checks that a supplier invoice/refund is not entered twice. This is important because if you enter twice the same supplier invoice, there is also a risk that you pay it twice !
+
+This module adds a constraint on supplier invoice/refunds to check that (commercial_partner_id, supplier_invoice_number) is unique, without considering the case of the supplier invoice number.
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/issues>`_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
+`here <https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_invoice_supplier_ref_unique%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
+
+Credits
+=======
+
+Contributors
+------------
+
+* Marc Cassuto <marc.cassuto@savoirfairelinux.com>
+* Mathieu Benoit <mathieu.benoit@savoirfairelinux.com>
+* Alexis de Lattre <alexis.delattre@akretion.com>
+
+Maintainer
+----------
+
+.. image:: http://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: http://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
+
+To contribute to this module, please visit http://odoo-community.org.

+ 23 - 0
__init__.py

@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    Odoo, Open Source Management Solution
+#    This module copyright (C) 2010 - 2014 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from . import account_invoice

BIN
__init__.pyc


+ 34 - 0
__openerp__.py

@@ -0,0 +1,34 @@
+# -*- encoding: utf-8 -*-
+# #############################################################################
+#
+#    Odoo, Open Source Management Solution
+#    This module copyright (C) 2010 - 2014 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+{
+    'name': 'Unique Supplier Invoice Number in Invoice',
+    'version': '8.0.1.1.0',
+    'summary': 'Checks that supplier invoices are not entered twice',
+    'author': "Savoir-faire Linux,Odoo Community Association (OCA)",
+    'maintainer': 'Savoir-faire Linux',
+    'website': 'http://www.savoirfairelinux.com',
+    'license': 'AGPL-3',
+    'category': 'Accounting & Finance',
+    'depends': ['account'],
+    'installable': True,
+}

+ 55 - 0
account_invoice.py

@@ -0,0 +1,55 @@
+# -*- encoding: utf-8 -*-
+###############################################################################
+#
+#    Odoo, Open Source Management Solution
+#    This module copyright (C) 2010 - 2014 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#    Copyright (C) 2015 Akretion (http://www.akretion.com)
+#    @author Alexis de Lattre <alexis.delattre@akretion.com>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
+from openerp import models, fields, api, _
+from openerp.exceptions import ValidationError
+
+
+class AccountInvoice(models.Model):
+    _inherit = "account.invoice"
+
+    supplier_invoice_number = fields.Char(copy=False)
+
+    @api.one
+    @api.constrains('supplier_invoice_number')
+    def _check_unique_supplier_invoice_number_insensitive(self):
+        if (
+                self.supplier_invoice_number and
+                self.type in ('in_invoice', 'in_refund')):
+            same_supplier_inv_num = self.search([
+                ('commercial_partner_id', '=', self.commercial_partner_id.id),
+                ('type', 'in', ('in_invoice', 'in_refund')),
+                ('supplier_invoice_number',
+                 '=ilike',
+                 self.supplier_invoice_number),
+                ('id', '!=', self.id),
+                ])
+            if same_supplier_inv_num:
+                raise ValidationError(
+                    _("The invoice/refund with supplier invoice number '%s' "
+                      "already exists in Odoo under the number '%s' "
+                      "for supplier '%s'.") % (
+                        same_supplier_inv_num[0].supplier_invoice_number,
+                        same_supplier_inv_num[0].number or '-',
+                        same_supplier_inv_num[0].partner_id.display_name))

BIN
account_invoice.pyc


+ 28 - 0
i18n/account_invoice_supplier_ref_unique.pot

@@ -0,0 +1,28 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* account_invoice_supplier_ref_unique
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-27 19:44+0000\n"
+"PO-Revision-Date: 2015-07-27 19:44+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr ""
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid "The invoice/refund with supplier invoice number '%s' already exists in Odoo under the number '%s' for supplier '%s'."
+msgstr ""
+

+ 32 - 0
i18n/de.po

@@ -0,0 +1,32 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+# Rudolf Schnapka <rs@techno-flex.de>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-11-21 01:40+0000\n"
+"PO-Revision-Date: 2015-11-24 09:23+0000\n"
+"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
+"Language-Team: German (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/de/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: de\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Rechnung"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr "Die Rechnung/Gutschrift mit der Lieferanten-Rechnungsnummer '%s' besteht bereits in Odoo unter der Nummer '%s' des Lieferanten '%s'."

+ 31 - 0
i18n/el_GR.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-17 03:48+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/el_GR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: el_GR\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Τιμολόγιο"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 32 - 0
i18n/es.po

@@ -0,0 +1,32 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+# Eduardo Rodríguez Crespo <erocre@gmail.com>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-04-16 04:26+0000\n"
+"PO-Revision-Date: 2016-04-25 14:07+0000\n"
+"Last-Translator: Eduardo Rodríguez Crespo <erocre@gmail.com>\n"
+"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/es/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr "La factura/abono con número de factura de proveedor '%s' ya existe en Odoo con el número '%s' para el proveedor '%s'."

+ 31 - 0
i18n/es_MX.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-12-03 00:04+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/es_MX/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es_MX\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 32 - 0
i18n/fr.po

@@ -0,0 +1,32 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+# Maxime Chambreuil <maxime.chambreuil@gmail.com>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-09-09 12:43+0000\n"
+"PO-Revision-Date: 2015-09-12 22:39+0000\n"
+"Last-Translator: Maxime Chambreuil <maxime.chambreuil@gmail.com>\n"
+"Language-Team: French (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/fr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Facture"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr "La facture/avoir ayant le numéro de facture fournisseur '%s' existe déjà dans Odoo sous le numéro '%s' pour le fournisseur '%s'."

+ 31 - 0
i18n/hr.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-17 03:48+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Croatian (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/hr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hr\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Račun"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 31 - 0
i18n/it.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-09-17 03:20+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/it/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: it\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Fattura"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 31 - 0
i18n/nl.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-12-03 00:04+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/nl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Factuur"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 31 - 0
i18n/pt_BR.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-17 03:48+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/pt_BR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt_BR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Fatura"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""

+ 32 - 0
i18n/sl.po

@@ -0,0 +1,32 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-25 16:48+0000\n"
+"PO-Revision-Date: 2015-08-16 11:39+0000\n"
+"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
+"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/sl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sl\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "Račun"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr "Prejeti račun/dobropis št. '%s' že obstaja v Odoo pod številko '%s' za dobavitelja '%s'."

+ 31 - 0
i18n/zh_CN.po

@@ -0,0 +1,31 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_invoice_supplier_ref_unique
+# 
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-invoicing (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-12-03 00:04+0000\n"
+"PO-Revision-Date: 2015-07-28 14:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-invoicing-8-0/language/zh_CN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_CN\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: account_invoice_supplier_ref_unique
+#: model:ir.model,name:account_invoice_supplier_ref_unique.model_account_invoice
+msgid "Invoice"
+msgstr "发票"
+
+#. module: account_invoice_supplier_ref_unique
+#: code:addons/account_invoice_supplier_ref_unique/account_invoice.py:50
+#, python-format
+msgid ""
+"The invoice/refund with supplier invoice number '%s' already exists in Odoo "
+"under the number '%s' for supplier '%s'."
+msgstr ""