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

[18.0][MIG] stock_picking_report_undelivered_product: Migration to 18.0 #367

Open
wants to merge 13 commits into
base: 18.0
Choose a base branch
from
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
107 changes: 107 additions & 0 deletions stock_picking_report_undelivered_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
=========================================
Stock picking report undelivered products
=========================================

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

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

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

This module extends the functionality of stock module to allow to
display undelivered products in the delivery slip report.

You have three options to display lines:

- Display all undelivered product lines.
- Display only partially undelivered product lines.
- Display only completely undelivered product lines.

You can choose by partner and product if you want to display undelivered
products.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Go to *'Inventory > Configuration > Settings'*.
2. Select the option to display lines (All, only partially lines or
only completely lines).
3. Go to *'Sales > Orders > Customers'*.
4. Check "Display undelivered in picking" in a customer.
5. Go to *'Sales > Catalog > Products'*.
6. Check "Display undelivered in picking" in a product.
7. Go to *'Sales > Orders > Order'*.
8. Do a order for this customer with a product with the "Display
undelivered in picking" field checked.
9. Confirm the order.
10. Open the related picking and print the "Delivery slip".
11. Now you can view in report products that have not been sent.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-reporting/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/stock-logistics-reporting/issues/new?body=module:%20stock_picking_report_undelivered_product%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>`__:

- Sergio Teruel <[email protected]>
- Carlos Dauden <[email protected]>
- Juan Carlos Oñate <[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/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/18.0/stock_picking_report_undelivered_product>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions stock_picking_report_undelivered_product/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright 2020 Sergio Teruel - Tecnativa <[email protected]>
from . import models
20 changes: 20 additions & 0 deletions stock_picking_report_undelivered_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2020 Sergio Teruel - Tecnativa <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock picking report undelivered products",
"summary": "Display on picking report delivery slip undelivered products",
"version": "18.0.1.0.0",
"author": "Tecnativa,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-reporting",
"category": "Warehouse",
"license": "AGPL-3",
"depends": ["stock"],
"data": [
"views/product_views.xml",
"views/report_deliveryslip.xml",
"views/res_config_settings_views.xml",
"views/res_partner_view.xml",
],
"installable": True,
}
125 changes: 125 additions & 0 deletions stock_picking_report_undelivered_product/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_report_undelivered_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-18 22:21+0000\n"
"PO-Revision-Date: 2023-10-28 16:00+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Product</strong>"
msgstr "<strong>Producto</strong>"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Quantity</strong>"
msgstr "<strong>Cantidad</strong>"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Reference</strong>"
msgstr "<strong>Referencia</strong>"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Remaining products (not delivered yet)</strong>"
msgstr "<strong>Productos no enviados</strong>"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_res_company
msgid "Companies"
msgstr "Compañías"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustes de configuración"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_product_product__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_product_template__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_partner__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_users__display_undelivered_in_picking
msgid "Display Undelivered In Picking"
msgstr "Visualizar no entregado en el albarán"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__all
msgid "Display all undelivered product lines"
msgstr "Mostrar todas las líneas de productos no enviados en el albarán"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__completely_undelivered
msgid "Display only completely undelivered product lines"
msgstr ""
"Mostrar solo líneas de productos completamente no enviados en el albarán"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__partially_undelivered
msgid "Display only partially undelivered product lines"
msgstr ""
"Mostrar solo lineas de productos parcialmente no enviados en el albarán"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_company__undelivered_product_slip_report_method
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_config_settings__undelivered_product_slip_report_method
msgid "Method to display undelivered product lines in report picking"
msgstr "Método para mostrar los productos no enviados en el albarán"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr "Movimientos de Producto (Línea de Movimiento de Existencias)"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_product_template
msgid "Product Template"
msgstr "Plantilla de producto"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Report picking undelivered products"
msgstr "Productos no enviados en el albarán"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Select method to display undelivered product lines"
msgstr "Seleccione el método para mostrar líneas de productos no enviados"

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_stock_move__splitted_stock_move_orig_id
msgid "Splitted from"
msgstr "Dividido desde"

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de stock"

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Undelivered product lines in delivery slip report"
msgstr "Líneas de productos no enviados en el albarán"

#~ msgid "Display undelivered in picking"
#~ msgstr "Mostrar productos no enviados en el albarán"

#~ msgid "Is splitted"
#~ msgstr "Es dividido"
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_report_undelivered_product
#
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: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Product</strong>"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Quantity</strong>"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Reference</strong>"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.undeliverd_product
msgid "<strong>Remaining products (not delivered yet)</strong>"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_res_company
msgid "Companies"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_res_config_settings
msgid "Config Settings"
msgstr ""

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

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_product_product__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_product_template__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_partner__display_undelivered_in_picking
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_users__display_undelivered_in_picking
msgid "Display Undelivered In Picking"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__all
msgid "Display all undelivered product lines"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__completely_undelivered
msgid "Display only completely undelivered product lines"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields.selection,name:stock_picking_report_undelivered_product.selection__res_company__undelivered_product_slip_report_method__partially_undelivered
msgid "Display only partially undelivered product lines"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_company__undelivered_product_slip_report_method
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_res_config_settings__undelivered_product_slip_report_method
msgid "Method to display undelivered product lines in report picking"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_product_template
msgid "Product Template"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Report picking undelivered products"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Select method to display undelivered product lines"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model.fields,field_description:stock_picking_report_undelivered_product.field_stock_move__splitted_stock_move_orig_id
msgid "Splitted from"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model:ir.model,name:stock_picking_report_undelivered_product.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_picking_report_undelivered_product
#: model_terms:ir.ui.view,arch_db:stock_picking_report_undelivered_product.res_config_settings_view_form
msgid "Undelivered product lines in delivery slip report"
msgstr ""
4 changes: 4 additions & 0 deletions stock_picking_report_undelivered_product/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import product_template
from . import res_config_settings
from . import res_partner
from . import stock_move_line
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2020 Tecnativa - Sergio Teruel
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ProductTemplate(models.Model):
_inherit = "product.template"

display_undelivered_in_picking = fields.Boolean(default=True)
Loading
Loading