Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9c9169e
[FIX] stock_picking_mass_action return backorder if any of pickings n…
Sep 24, 2019
69bacd5
[12.0][FIX] stock_picking_batch_extended
AdriaGForgeFlow Oct 22, 2019
f97f504
[MIG] stock_picking_batch_extended: Migration scripts
pedrobaeza Dec 10, 2019
4900ef3
[FIX] stock_picking_batch_extended: float_is_zero required parameters
carlosdauden Dec 18, 2019
a27881f
[IMP] stock_picking_batch_extended: UX improvements
carlosdauden Dec 19, 2019
06a1f30
[IMP] stock_picking_batch_extended: Add followers, attachments, chatt…
carlosdauden Feb 26, 2020
d3e8a8a
[IMP] stock_picking_batch_extended: Request confirmation to cancel pi…
sergio-teruel Oct 6, 2020
69a0ec6
[IMP] stock_picking_batch_extended: black, isort, prettier
pedrobaeza Dec 29, 2020
2cd0efc
[MIG] stock_picking_batch_extended: Migration to 13.0
sergio-teruel Dec 29, 2020
d2f4b79
[IMP] stock_picking_batch_extended: Add kanban view in batch action f…
sergio-teruel Apr 7, 2021
9a1a19f
[IMP] stock_picking_batch_extended: Add optional picking_count column…
carlosdauden Jul 28, 2021
752a1be
[IMP] stock_picking_batch_extended: Add confirm to validate and done …
victoralmau Sep 10, 2021
f63ece2
[IMP] stock_picking_batch_extended: black, isort, prettier
Dec 6, 2021
7e553a5
[MIG] [14.0] stock_picking_batch_extended: Migration to 14.0
Dec 9, 2021
b05795b
[IMP] add post-init hook to apply settings
Jan 5, 2020
f755d3f
[MIG] stock_picking_batch_extended: Migration to 15.0
cesar-tecnativa Jul 13, 2022
0a0e3e9
[IMP] stock_picking_batch_extended: Refactor. Odoo has improved batch…
sergio-teruel Oct 27, 2022
fab6edd
Translated using Weblate (Italian)
mymage Mar 23, 2023
f2d9ffd
[IMP] stock_picking_batch_extended: Display standard picking tree vie…
sergio-teruel Apr 19, 2023
9ae310e
[FIX] stock_picking_batch_extended: Administration settings required.…
carlosdauden Apr 19, 2023
7ffab8f
[IMP] stock_picking_batch_extended: Display batch picking in form view
sergio-teruel Apr 21, 2023
beb99c5
[FIX] stock_picking_batch_extended: New batch is created when existin…
carlosdauden May 8, 2023
c726875
stock_picking_batch_extended 15.0.2.2.1
OCA-git-bot May 10, 2023
e7f23c2
[FIX] stock_picking_batch_extended: An user without Administrator gro…
sergio-teruel May 11, 2023
167455a
Translated using Weblate (Italian)
francesco-ooops May 17, 2023
8d7b5be
[MIG] stock_picking_batch_extended: Migration to 16.0
RodrigoBM Aug 9, 2023
893251d
Translated using Weblate (Spanish)
Ivorra78 Sep 15, 2023
7772f00
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
aaf6a98
[FIX] stock_picking_batch_extended: correction of the url of the read…
RodrigoBM Oct 17, 2023
da3e20b
[REF] stock_picking_batch_extended: readme is changed for better comp…
RodrigoBM Oct 19, 2023
a1d42c9
[REF] stock_picking_batch_extended: Move settings option under Batch …
Shide Oct 19, 2023
4a6ac11
Translated using Weblate (Italian)
francesco-ooops Nov 2, 2023
da767b7
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 27, 2023
6ef0298
Translated using Weblate (Italian)
mymage Jan 25, 2024
358afaf
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
03d8062
Translated using Weblate (Italian)
mymage Jun 4, 2024
23c9446
[FIX] stock_picking_batch_extended: Printed batch report instead of p…
sergio-teruel Aug 30, 2024
c1422bc
[IMP] stock_picking_batch_extended: Open wave after creation
sergio-teruel Feb 14, 2024
4efbf3d
[IMP] stock_picking_batch_extended: Display operations and detailed o…
sergio-teruel Feb 22, 2024
0f43dfe
[IMP] stock_picking_batch_extended: batch relation in stock move
chienandalu Mar 19, 2024
41d1ff9
[IMP] stock_picking_batch_extended: pre-commit auto fixes
david-banon-tecnativa May 26, 2025
ed6dd0c
[MIG] stock_picking_batch_extended: Migration to version 17.0
david-banon-tecnativa May 27, 2025
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
208 changes: 208 additions & 0 deletions stock_picking_batch_extended/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
============================
Stock batch picking extended
============================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_batch_extended
: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-17-0/stock-logistics-workflow-17-0-stock_picking_batch_extended
: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=17.0
:alt: Try me on Runboat

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

