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 committed Feb 28, 2019
1 parent 6f0670c commit 0e298fa
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 24 deletions.
40 changes: 29 additions & 11 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,56 @@ 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.

Installation
============

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

Usage
=====

.. 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
:target: https://runbot.odoo-community.org/runbot/142/11.0

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/hr/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
3 changes: 1 addition & 2 deletions purchase_allowed_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# -*- 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',
'author': 'Akretion, Odoo Community Association (OCA)',
Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2016 Chafique DELLI @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/account_invoice.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2016 Chafique DELLI @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/product.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/product_supplierinfo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2016 Chafique DELLI @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/models/supplied_product_mixin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
1 change: 0 additions & 1 deletion purchase_allowed_product/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).


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


class TestPurchaseAllowedProduct(TransactionCase):
Expand Down

0 comments on commit 0e298fa

Please sign in to comment.