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] MIG base_product_mass_addition #1512

Merged
merged 50 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
4d0a98c
[ADD] module base_product_mass_addition
Mar 12, 2019
0e1c2b0
[IMP] do not depend on arbitrary view
Mar 19, 2019
f89db59
[IMP] make implementations intercompatible
Mar 19, 2019
1239d58
IMP ui and refactor action
bealdav Mar 27, 2019
ff975b1
[FIX] Remove non model-agnostic filter
Mar 28, 2019
7b1e6bf
[UPD] README.rst
OCA-git-bot Mar 28, 2019
1792526
[UPD] Update base_product_mass_addition.pot
oca-travis Mar 28, 2019
2c011b3
[ADD] icon.png
OCA-git-bot Apr 3, 2019
9119db2
[UPD] README.rst
OCA-git-bot Jul 29, 2019
a530d81
[IMP] base_product_mass_addition: black, isort
phuctranfxvn Feb 26, 2020
7a7c6d6
[MIG] base_product_mass_addition: Migration to 13.0
phuctranfxvn Feb 26, 2020
146767f
[IMP] base_product_mass_addition: black, isort, prettier
Dec 17, 2020
4bef9d2
[MIG] base_product_mass_addition: Migration to 14.0
Dec 17, 2020
e222514
[IMP] optionnaly use onchange_helper
Dec 17, 2020
5faf9e8
[IMP] depend on onchange_helper
Jan 14, 2021
fd069d1
[UPD] Update base_product_mass_addition.pot
oca-travis May 9, 2021
94590cb
[UPD] README.rst
OCA-git-bot May 9, 2021
48d7790
[IMP] Add UoM functionality, simplify some code
kevinkhao Mar 15, 2021
732bbff
[IMP] Remove purchase-specific element in function name
kevinkhao Mar 24, 2021
d15d91e
[IMP] Add access rights hack so that users that don't have write acce…
kevinkhao Apr 1, 2021
68987b7
[IMP] Remove useless _sync_quick_lines() intermediary
kevinkhao Apr 15, 2021
2a07d84
[IMP] use related on quick_uom_category_id
kevinkhao Apr 15, 2021
656e395
[REF] Remove permissions for users that cannot edit product.product. …
kevinkhao Apr 15, 2021
f89a086
[REF] Remove dead code
kevinkhao Apr 19, 2021
58193d9
[REV] Revert rename of _inverse_set_process_qty
kevinkhao Jun 8, 2021
e58acab
[UPD] Update base_product_mass_addition.pot
oca-travis Jun 14, 2021
5fde813
[UPD] README.rst
OCA-git-bot Jun 14, 2021
15d24a9
base_product_mass_addition 14.0.1.1.0
OCA-git-bot Jun 14, 2021
d698324
Added translation using Weblate (French)
Kev-Roche Nov 29, 2021
bfb075b
Translated using Weblate (French)
Kev-Roche Nov 29, 2021
2463be5
Translated using Weblate (French)
Kev-Roche Nov 30, 2021
1c55620
[IMP] base_product_mass_addition: avoid writing on product access fields
ivantodorovich Apr 26, 2022
f4b9e35
[IMP] base_product_mass_addition: Add unit tests
ivantodorovich Apr 26, 2022
fd575ef
[UPD] README.rst
OCA-git-bot Feb 20, 2023
45ed8cb
base_product_mass_addition 14.0.1.2.0
OCA-git-bot Feb 20, 2023
878474e
[MIG]base_product_mass_addition: Migration to 15.0
Feb 28, 2023
1196609
[UPD] Update base_product_mass_addition.pot
Apr 5, 2023
1c8c5dc
[UPD] README.rst
OCA-git-bot Apr 5, 2023
56bf287
Update translation files
weblate Apr 5, 2023
058d3c3
Added translation using Weblate (Spanish)
luis-ron Apr 12, 2023
9d8a0fa
Translated using Weblate (Spanish)
luis-ron Apr 12, 2023
9d59eb3
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4e83620
Added translation using Weblate (Italian)
mymage Oct 31, 2023
65a367f
Translated using Weblate (Italian)
mymage Nov 1, 2023
3c1e85d
[IMP] base_product_mass_addition: pre-commit execution
legalsylvain Feb 9, 2024
f5511b7
[MIG] base_product_mass_addition: Migration to 16.0
legalsylvain Feb 9, 2024
861c56a
[FIX] base_product_mass_addition : compute uom_category and uom_id in…
legalsylvain Feb 9, 2024
c1a9bb4
[IMP] Adapt modified function to new ORM
legalsylvain Feb 9, 2024
745a0a7
[REF] base_product_mass_addition : update documentation and remove un…
legalsylvain Mar 8, 2024
1980650
[REF] Add GRAP as coauthor, and adopt a module
legalsylvain 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
105 changes: 105 additions & 0 deletions base_product_mass_addition/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
==========================
Base Product Mass Addition
==========================

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

.. |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/base_product_mass_addition
: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-base_product_mass_addition
: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 module is abstract and can't be used as is.

It provides functions in order to show a product grid from another model.
You can then add products and quantities in batch to the model you are working with.

