Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][ADD] product_packaging_level_sellable #1

Merged
merged 138 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
9cb14b6
product_sale_description: add module
hparfr Jun 7, 2023
ef3f669
Added translation using Weblate (Spanish)
Ivorra78 Aug 22, 2023
763497b
Added translation using Weblate (Spanish)
Ivorra78 Aug 23, 2023
8e16ab2
Added translation using Weblate (Spanish)
Ivorra78 Aug 23, 2023
573c39c
Added translation using Weblate (Spanish)
Ivorra78 Aug 23, 2023
66f4547
Added translation using Weblate (Spanish)
Ivorra78 Aug 23, 2023
f0b596c
Added translation using Weblate (Italian)
dcorio Aug 29, 2023
72ac774
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
5016dcf
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
c06df29
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
2124d51
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
7a18774
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
5e4ed85
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
b9927fb
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
f7d6204
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
fac7be7
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
ee5a046
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
1f0e4b4
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
4d43cc3
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
f423b21
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
9ff12dd
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
6b0806c
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
31c959f
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
70bb803
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
9b073b4
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
1c27fc4
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
78a6e1f
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
92f12b5
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
5166333
Translated using Weblate (Italian)
dcorio Aug 29, 2023
20ec033
Added translation using Weblate (Italian)
dcorio Aug 30, 2023
aceecc9
Translated using Weblate (Italian)
dcorio Aug 30, 2023
12ee7be
Merge PR #1349 into 16.0
OCA-git-bot Sep 1, 2023
b2a011e
[UPD] Update product_sale_description.pot
Sep 1, 2023
5cee165
[UPD] addons table in README.md
OCA-git-bot Sep 1, 2023
cf02397
[UPD] README.rst
OCA-git-bot Sep 1, 2023
4056344
[ADD] icon.png
OCA-git-bot Sep 1, 2023
085e06d
[ADD] setup.py
OCA-git-bot Sep 1, 2023
c34f350
product_sale_description 16.0.1.0.1
OCA-git-bot Sep 1, 2023
e88fb51
[UPD] addons table in README.md
OCA-git-bot Sep 1, 2023
8dbafe2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
df74082
Translated using Weblate (Italian)
francesco-ooops Sep 4, 2023
5dd930a
[FIX] product_secondary_unit: wrong factor computation for uom's equa…
sergio-teruel Sep 13, 2023
b55a6bf
Merge PR #1415 into 16.0
OCA-git-bot Sep 14, 2023
a2257c0
product_secondary_unit 16.0.1.0.1
OCA-git-bot Sep 14, 2023
7b85bfd
[UPD] addons table in README.md
OCA-git-bot Sep 14, 2023
f563a88
[UPD] README.rst
OCA-git-bot Sep 14, 2023
959040b
[ADD] product_abc_classification
MiquelRForgeFlow May 28, 2020
9b4a0a4
[IMP] product_abc_classification: Makes the classification computatio…
lmarion-source Jan 26, 2021
8d6e150
[IMP] product_abc_classification: Add sale_stock classification profile
lmignon Jan 26, 2021
a90db80
[IMP] product_abc_classification_sale_stock: Store collected data use…
lmignon Feb 4, 2021
cad78fe
[IMP] product_abc_classification: Take into a account the expected di…
lmignon Feb 15, 2021
3b67534
[FIX] product_abc_classification_base: Fix bug in views
lmignon Mar 11, 2021
b18269c
[IMP] Add flag to automatically set manual value of level_id to compu…
lmarion-source Jan 25, 2022
4870379
[FIX] Trigger the auto compute if flag changes but not the computed_v…
lmarion-source Jan 28, 2022
02ca4dc
[FIX] Set flag to false if manual = computed
lmarion-source Jan 31, 2022
0a01fce
[FIX] Propagate recompute level info to all computed values (abc stor…
lmarion-source Feb 7, 2022
99edc77
[IMP] product_abc_classification_base: pre-commit stuff
rousseldenis Nov 10, 2022
6de35e5
[MIG][16.0] product_abc_classification_base
rousseldenis Nov 10, 2022
26040ec
[IMP] product_abc_classification_base: Remove web_m2x_options dependency
rousseldenis Nov 10, 2022
ae7e0a5
[IMP] product_abc_classification/base: Restore module name
rousseldenis Nov 10, 2022
67d62bd
[IMP] product_abc_classification: add product smart button in profile
MiquelRForgeFlow Feb 2, 2022
217adcc
[FIX] product_abc_classification: Remove not working context attributes
rousseldenis Nov 15, 2022
b636e38
[FIX] product_abc_classification: Use the good _for_xml_id() and add …
rousseldenis Nov 17, 2022
91a0fcb
[FIX] product_abc_classification: Adapt write() for a multi recordset
rousseldenis Nov 22, 2022
8cfa5f2
[IMP] product_abc_classification: Improve profile view + help
rousseldenis Feb 15, 2023
fdb1105
[FIX] product_abc_classification: Translated terms into views
lmignon Apr 5, 2023
70beefc
[FIX] product_abc_classification: Fix tests
rousseldenis Sep 18, 2023
1e5f957
Merge PR #1192 into 16.0
OCA-git-bot Sep 18, 2023
ac6ea18
[UPD] Update product_abc_classification.pot
Sep 18, 2023
3ac0f91
[ADD] module 'product_packaging_type' and 'product_packaging_type_req…
damdam-s Nov 7, 2019
995b198
[FIX] provide a default value for the new required field
gurneyalex Nov 14, 2019
5fab197
[FIX] sequence must be stored
gurneyalex Nov 17, 2019
5e8f2d9
Add qty per package type computed field
grindtildeath Nov 28, 2019
9afd93d
Improvements according to review
grindtildeath Nov 28, 2019
5bb029a
Fix division by zero error
grindtildeath Dec 2, 2019
4520b69
Migrate product_packaging_type to 13.0
guewen Dec 13, 2019
a7fa124
run pre-commit with new prettiers
guewen Mar 19, 2020
0c48382
[UPD] Update product_packaging_type.pot
oca-travis Mar 19, 2020
b0f63e9
[UPD] README.rst
OCA-git-bot Mar 19, 2020
d89e357
[ADD] icon.png
OCA-git-bot Mar 19, 2020
4641cf6
product_packaging_type: switch to LGPL
guewen May 12, 2020
98b0747
[UPD] README.rst
OCA-git-bot May 14, 2020
2ca3c6c
product_packaging_type 13.0.1.0.1
OCA-git-bot May 14, 2020
84b0ad8
[IMP][product_packaging_type] Specific UNECE product packaging naming.
Tonow-c2c Jul 2, 2020
799f670
[UPD] Update product_packaging_type.pot
oca-travis Jul 3, 2020
e08fd5f
product_packaging_type 13.0.1.1.0
OCA-git-bot Jul 3, 2020
c74deb2
Add unique constraint on Packaging Type
guewen Jul 21, 2020
6c98706
Set noupdate on default packaging type
guewen Jul 21, 2020
5b7887f
[UPD] Update product_packaging_type.pot
oca-travis Jul 23, 2020
1fb2fc5
product_packaging_type 13.0.1.1.1
OCA-git-bot Jul 23, 2020
0a240f2
[IMP] If Product packaging "Contained quantity" == 0.0 "Has GTIN" is …
Tonow-c2c Jul 21, 2020
6de12a1
[IMP] rename the field `type_has_gtin` to `barcode_required_for_gtin`
Tonow-c2c Jul 21, 2020
af1347b
Update product_packaging_type/models/product_packaging_type.py
guewen Jul 23, 2020
ead4745
[UPD] Update product_packaging_type.pot
oca-travis Jul 24, 2020
652b9f6
product_packaging_type 13.0.1.2.0
OCA-git-bot Jul 24, 2020
97376ae
Replace SQL constraint for unique packaging type by Python constrains
guewen Jul 24, 2020
d048f17
[UPD] Update product_packaging_type.pot
oca-travis Jul 24, 2020
dc2dd47
product_packaging_type 13.0.1.2.1
OCA-git-bot Jul 24, 2020
494526f
Added translation using Weblate (Spanish)
claudiagn Oct 14, 2020
f2747cd
Translated using Weblate (Spanish)
claudiagn Oct 14, 2020
ad3e13c
[MIG] product_packaging_type: Migration to 14.0
phuctranfxvn Dec 27, 2020
6471fe0
[UPD] Update product_packaging_type.pot
oca-travis Apr 9, 2021
39d9926
[UPD] README.rst
OCA-git-bot Apr 9, 2021
4cff5a8
Added translation using Weblate (Dutch)
bosd May 9, 2021
95441ba
Translated using Weblate (Dutch)
bosd May 9, 2021
c54ba52
p_packaging_type: imp qty per type
simahawk Jul 19, 2021
1cf4739
product_packaging_type: split qty per type data
simahawk Sep 21, 2021
ed36cbd
product_packaging_type 14.0.0.2.0
OCA-git-bot Oct 20, 2021
bc615f6
[15.0][MIG] product_packaging_type
ChrisOForgeFlow Dec 13, 2021
f331319
[FIX] pre-commit
ChrisOForgeFlow Dec 13, 2021
f21676c
[UPD] Update product_packaging_type.pot
Mar 22, 2022
a83e62d
[UPD] README.rst
OCA-git-bot Mar 22, 2022
860b114
Added translation using Weblate (Catalan)
pablontura Apr 22, 2022
3d79d96
Translated using Weblate (Catalan)
pablontura Apr 22, 2022
6c63b09
[IMP] product_packaging_type: pre-commit stuff
rousseldenis Nov 24, 2022
89bca2e
[MIG][16.0] product_packaging_type
rousseldenis Nov 24, 2022
6e29ef8
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
6d10d4d
[IMP] product_abc_classification: Makes the classification computatio…
lmarion-source Jan 26, 2021
772647c
[IMP] product_abc_classification: Add sale_stock classification profile
lmignon Jan 26, 2021
7a34544
[IMP] product_abc_classification_sale_stock: Store collected data use…
lmignon Feb 4, 2021
33d24be
[IMP] product_abc_classification: Take into a account the expected di…
lmignon Feb 15, 2021
5c0092d
[IMP] Add flag to automatically set manual value of level_id to compu…
lmarion-source Jan 25, 2022
58eb9e7
[FIX] Trigger the auto compute if flag changes but not the computed_v…
lmarion-source Jan 28, 2022
9948e15
[IMP] product_abc_classification_sale_stock: pre-commit stuff
rousseldenis Nov 15, 2022
3e881ba
[MIG][16.0] product_abc_classification_sale_stock
rousseldenis Nov 15, 2022
205ef47
[FIX] product_abc_classification_sale_stock: Don't take into account …
rousseldenis Feb 14, 2023
345cdcf
[FIX] product_abc_classification_sale_stock: Translated terms into views
lmignon Apr 5, 2023
b580ffb
Merge PR #1196 into 16.0
OCA-git-bot Sep 18, 2023
465431c
[UPD] Update product_abc_classification_sale_stock.pot
Sep 18, 2023
2aa2f56
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
ba3fc0b
[IMP] product_packaging_type: Rename to product_packaging_level
rousseldenis Nov 28, 2022
4dedd60
[IMP] product_packaging_level: Add migration scripts
rousseldenis Nov 28, 2022
5901a8a
[IMP] product_packaging_level: Improve README
rousseldenis Sep 18, 2023
6ac7f20
Merge PR #1215 into 16.0
OCA-git-bot Sep 18, 2023
88e467f
[UPD] Update product_packaging_level.pot
Sep 18, 2023
33af21a
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
7347deb
[ADD] product_packaging_level_salable
Jul 27, 2023
f4a45fb
[IMP] product_packaging_level_salable: Add migration scripts
Aug 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[product_abc_classification](product_abc_classification/) | 16.0.1.0.0 | | ABC classification for sales and warehouse management
[product_abc_classification_sale_stock](product_abc_classification_sale_stock/) | 16.0.1.0.0 | [![rousseldenis](https://github.com/rousseldenis.png?size=30px)](https://github.com/rousseldenis) [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) [![lmarion-source](https://github.com/lmarion-source.png?size=30px)](https://github.com/lmarion-source) | Compute ABC classification from the number of delivered sale order line by product
[product_assortment](product_assortment/) | 16.0.1.0.2 | | Adds the ability to manage products assortment
[product_attribute_archive](product_attribute_archive/) | 16.0.1.0.0 | | Add an active field on product attributes
[product_attribute_company_favorite](product_attribute_company_favorite/) | 16.0.1.0.0 | [![victor-champonnois](https://github.com/victor-champonnois.png?size=30px)](https://github.com/victor-champonnois) | Possibility to set favorite product attributes per company
Expand All @@ -36,6 +38,7 @@ addon | version | maintainers | summary
[product_multi_category](product_multi_category/) | 16.0.1.0.0 | | Product - Many Categories
[product_net_weight](product_net_weight/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Add 'Net Weight' on product models
[product_packaging_dimension](product_packaging_dimension/) | 16.0.1.0.2 | | Manage packaging dimensions and weight
[product_packaging_level](product_packaging_level/) | 16.0.1.0.0 | | This module binds a product packaging to a packaging level
[product_pricelist_direct_print](product_pricelist_direct_print/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Print price list from menu option, product templates, products variants or price lists
[product_pricelist_direct_print_company_group](product_pricelist_direct_print_company_group/) | 16.0.1.0.0 | | Print Pricelist items using the company group model
[product_pricelist_direct_print_xlsx](product_pricelist_direct_print_xlsx/) | 16.0.1.0.0 | | Print price list in XLSX format
Expand All @@ -44,7 +47,8 @@ addon | version | maintainers | summary
[product_pricelist_simulation_margin](product_pricelist_simulation_margin/) | 16.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Add margin of product price for all pricelists
[product_pricelist_supplierinfo](product_pricelist_supplierinfo/) | 16.0.1.0.1 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Allows to create priceslists based on supplier info
[product_route_mto](product_route_mto/) | 16.0.1.0.0 | | This module allows to compute if a product is an 'MTO' one from its configured routes
[product_secondary_unit](product_secondary_unit/) | 16.0.1.0.0 | [![sergio-teruel](https://github.com/sergio-teruel.png?size=30px)](https://github.com/sergio-teruel) | Set a secondary unit per product
[product_sale_description](product_sale_description/) | 16.0.1.0.1 | | Long and short description for products
[product_secondary_unit](product_secondary_unit/) | 16.0.1.0.1 | [![sergio-teruel](https://github.com/sergio-teruel.png?size=30px)](https://github.com/sergio-teruel) | Set a secondary unit per product
[product_sequence](product_sequence/) | 16.0.2.0.0 | | Product Sequence
[product_set](product_set/) | 16.0.1.0.0 | | Product set
[product_state](product_state/) | 16.0.1.0.0 | [![emagdalenaC2i](https://github.com/emagdalenaC2i.png?size=30px)](https://github.com/emagdalenaC2i) | Module introducing a state field on product template
Expand Down
105 changes: 105 additions & 0 deletions product_abc_classification/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
==========================
Product Abc Classification
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8a366c55660284e3ef7f90bca5d9f06cd061ff819a5524aec87e67efb6fcf7a0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/16.0/product_abc_classification
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_abc_classification
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This modules provides the bases to build ABC analysis (or ABC classification)
addons. These classification are used by inventory management teams to help
identify the most important products in their portfolio and ensure they
prioritize managing them above those less valuable.

Managers will create a profile with several levels (percentages) and then the
profiled products will automatically get a corresponding level using the
ABC classification.

The addon *product_abc_classification_sale_stock* defines a computation profile
based on the number of sale order line delivered by product.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to Sales or Inventory menu, then to Configuration/Products/ABC Classification Profile
and create a profile with levels, knowing that the sum of all levels in the profile
should sum 100 and all the levels should be different.

#. Later you should go to product categories or product variants, and assign them a profile.
Then the cron classification will proceed to assign to these products one of the profile's levels.

NOTE: If you profile (or unprofile) a product category, then all its
child categories and products will be profiled (or unprofiled).

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_abc_classification%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* ACSONE SA/NV
* ForgeFlow

Contributors
~~~~~~~~~~~~

* Miquel Raïch <miquel.raich@eficent.com>
* Lindsay Marion <lindsay.marion@acsone.eu>
* Laurent Mignon <laurent.mignon@acsone.eu>
* Denis Roussel <denis.roussel@acsone.eu>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_abc_classification>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_abc_classification/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions product_abc_classification/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2020 ForgeFlow
# Copyright 2021 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Abc Classification",
"summary": """
ABC classification for sales and warehouse management""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV, ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"depends": ["product", "stock"],
"data": [
"views/abc_classification_product_level.xml",
"views/abc_classification_profile.xml",
"views/product_template.xml",
"views/product_product.xml",
"security/ir.model.access.csv",
"data/ir_cron.xml",
],
}
14 changes: 14 additions & 0 deletions product_abc_classification/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="ir_cron_product_abc_classification" model="ir.cron">
<field name="name">Perform the product ABC Classification</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">months</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_abc_classification_profile" />
<field name="code">model._cron_compute_abc_classification()</field>
<field name="state">code</field>
</record>
</odoo>
Loading
Loading