Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
2ca3a59
[10.0][ADD] product_assortment
rousseldenis Aug 27, 2018
3ef34f9
[FIX][10.0] product_assortment travis warning
tbaden May 4, 2019
22f33e4
[12.0][MIG] product_assortment
rousseldenis Jun 3, 2019
3e26187
[IMP] product_assortment: black, isort
Oct 18, 2019
00a5a1f
[MIG] product_assortment: Migration to 13.0
Oct 21, 2019
76800a4
[FIX] avoid errors when trying to open assortment products
benwillig Jul 23, 2020
a978689
[FIX] product_assortment: development_status
sbidoul Oct 18, 2020
c8c29f4
[IMP] product_assortment: added partners to products assortments
CarlosRoca13 Dec 23, 2020
1700b8e
[FIX] product_assortment: Avoid errors on invalid models
pedrobaeza Jan 13, 2021
649b1fd
Added translation using Weblate (Catalan)
claudiagn Feb 23, 2021
3b02700
Translated using Weblate (Catalan)
claudiagn Feb 23, 2021
59a9989
[14.0][MIG] product_assortment
xavier-bouquiaux Mar 24, 2021
1d5e5b1
[14.0][IMP] product_assortment: Fallback to create() for model_id
rousseldenis May 18, 2021
1b964ff
fix ir_filters
Kev-Roche Jun 17, 2021
a58a071
[FIX] remove useless depends on domain leading to orm crash
Nov 10, 2021
d90459b
[IMP] product_assortment: Allow to use assortment based on partner do…
sergio-teruel Jul 7, 2021
e972d4c
[IMP] product_assortment: add icon to menu
CarlosRoca13 Aug 5, 2021
25040aa
[FIX] product_assortment: use safe_eval.datetime
hailangvn Nov 23, 2021
c57e3b2
[FIX] Fix access right issues when using actions
sebalix Jan 29, 2022
93fcffa
Translated using Weblate (Catalan)
Noel000 Mar 22, 2022
460cb71
Added translation using Weblate (Italian)
SicurSam Apr 21, 2022
dfec092
Translated using Weblate (Italian)
SicurSam Apr 21, 2022
f3edd7a
Translated using Weblate (Italian)
SicurSam Apr 21, 2022
2953cba
Translated using Weblate (Italian)
francesco-ooops Apr 21, 2022
82d88a8
[MIG] product_assortment: Migration to 15.0
CarlosRoca13 May 24, 2022
fca3a21
[IMP] product_assortment: Add blacklist product domain to exclude som…
sergio-teruel May 24, 2022
f8e69aa
[MIG] product_assortment: Migration to 16.0
marielejeune Sep 15, 2022
21e768f
[MIG] product_assortment: Fix form view
lmignon Oct 19, 2022
3f0c102
[UPD] Update product_assortment.pot
Oct 19, 2022
caf4c07
[UPD] README.rst
OCA-git-bot Oct 19, 2022
633a9b4
product_assortment 16.0.1.0.1
OCA-git-bot Oct 19, 2022
8b98343
Update translation files
weblate Oct 19, 2022
fc98c88
Added translation using Weblate (German)
marylla Nov 4, 2022
e40a0ad
Translated using Weblate (German)
marylla Nov 4, 2022
4c627b0
[FIX] product_assortment unit tests: invalidate_cache() is deprecated
marielejeune Nov 14, 2022
581de74
product_assortment 16.0.1.0.2
OCA-git-bot Nov 15, 2022
ee5df45
[UPD] Update product_assortment.pot
Nov 21, 2022
8cdda07
Update translation files
weblate Nov 21, 2022
131e8c8
Translated using Weblate (Italian)
francesco-ooops Dec 29, 2022
9b9f9fa
Translated using Weblate (Italian)
PicchiSeba Apr 27, 2023
325371d
Translated using Weblate (Italian)
PicchiSeba Apr 27, 2023
b184d39
Translated using Weblate (Italian)
francesco-ooops Jul 10, 2023
22d370a
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
119daf3
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
ac766cc
[UPD] README.rst
OCA-git-bot Sep 3, 2023
62aa8dd
Update translation files
weblate Oct 9, 2023
f428ac6
Translated using Weblate (Italian)
mymage Oct 30, 2023
da7f750
Translated using Weblate (Italian)
mymage Nov 6, 2023
fc00d8a
Translated using Weblate (Italian)
mymage Nov 6, 2023
eb37383
[IMP] product_assortment: pre-commit auto fixes
WorrapongOngsakul Mar 8, 2024
d9d57a8
[MIG]product_assortment: Migration to 17.0
WorrapongOngsakul Mar 8, 2024
d3830f2
[MIG]product_assortment: Migration to 17.0
WorrapongOngsakul Mar 8, 2024
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
119 changes: 119 additions & 0 deletions product_assortment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
==================
Product Assortment
==================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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/17.0/product_assortment
: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-17-0/product-attribute-17-0-product_assortment
: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=17.0
:alt: Try me on Runboat

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

