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
6 changes: 6 additions & 0 deletions setup/stock_picking_move_line_no_print/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
116 changes: 116 additions & 0 deletions stock_picking_move_line_no_print/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
=========================================
Stock operations hidden in delivery slips
=========================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_picking_move_line_no_print
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_move_line_no_print
: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-workflow&target_branch=16.0
:alt: Try me on Runboat

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

This module allows to hide selected move lines in the delivery slip.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Use Cases / Context
===================

In some occasions, we don't want to disclose certain information that is
not relevant to the customer but is strategically important to the
business core.

Usage
=====

To hide operations from the delivery report:

- Go to a delivery picking.
- In the operations, click on the column selector to reveal the *Display
in report* column.
- Toggle it on or off depending on your will.
- Print the delivery slip: you won't see the hidden operations.

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

- An extra module will be made as a glue for sale_stock.

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

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

* Moduon

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

- David Vidal (`Moduon <https://www.moduon.team/>`__)
- Jairo Llopis (`Moduon <https://www.moduon.team/>`__)

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-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px
:target: https://github.com/rafaelbn
:alt: rafaelbn
.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
:target: https://github.com/chienandalu
:alt: chienandalu

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

|maintainer-rafaelbn| |maintainer-chienandalu|

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_picking_move_line_no_print>`_ 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 stock_picking_move_line_no_print/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions stock_picking_move_line_no_print/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)
{
"name": "Stock operations hidden in delivery slips",
"summary": "Hide operations in delivery slips",
"version": "16.0.1.0.0",
"development_status": "Alpha",
"category": "Inventory/Delivery",
"website": "https://github.com/OCA/stock-logistics-workflow",
"author": "Moduon, Odoo Community Association (OCA)",
"maintainers": ["rafaelbn", "chienandalu"],
"license": "LGPL-3",
"depends": [
"stock",
],
"data": [
"views/stock_move_views.xml",
"views/stock_picking_views.xml",
"views/report_delivery.xml",
],
}
2 changes: 2 additions & 0 deletions stock_picking_move_line_no_print/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import stock_move
from . import stock_move_line
11 changes: 11 additions & 0 deletions stock_picking_move_line_no_print/models/stock_move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2025 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)
from odoo import fields, models


class StockMove(models.Model):
_inherit = "stock.move"

display_in_report = fields.Boolean(
default=True, help="Whether to show it or not to customers in delivery slips"
)
9 changes: 9 additions & 0 deletions stock_picking_move_line_no_print/models/stock_move_line.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2025 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)
from odoo import fields, models


class StockMoveLine(models.Model):
_inherit = "stock.move.line"

display_in_report = fields.Boolean(related="move_id.display_in_report")
2 changes: 2 additions & 0 deletions stock_picking_move_line_no_print/readme/CONTEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In some occasions, we don't want to disclose certain information that is not relevant to
the customer but is strategically important to the business core.
2 changes: 2 additions & 0 deletions stock_picking_move_line_no_print/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- David Vidal ([Moduon](https://www.moduon.team/))
- Jairo Llopis ([Moduon](https://www.moduon.team/))
1 change: 1 addition & 0 deletions stock_picking_move_line_no_print/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows to hide selected move lines in the delivery slip.
1 change: 1 addition & 0 deletions stock_picking_move_line_no_print/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- An extra module will be made as a glue for sale_stock.
6 changes: 6 additions & 0 deletions stock_picking_move_line_no_print/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To hide operations from the delivery report:

- Go to a delivery picking.
- In the operations, click on the column selector to reveal the *Display in report* column.
- Toggle it on or off depending on your will.
- Print the delivery slip: you won't see the hidden operations.
Loading
Loading