Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
91 changes: 91 additions & 0 deletions purchase_order_product_recommendation_secondary_unit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
====================================================
Purchase Order Product Recommendation Secondary Unit
====================================================

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

.. |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%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_product_recommendation_secondary_unit
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_order_product_recommendation_secondary_unit
: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/purchase-workflow&target_branch=18.0
:alt: Try me on Runboat

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

This module adds secondary unit to the product recommendation wizard.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Create a new purchase order.
2. Assign its supplier.
3. Press *Recommended Products* button.
4. Now you can set the quantities to order from the secondary unit if
it's available for that product.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/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/purchase-workflow/issues/new?body=module:%20purchase_order_product_recommendation_secondary_unit%0Aversion:%2018.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
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

- David Vidal
- Carlos Roca
- Pilar Vargas

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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_product_recommendation_secondary_unit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2019 David Vidal <david.vidal@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Purchase Order Product Recommendation Secondary Unit",
"summary": "Add secondary unit to recommend products wizard",
"version": "18.0.1.0.0",
"category": "Purchases",
"website": "https://github.com/OCA/purchase-workflow",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"purchase_order_product_recommendation",
"purchase_order_secondary_unit",
],
"data": ["wizards/purchase_order_recommendation_view.xml"],
}
50 changes: 50 additions & 0 deletions purchase_order_product_recommendation_secondary_unit/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_product_recommendation_secondary_unit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-27 12:50+0000\n"
"PO-Revision-Date: 2023-07-18 18:08+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \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.17\n"

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_id
msgid "Default secondary unit for purchases"
msgstr "Unidad secundaria por defecto para las compras"

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,help:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_id
msgid ""
"In order to set a value, please first add at least one record in 'Secondary "
"Unit of Measure'"
msgstr ""
"Para establecer un valor, añada primero al menos un registro en 'Unidad de "
"medida secundaria'"

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model,name:purchase_order_product_recommendation_secondary_unit.model_purchase_order_recommendation_line
msgid "Recommended product for current purchase order"
msgstr "Producto recomendado para el pedido de compra en curso"

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model,name:purchase_order_product_recommendation_secondary_unit.model_purchase_order_recommendation
msgid "Recommended products for current purchase order"
msgstr "Productos recomendados para el pedido de compra en curso"

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_qty
msgid "Secondary Qty"
msgstr "Ctd secundaria"

#~ msgid "Default unit purchase"
#~ msgstr "Ud. de compra"
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_product_recommendation_secondary_unit
#
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: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_id
msgid "Default secondary unit for purchases"
msgstr ""

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,help:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_id
msgid ""
"In order to set a value, please first add at least one record in 'Secondary "
"Unit of Measure'"
msgstr ""

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model,name:purchase_order_product_recommendation_secondary_unit.model_purchase_order_recommendation_line
msgid "Recommended product for current purchase order"
msgstr ""

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model,name:purchase_order_product_recommendation_secondary_unit.model_purchase_order_recommendation
msgid "Recommended products for current purchase order"
msgstr ""

#. module: purchase_order_product_recommendation_secondary_unit
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_secondary_unit.field_purchase_order_recommendation_line__secondary_uom_qty
msgid "Secondary Qty"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [Tecnativa](https://www.tecnativa.com):
- David Vidal
- Carlos Roca
- Pilar Vargas
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds secondary unit to the product recommendation wizard.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to:

1. Create a new purchase order.
2. Assign its supplier.
3. Press *Recommended Products* button.
4. Now you can set the quantities to order from the secondary unit if
it's available for that product.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading