Skip to content

Commit 73b1cb1

Browse files
committed
Merge PR #1546 into 17.0
Signed-off-by dreispt
2 parents b6174a1 + 7124218 commit 73b1cb1

File tree

14 files changed

+670
-0
lines changed

14 files changed

+670
-0
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
=============================
2+
Product Supplier Info Archive
3+
=============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:c84a16dafa1c366e16b885e14362c014af13baf1b2e719342765869676621c8d
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
18+
:alt: License: LGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
20+
:target: https://github.com/OCA/product-attribute/tree/17.0/product_supplierinfo_archive
21+
:alt: OCA/product-attribute
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_supplierinfo_archive
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds the field active to product.supplierinfo so it can be
32+
archived.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Usage
40+
=====
41+
42+
Simply use the archive action on any product supplier info.
43+
44+
Existing variants are unaffected, only new ones.
45+
46+
Bug Tracker
47+
===========
48+
49+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
50+
In case of trouble, please check there if your issue has already been reported.
51+
If you spotted it first, help us to smash it by providing a detailed and welcomed
52+
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_supplierinfo_archive%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
53+
54+
Do not contact contributors directly about support or help with technical issues.
55+
56+
Credits
57+
=======
58+
59+
Authors
60+
-------
61+
62+
* ForgeFlow
63+
64+
Contributors
65+
------------
66+
67+
- Guillem Casassas <guillem.casassas@forgeflow.com>
68+
- Álvaro Trius Béjar <alvaro.trius@forgeflow.com>
69+
- Oriol Villamayor <oriol.villamayor@forgeflow.com>
70+
- Dhara Solanki <dhara.solanki@initos.com>
71+
72+
Maintainers
73+
-----------
74+
75+
This module is maintained by the OCA.
76+
77+
.. image:: https://odoo-community.org/logo.png
78+
:alt: Odoo Community Association
79+
:target: https://odoo-community.org
80+
81+
OCA, or the Odoo Community Association, is a nonprofit organization whose
82+
mission is to support the collaborative development of Odoo features and
83+
promote its widespread use.
84+
85+
.. |maintainer-GuillemCForgeFlow| image:: https://github.com/GuillemCForgeFlow.png?size=40px
86+
:target: https://github.com/GuillemCForgeFlow
87+
:alt: GuillemCForgeFlow
88+
.. |maintainer-AlvaroTForgeFlow| image:: https://github.com/AlvaroTForgeFlow.png?size=40px
89+
:target: https://github.com/AlvaroTForgeFlow
90+
:alt: AlvaroTForgeFlow
91+
.. |maintainer-OriolVForgeFlow| image:: https://github.com/OriolVForgeFlow.png?size=40px
92+
:target: https://github.com/OriolVForgeFlow
93+
:alt: OriolVForgeFlow
94+
95+
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
96+
97+
|maintainer-GuillemCForgeFlow| |maintainer-AlvaroTForgeFlow| |maintainer-OriolVForgeFlow|
98+
99+
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/17.0/product_supplierinfo_archive>`_ project on GitHub.
100+
101+
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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2021 ForgeFlow S.L. (https://www.forgeflow.com)
2+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
3+
4+
{
5+
"name": "Product Supplier Info Archive",
6+
"summary": """
7+
Add the active field to the product supplier info
8+
""",
9+
"version": "17.0.1.0.0",
10+
"license": "LGPL-3",
11+
"website": "https://github.com/OCA/product-attribute",
12+
"author": "ForgeFlow, Odoo Community Association (OCA)",
13+
"depends": ["product"],
14+
"data": ["views/product_views.xml"],
15+
"installable": True,
16+
"maintainers": ["GuillemCForgeFlow", "AlvaroTForgeFlow", "OriolVForgeFlow"],
17+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * product_supplierinfo_archive
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-10-29 15:40+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: product_supplierinfo_archive
20+
#: model:ir.model.fields,field_description:product_supplierinfo_archive.field_product_supplierinfo__active
21+
msgid "Active"
22+
msgstr "Attive"
23+
24+
#. module: product_supplierinfo_archive
25+
#: model:ir.model,name:product_supplierinfo_archive.model_product_supplierinfo
26+
msgid "Supplier Pricelist"
27+
msgstr "Listino prezzi fornitore"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * product_supplierinfo_archive
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: product_supplierinfo_archive
17+
#: model:ir.model.fields,field_description:product_supplierinfo_archive.field_product_supplierinfo__active
18+
msgid "Active"
19+
msgstr ""
20+
21+
#. module: product_supplierinfo_archive
22+
#: model:ir.model,name:product_supplierinfo_archive.model_product_supplierinfo
23+
msgid "Supplier Pricelist"
24+
msgstr ""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import product_supplierinfo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2021 ForgeFlow S.L. (https://www.forgeflow.com)
2+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
3+
4+
from odoo import fields, models
5+
6+
7+
class ProductSupplierinfo(models.Model):
8+
_inherit = "product.supplierinfo"
9+
10+
active = fields.Boolean(default=True)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- Guillem Casassas \<<guillem.casassas@forgeflow.com>\>
2+
- Álvaro Trius Béjar \<<alvaro.trius@forgeflow.com>\>
3+
- Oriol Villamayor \<<oriol.villamayor@forgeflow.com>\>
4+
- Dhara Solanki \<<dhara.solanki@initos.com>\>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This module adds the field active to product.supplierinfo so it can be
2+
archived.

0 commit comments

Comments
 (0)