Skip to content

Commit d6a2913

Browse files
committed
Merge PR OCA#2906 into 19.0
Signed-off-by HviorForgeFlow
2 parents 3e46051 + ea36513 commit d6a2913

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+7332
-0
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
====================================
6+
Purchase and Invoice Allowed Product
7+
====================================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:eb1b9dbaa74e94be393c30f67b80add2d636d716a513727c65216e10fe1b6cc1
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
24+
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_allowed_product
25+
:alt: OCA/purchase-workflow
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_allowed_product
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module adds a restriction in purchase and supplier invoices that
36+
has the mark "Order and invoice only supplied products" checked for
37+
allowing to select only products that can be supplied by the defined
38+
vendor.
39+
40+
The restriction can be set by default for each partner, and it's
41+
propagated to their supplier invoices and purchases, but it can be
42+
changed for each invoice and purchase order if you want.
43+
44+
**Table of contents**
45+
46+
.. contents::
47+
:local:
48+
49+
Bug Tracker
50+
===========
51+
52+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
53+
In case of trouble, please check there if your issue has already been reported.
54+
If you spotted it first, help us to smash it by providing a detailed and welcomed
55+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_allowed_product%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
57+
Do not contact contributors directly about support or help with technical issues.
58+
59+
Credits
60+
=======
61+
62+
Authors
63+
-------
64+
65+
* Akretion
66+
67+
Contributors
68+
------------
69+
70+
- Chafique Delli <chafique.delli@akretion.com>
71+
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
72+
- Hieu, Vo Minh Bao <hieu.vmb@komit-consulting.com>
73+
- `Tecnativa <https://www.tecnativa.com>`__:
74+
75+
- Manuel Calero
76+
- Pedro M. Baeza
77+
78+
- `Via laurea <https://www.vialaurea.com>`__:
79+
80+
- Darius Žižys
81+
82+
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
83+
- Alejandro Parrales <alejandro17parrales@gmail.com>
84+
85+
Maintainers
86+
-----------
87+
88+
This module is maintained by the OCA.
89+
90+
.. image:: https://odoo-community.org/logo.png
91+
:alt: Odoo Community Association
92+
:target: https://odoo-community.org
93+
94+
OCA, or the Odoo Community Association, is a nonprofit organization whose
95+
mission is to support the collaborative development of Odoo features and
96+
promote its widespread use.
97+
98+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_allowed_product>`_ project on GitHub.
99+
100+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# © 2016 Chafique DELLI @ Akretion
2+
# © 2017 Today Mourad EL HADJ MIMOUNE @ Akretion
3+
# 2020 Manuel Calero - Tecnativa
4+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5+
{
6+
"name": "Purchase and Invoice Allowed Product",
7+
"summary": "This module allows to select only products that can be "
8+
"supplied by the vendor",
9+
"version": "19.0.1.0.0",
10+
"category": "Accounting & Finance",
11+
"website": "https://github.com/OCA/purchase-workflow",
12+
"author": "Akretion, Odoo Community Association (OCA)",
13+
"license": "AGPL-3",
14+
"depends": [
15+
"purchase",
16+
"base_view_inheritance_extension",
17+
],
18+
"data": [
19+
"views/res_partner_views.xml",
20+
"views/account_move_views.xml",
21+
"views/purchase_order_views.xml",
22+
],
23+
"installable": True,
24+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * purchase_allowed_product
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-06-01 02:48+0000\n"
12+
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
15+
"Language: am\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
20+
21+
#. module: purchase_allowed_product
22+
#: model:ir.model,name:purchase_allowed_product.model_res_partner
23+
msgid "Contact"
24+
msgstr ""
25+
26+
#. module: purchase_allowed_product
27+
#: model:ir.model.fields,help:purchase_allowed_product.field_res_partner__use_only_supplied_product
28+
#: model:ir.model.fields,help:purchase_allowed_product.field_res_users__use_only_supplied_product
29+
msgid ""
30+
"If checked, by default you will only be able to select products that can be "
31+
"supplied by this supplier when creating a supplier invoice or purchase for "
32+
"it. This value can be changed by invoice or purchase."
33+
msgstr ""
34+
35+
#. module: purchase_allowed_product
36+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_bank_statement_line__use_only_supplied_product
37+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_move__use_only_supplied_product
38+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_payment__use_only_supplied_product
39+
#: model:ir.model.fields,help:purchase_allowed_product.field_purchase_order__use_only_supplied_product
40+
#: model:ir.model.fields,help:purchase_allowed_product.field_supplied_product_mixin__use_only_supplied_product
41+
msgid "If checked, only the products provided by this supplier will be shown."
42+
msgstr ""
43+
44+
#. module: purchase_allowed_product
45+
#: model:ir.model,name:purchase_allowed_product.model_account_move
46+
msgid "Journal Entry"
47+
msgstr ""
48+
49+
#. module: purchase_allowed_product
50+
#: model:ir.model,name:purchase_allowed_product.model_supplied_product_mixin
51+
msgid "Mixin for documents that want to restrict products"
52+
msgstr ""
53+
54+
#. module: purchase_allowed_product
55+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_res_partner__use_only_supplied_product
56+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_res_users__use_only_supplied_product
57+
msgid "Order and invoice only supplied products"
58+
msgstr ""
59+
60+
#. module: purchase_allowed_product
61+
#: model:ir.model,name:purchase_allowed_product.model_product_product
62+
msgid "Product Variant"
63+
msgstr ""
64+
65+
#. module: purchase_allowed_product
66+
#: model:ir.model,name:purchase_allowed_product.model_purchase_order
67+
msgid "Purchase Order"
68+
msgstr ""
69+
70+
#. module: purchase_allowed_product
71+
#: model:ir.model,name:purchase_allowed_product.model_product_supplierinfo
72+
msgid "Supplier Pricelist"
73+
msgstr ""
74+
75+
#. module: purchase_allowed_product
76+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_bank_statement_line__use_only_supplied_product
77+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_move__use_only_supplied_product
78+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_payment__use_only_supplied_product
79+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_purchase_order__use_only_supplied_product
80+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin__use_only_supplied_product
81+
msgid "Use only allowed products"
82+
msgstr ""
83+
84+
#. module: purchase_allowed_product
85+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_product_supplierinfo__partner_id
86+
msgid "Vendor"
87+
msgstr ""
88+
89+
#~ msgid "ID"
90+
#~ msgstr "ID"
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * purchase_allowed_product
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-06-01 02:48+0000\n"
12+
"PO-Revision-Date: 2017-06-01 02:48+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
15+
"Language: ar\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
20+
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
21+
22+
#. module: purchase_allowed_product
23+
#: model:ir.model,name:purchase_allowed_product.model_res_partner
24+
msgid "Contact"
25+
msgstr ""
26+
27+
#. module: purchase_allowed_product
28+
#: model:ir.model.fields,help:purchase_allowed_product.field_res_partner__use_only_supplied_product
29+
#: model:ir.model.fields,help:purchase_allowed_product.field_res_users__use_only_supplied_product
30+
msgid ""
31+
"If checked, by default you will only be able to select products that can be "
32+
"supplied by this supplier when creating a supplier invoice or purchase for "
33+
"it. This value can be changed by invoice or purchase."
34+
msgstr ""
35+
36+
#. module: purchase_allowed_product
37+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_bank_statement_line__use_only_supplied_product
38+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_move__use_only_supplied_product
39+
#: model:ir.model.fields,help:purchase_allowed_product.field_account_payment__use_only_supplied_product
40+
#: model:ir.model.fields,help:purchase_allowed_product.field_purchase_order__use_only_supplied_product
41+
#: model:ir.model.fields,help:purchase_allowed_product.field_supplied_product_mixin__use_only_supplied_product
42+
msgid "If checked, only the products provided by this supplier will be shown."
43+
msgstr ""
44+
45+
#. module: purchase_allowed_product
46+
#: model:ir.model,name:purchase_allowed_product.model_account_move
47+
msgid "Journal Entry"
48+
msgstr ""
49+
50+
#. module: purchase_allowed_product
51+
#: model:ir.model,name:purchase_allowed_product.model_supplied_product_mixin
52+
msgid "Mixin for documents that want to restrict products"
53+
msgstr ""
54+
55+
#. module: purchase_allowed_product
56+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_res_partner__use_only_supplied_product
57+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_res_users__use_only_supplied_product
58+
msgid "Order and invoice only supplied products"
59+
msgstr ""
60+
61+
#. module: purchase_allowed_product
62+
#: model:ir.model,name:purchase_allowed_product.model_product_product
63+
msgid "Product Variant"
64+
msgstr ""
65+
66+
#. module: purchase_allowed_product
67+
#: model:ir.model,name:purchase_allowed_product.model_purchase_order
68+
msgid "Purchase Order"
69+
msgstr ""
70+
71+
#. module: purchase_allowed_product
72+
#: model:ir.model,name:purchase_allowed_product.model_product_supplierinfo
73+
msgid "Supplier Pricelist"
74+
msgstr ""
75+
76+
#. module: purchase_allowed_product
77+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_bank_statement_line__use_only_supplied_product
78+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_move__use_only_supplied_product
79+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_account_payment__use_only_supplied_product
80+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_purchase_order__use_only_supplied_product
81+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_supplied_product_mixin__use_only_supplied_product
82+
msgid "Use only allowed products"
83+
msgstr ""
84+
85+
#. module: purchase_allowed_product
86+
#: model:ir.model.fields,field_description:purchase_allowed_product.field_product_supplierinfo__partner_id
87+
msgid "Vendor"
88+
msgstr ""
89+
90+
#~ msgid "ID"
91+
#~ msgstr "المعرف"

0 commit comments

Comments
 (0)