It is useful when you don't want to add every product line possible to your object.
From the product grid you only have to set the quantity for each product.

Example implementations:
- purchase_quick
- stock_picking_quick

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

Adding new implementations would be great:
on sale.order or on stock.picking.batch for instance.

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:%20base_product_mass_addition%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
~~~~~~~

* Akretion

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

Akretion

* Sébastien BEAU <[email protected]>
* Mourad EL HADJ MIMOUNE <[email protected]>
* Pierrick Brun <[email protected]>
* David Béal <[email protected]>
* Kevin Khao <[email protected]>
* `Camptocamp <https://www.camptocamp.com>`_

* Iván Todorovich <[email protected]>

* `Sygel <https://www.sygel.es>`_:

* Ángel García de la Chica Herrera <[email protected]>

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/base_product_mass_addition>`_ 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 base_product_mass_addition/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions base_product_mass_addition/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# © 2019 Today Akretion
# @author Pierrick Brun <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Base Product Mass Addition",
"version": "16.0.1.0.0",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"license": "AGPL-3",
"category": "Product",
"depends": ["stock", "onchange_helper"],
"data": ["views/product_view.xml"],
"installable": True,
}
70 changes: 70 additions & 0 deletions base_product_mass_addition/i18n/base_product_mass_addition.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_product_mass_addition
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid "Category"
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid ""
"Conversion between Units of Measure can only occur if they belong to the "
"same category. The conversion will be made based on the ratios."
msgstr ""

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "Filter products in current parent"
msgstr ""

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "In current parent"
msgstr ""

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_product_tree_view
msgid "Open"
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_product
msgid "Product"
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__qty_to_process
msgid "Qty To Process"
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_id
msgid "Quick Uom"
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__qty_to_process
msgid ""
"Set this quantity to create a new line for this product or update the "
"existing one."
msgstr ""

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_mass_addition
msgid ""
"inherit this to add a mass product addition function to "
"your model"
msgstr ""
79 changes: 79 additions & 0 deletions base_product_mass_addition/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_product_mass_addition
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-04-12 16:32+0000\n"
"Last-Translator: luis-ron <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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.14.1\n"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid "Category"
msgstr "Categoría"

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid ""
"Conversion between Units of Measure can only occur if they belong to the "
"same category. The conversion will be made based on the ratios."
msgstr ""
"La conversión entre Unidades de Medida sólo puede ocurrir si pertenecen a la "
"misma categoría. La conversión se realizará en función de los ratios."

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "Filter products in current parent"
msgstr "Filtrar productos en padre actual"

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "In current parent"
msgstr "En padre actual"

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_product_tree_view
msgid "Open"
msgstr "Abrir"

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_product
msgid "Product"
msgstr "Producto"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__qty_to_process
msgid "Qty To Process"
msgstr "Cantidad a procesar"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_id
msgid "Quick Uom"
msgstr "UdM rápida"

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__qty_to_process
msgid ""
"Set this quantity to create a new line for this product or update the "
"existing one."
msgstr ""
"Establezca esta cantidad para crear una nueva línea para este producto o "
"actualizar la existente."

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_mass_addition
msgid ""
"inherit this to add a mass product addition function to "
"your model"
msgstr ""
"hereda esto para añadir una función de adición de producto "
"masiva a tu modelo"
85 changes: 85 additions & 0 deletions base_product_mass_addition/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_product_mass_addition
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-11-30 16:36+0000\n"
"Last-Translator: Kévin Roche <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\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: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid "Category"
msgstr "Catégorie"

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__quick_uom_category_id
msgid ""
"Conversion between Units of Measure can only occur if they belong to the "
"same category. The conversion will be made based on the ratios."
msgstr ""
"Seule une conversion entre Unités de Mesure de la même catégorie est "
"possible. La conversion se base sur les ratios."

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "Filter products in current parent"
msgstr ""

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_search_form_view
msgid "In current parent"
msgstr ""

#. module: base_product_mass_addition
#: model_terms:ir.ui.view,arch_db:base_product_mass_addition.product_product_tree_view
msgid "Open"
msgstr "Ouvrir"

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_product
msgid "Product"
msgstr "Produit"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__qty_to_process
msgid "Qty To Process"
msgstr "Qté à Traiter"

#. module: base_product_mass_addition
#: model:ir.model.fields,field_description:base_product_mass_addition.field_product_product__quick_uom_id
msgid "Quick Uom"
msgstr "UdM rapide"

#. module: base_product_mass_addition
#: model:ir.model.fields,help:base_product_mass_addition.field_product_product__qty_to_process
msgid ""
"Set this quantity to create a new line for this product or update the "
"existing one."
msgstr ""
"Une quantité est nécessaire pour créer ou modifier une ligne de commande."

#. module: base_product_mass_addition
#: model:ir.model,name:base_product_mass_addition.model_product_mass_addition
msgid ""
"inherit this to add a mass product addition function to "
"your model"
msgstr ""

#~ msgid "Display Name"
#~ msgstr "Nom"

#~ msgid "Last Modified on"
#~ msgstr "Dernière Modification"

#~ msgid "Products"
#~ msgstr "Produits"
Loading
Loading