Skip to content

Commit

Permalink
Merge PR #1512 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Mar 11, 2024
2 parents e8d0b26 + 1980650 commit b8fe68c
Show file tree
Hide file tree
Showing 20 changed files with 1,281 additions and 0 deletions.
115 changes: 115 additions & 0 deletions base_product_mass_addition/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
==========================
Base Product Mass Addition
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0ee726c2fe9ffdca69a717125257afb030860b637273b0e3ec6ffb04621cd4bf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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:

- ``sale_quick`` (https://github.com/OCA/sale-workflow)
- ``purchase_quick`` (https://github.com/OCA/purchase-workflow)
- ``stock_picking_quick`` (https://github.com/OCA/stock-logistics-workflow)

**Table of contents**

.. contents::
:local:

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
* GRAP

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]>

* GRAP

* Sylvain LE GAL (https://twitter.com/legalsylvain)

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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

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
16 changes: 16 additions & 0 deletions base_product_mass_addition/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# © 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, GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"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

0 comments on commit b8fe68c

Please sign in to comment.