Skip to content

Commit

Permalink
[MIG] purchase_allowed_product: Migration to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hieulucky111 authored and pedrobaeza committed Aug 11, 2020
1 parent 34a05a1 commit 4fc04ea
Show file tree
Hide file tree
Showing 81 changed files with 687 additions and 551 deletions.
41 changes: 26 additions & 15 deletions purchase_allowed_product/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

====================================
Expand All @@ -11,38 +11,49 @@ This module adds a restriction in purchase and supplier invoices that has the ma
The restriction can be set by default for each partner, and it's propagated
to their supplier invoices and purchase, but it can be change for each invoice and purchase if you want.

Usage
=====
Installation
============

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/142/8.0
To install this module, you need to:

* clone the branch 11.0 of the repository https://github.com/OCA/purchase-workflow
* add the path to this repository in your configuration (addons-path)
* update the module list
* search for "Account Invoice Allowed Product" in your addons
* install the module

Bug Tracker
===========

Bugs are tracked on GitHub Issues. In case of trouble, please check there
if your issue has already been reported. If you spotted it first,
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/purchase-workflow/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.

Credits
=======

Contributors
------------

* Chafique Delli <[email protected]>
* Mourad EL HADJ MIMOUNE <[email protected]>

* Hieu, Vo Minh Bao <[email protected]>

Do not contact contributors directly about support or help with technical issues.

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://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.
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 https://odoo-community.org.

To contribute to this module, please visit https://odoo-community.org.
1 change: 0 additions & 1 deletion purchase_allowed_product/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# -*- coding: utf-8 -*-
from . import models
5 changes: 2 additions & 3 deletions purchase_allowed_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# -*- coding: utf-8 -*-
# © 2016 Chafique DELLI @ Akretion
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Account Invoice Allowed Product',
'summary': 'This module allows to select only products that can be '
'supplied by the supplier',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'category': 'Accounting & Finance',
'website': 'https://akretion.com',
'website': 'https://github.com/OCA/purchase-workflow',
'author': 'Akretion, Odoo Community Association (OCA)',
'license': 'AGPL-3',
'installable': True,
Expand Down
14 changes: 7 additions & 7 deletions purchase_allowed_product/i18n/am.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,12 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: am\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
msgid "Display Name"
Expand Down Expand Up @@ -65,11 +70,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
17 changes: 9 additions & 8 deletions purchase_allowed_product/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,11 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
Expand Down Expand Up @@ -65,11 +71,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
14 changes: 7 additions & 7 deletions purchase_allowed_product/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,12 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
msgid "Display Name"
Expand Down Expand Up @@ -65,11 +70,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
17 changes: 9 additions & 8 deletions purchase_allowed_product/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,11 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bs\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"
"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: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
Expand Down Expand Up @@ -65,11 +71,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
14 changes: 7 additions & 7 deletions purchase_allowed_product/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,12 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
msgid "Display Name"
Expand Down Expand Up @@ -65,11 +70,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
14 changes: 7 additions & 7 deletions purchase_allowed_product/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,12 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
msgid "Display Name"
Expand Down Expand Up @@ -65,11 +70,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
14 changes: 7 additions & 7 deletions purchase_allowed_product/i18n/da.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_allowed_product
#
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
Expand All @@ -12,12 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin_display_name
msgid "Display Name"
Expand Down Expand Up @@ -65,11 +70,6 @@ msgstr ""
msgid "Order and invoice only supplied products"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_res_partner
msgid "Partner"
msgstr ""

#. module: purchase_allowed_product
#: model:ir.model,name:purchase_allowed_product.model_product_product
msgid "Product"
Expand Down
Loading

0 comments on commit 4fc04ea

Please sign in to comment.