This module:

Adds extra fields to the batch picking creation wizard Adds extra fields
and functionalities to the batch picking form.

**Table of contents**

.. contents::
:local:

Configuration
=============

In Inventory / Settings / Batch Picking it is possible to activate or
deactivate which approach for batch handling will be used per company.
By default after installation this option will be activated for all
companies.

|config_image|

.. |config_image| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_batch_extended/static/picking_batch_configuration_settings.png

Usage
=====

When you create a batch pick, the creation wizard will appear with the
new fields added.

|image1|

1. Name: Allows to rename the batch. But be careful, if this is done, it
overwrites the name that Odoo assigns to the batch by default.
2. Notes: Allows to add notes to the batch.
3. Allows you to group the batch by the fields of the model
stock_picking

Adds to the form view of batch picking:

**In "Draft" status:**

|image2|

1. Delete all delivery notes in the batch whose status is not done or
canceled.
2. Print pickings.
3. Smart button with counting and access to pickings.
4. Rename the batch if it is in draft status.
5. Date. On which the batch picking is to be processed.
6. Notes. Reflects the notes that have been entered from the wizard and
allows you to modify them.
7. Delete all delivery notes from the batch whose status is not done or
canceled.
8. Allows to add more fields to the list of pickings.

**"In progress" status:**

|image3|

1. Delete all pickings in the batch whose status is not done or
cancelled.
2. Print pickings.
3. Smart button with counting and access to pickings.
4. Date. On which the batch picking is to be processed. It can be
changed in this state.
5. Notes. Reflects the notes that have been entered from the wizard and
allows you to modify them.
6. Allows to add more fields to the list of pickings.

Note: If a batch is cancelled, it cancels all batch picks and sets the
batch statuses to cancel as well only if the user has set the OCA batch
validation approach in the inventory settings.

**In "Done" status:**

|image4|

1. Print pickings.
2. Smart button with counting and access to pickings.
3. Date. On which the batch picking is to be processed. Already it can’t
be modified in this state.
4. Notes. Reflects the notes that have been entered from the wizard and
allows you to modify them.

.. |image1| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_batch_extended/static/batch_wizard.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_batch_extended/static/batch_form_draft.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_batch_extended/static/batch_form_in_progress.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_batch_extended/static/batch_form_done.png

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_batch_extended%0Aversion:%2017.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
-------

* Camptocamp
* Tecnativa

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

**picking_dispatch**

- Peter Langenberg <peter.langenberg@bubbles-it.be>
- Rudolf Schnapka <rs@techno-flex.de>
- Matthieu Dietrich <matthieu.dietrich@camptocamp.com>
- Romain Deheele <romain.deheele@camptocamp.com>
- Leonardo Pistone <leonardo.pistone@camptocamp.com>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
- Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com>
- Cyril Gaudin <cyril.gaudin@camptocamp.com>
- Iryna Vyshnevska <i.vyshnevska@mobilunity.com>