This addon intends to manage product assortment. In Odoo you can only
define some filters defined by a domain but it can be sometimes really
complicated. With this addon you will be able to define a domain but
also add some products to include or to exclude through a allowed list
and a restricted list. This is done by overriding ir.capability but
without influencing its standard behaviour.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Enter the menu through Product Assortment Icon
2. Create a new filter where you can define your domain and add allowed
and restricted products

Changelog
=========

10.0.1.0.0 (2018-08-27)
-----------------------

- [10.0][ADD] product_assortment

12.0.1.0.0 (2019-06-03)
-----------------------

- [12.0][MIG] product_assortment

14.0.1.0.0 (2019-06-03)
-----------------------

- [14.0][MIG] product_assortment

16.0.1.0.0 (2022-09-15)
-----------------------

- [16.0][MIG] product_assortment

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_assortment%0Aversion:%2017.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

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

- Denis Roussel <denis.roussel@acsone.eu>
- Cédric Pigeon <cedric.pigeon@acsone.eu>
- Xavier Bouquiaux <xavier.bouquiaux@acsone.eu>
- `Tecnativa <https://www.tecnativa.com>`__:

- Carlos Roca
- Sergio Teruel

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/17.0/product_assortment>`_ 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_assortment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions product_assortment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2021 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Assortment",
"summary": """
Adds the ability to manage products assortment""",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"development_status": "Production/Stable",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"depends": ["base", "product"],
"data": ["views/product_assortment.xml", "views/res_partner_view.xml"],
"installable": True,
}
185 changes: 185 additions & 0 deletions product_assortment/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_assortment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-03-22 13:17+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "&gt;"
msgstr ""

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid ""
"<span attrs=\"{'invisible': [('record_count', '&lt;=', 1)]}\">\n"
" Products\n"
" </span>\n"
" <span attrs=\"{'invisible': "
"[('record_count', '&gt;', 1)]}\">\n"
" Product\n"
" </span>"
msgstr ""

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.view_partner_form
msgid "<span class=\"o_stat_text\">Product Assortments</span>"
msgstr "<span class=\"o_stat_text\">Assortiment de producte</span>"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__all_partner_ids
msgid "All Partner"
msgstr "Tots socis"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Allowed product domain"
msgstr ""

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__whitelist_product_ids
msgid "Allowed products"
msgstr ""

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__apply_black_list_product_domain
msgid "Apply restricted product domain"
msgstr ""

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Archived"
msgstr ""

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_search
msgid "Assortment Name"
msgstr "Nom de l'assortiment"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_search
msgid "Assortments"
msgstr "Assortiments"

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

#. module: product_assortment
#: model:ir.model,name:product_assortment.model_ir_filters
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Filters"
msgstr "Filtres"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__is_assortment
msgid "Is Assortment"
msgstr "És Assortiment"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__partner_ids
msgid "Partner"
msgstr "Soci"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__partner_domain
msgid "Partner Domain"
msgstr "Domini del soci"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Partner domain"
msgstr ""

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Partners to apply"
msgstr "Socis a aplicar"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_product_view_tree
msgid "Product"
msgstr "Producte"

#. module: product_assortment
#: model:ir.ui.menu,name:product_assortment.menu_product_assortments
msgid "Product Assortment"
msgstr "Assortiment de producte"

#. module: product_assortment
#: model:ir.actions.act_window,name:product_assortment.actions_product_assortment_view
msgid "Product assortment"
msgstr "Assortiment de producte"

#. module: product_assortment
#. odoo-python
#: code:addons/product_assortment/models/ir_filters.py:0
#, python-format
msgid "Products"
msgstr "Productes"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Products to exclude"
msgstr "Productes a excloure"

#. module: product_assortment
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Products to include"
msgstr "Productes a incloure"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__record_count
msgid "Record Count"
msgstr "Recompte de registres"

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__black_list_product_domain
#: model_terms:ir.ui.view,arch_db:product_assortment.product_assortment_view_form
msgid "Restricted product domain"
msgstr ""

#. module: product_assortment
#: model:ir.model.fields,field_description:product_assortment.field_ir_filters__blacklist_product_ids
msgid "Restricted products"
msgstr ""

#. module: product_assortment
#: model:ir.model.fields,help:product_assortment.field_ir_filters__partner_ids
msgid "This field allow to relate a partner to a domain of products"
msgstr "Aquest camp permet relacionar un soci amb un domini de productes"

#~ msgid "<span class=\"o_stat_text\">Products</span>"
#~ msgstr "<span class=\"o_stat_text\">Productes</span>"

#~ msgid "Blacklist Product"
#~ msgstr "Producte de la llista negra"

#~ msgid "Display Name"
#~ msgstr "Nom de visualització"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Última modificació el"

#~ msgid "Whitelist Product"
#~ msgstr "Producte de la llista blanca"

#~ msgid "Model"
#~ msgstr "Model"
Loading