**stock_batch_picking**

- `Camptocamp <https://www.camptocamp.com>`__:

- Cyril Gaudin
- Maksym Yankin

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

- Carlos Dauden
- Sergio Teruel
- César A. Sánchez
- David Bañón Gil

- `Trobz <https://trobz.com>`__:

- Son Ho <sonhd@trobz.com>

Other credits
-------------

The migration of this module from 13.0 to 14.0 was financially supported
by Camptocamp

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

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

|maintainer-gurneyalex| |maintainer-carlosdauden| |maintainer-i-vyshnevska|

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_batch_extended>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions stock_picking_batch_extended/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
from . import reports
from . import wizards
from .hooks import post_init_hook
30 changes: 30 additions & 0 deletions stock_picking_batch_extended/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2012-2014 Alexandre Fayolle, Camptocamp SA
# Copyright 2018-2020 Tecnativa - Carlos Dauden
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Stock batch picking extended",
"summary": "Allows manage a lot of pickings in batch",
"version": "17.0.1.0.0",
"author": "Camptocamp, " "Tecnativa, " "Odoo Community Association (OCA)",
"development_status": "Mature",
"maintainers": ["gurneyalex", "carlosdauden", "i-vyshnevska"],
"category": "Warehouse Management",
"depends": ["stock_picking_batch", "delivery"],
"website": "https://github.com/OCA/stock-logistics-workflow",
"data": [
"security/ir.model.access.csv",
"data/batch_picking_actions_server.xml",
"views/stock_batch_picking.xml",
"views/product_product.xml",
"views/stock_move_views.xml",
"views/stock_picking_views.xml",
"views/stock_warehouse.xml",
"views/res_config_settings_views.xml",
"reports/report_batch_picking.xml",
"wizards/stock_picking_to_batch_views.xml",
],
"installable": True,
"post_init_hook": "post_init_hook",
"license": "AGPL-3",
}
48 changes: 48 additions & 0 deletions stock_picking_batch_extended/data/batch_picking_actions_server.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Tecnativa - Carlos Dauden
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- Stock Batch Picking - Print Picking Operations -->
<record id="action_print_batch_picking_operations" model="ir.actions.server">
<field name="name">Print Picking Operations</field>
<field name="model_id" ref="stock_picking_batch.model_stock_picking_batch" />
<field
name="binding_model_id"
ref="stock_picking_batch.model_stock_picking_batch"
/>
<field name="state">code</field>
<field
name="code"
>pickings = records.mapped('picking_ids').filtered(lambda p: p.state != 'cancel')
action = env.ref('stock.action_report_picking').report_action(pickings)
</field>
</record>
<!-- Stock Batch Picking - Print Delivery Slip -->
<record id="action_print_batch_delivery_slip" model="ir.actions.server">
<field name="name">Print Delivery Slip</field>
<field name="model_id" ref="stock_picking_batch.model_stock_picking_batch" />
<field
name="binding_model_id"
ref="stock_picking_batch.model_stock_picking_batch"
/>
<field name="state">code</field>
<field
name="code"
>pickings = records.mapped('picking_ids').filtered(lambda p: p.state != 'cancel')
action = env.ref('stock.action_report_delivery').report_action(pickings)
</field>
</record>
<record model="ir.actions.server" id="action_stock_batch_picking_assign_all">
<field name="name">Reserve All</field>
<field name="model_id" ref="stock_picking_batch.model_stock_picking_batch" />
<field
name="binding_model_id"
ref="stock_picking_batch.model_stock_picking_batch"
/>
<field name="state">code</field>
<field name="code">
for record in records:
record.action_assign()
</field>
</record>
</odoo>
6 changes: 6 additions & 0 deletions stock_picking_batch_extended/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2019 Camptocamp - Iryna Vyshnevska
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).


def post_init_hook(env):
env["res.company"].search([]).write({"use_oca_batch_validation": True})
Loading
Loading