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_batch_extended: Migration to 18.0 #1855

Open
wants to merge 52 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
fd7b27d
[FIX] stock_picking_mass_action return backorder if any of pickings n…
Sep 24, 2019
39f72d9
[12.0][FIX] stock_picking_batch_extended
AdriaGForgeFlow Oct 22, 2019
5b6ff38
[MIG] stock_picking_batch_extended: Migration scripts
pedrobaeza Dec 10, 2019
460caec
[FIX] stock_picking_batch_extended: float_is_zero required parameters
carlosdauden Dec 18, 2019
f622b99
[IMP] stock_picking_batch_extended: UX improvements
carlosdauden Dec 19, 2019
85d6a8b
[IMP] stock_picking_batch_extended: Add followers, attachments, chatt…
carlosdauden Feb 26, 2020
231490c
[IMP] stock_picking_batch_extended: Request confirmation to cancel pi…
sergio-teruel Oct 6, 2020
41e138a
[IMP] stock_picking_batch_extended: black, isort, prettier
pedrobaeza Dec 29, 2020
d8a696f
[MIG] stock_picking_batch_extended: Migration to 13.0
sergio-teruel Dec 29, 2020
68c8209
[IMP] stock_picking_batch_extended: Add kanban view in batch action f…
sergio-teruel Apr 7, 2021
b83a6c6
stock_picking_batch_extended 13.0.1.1.0
OCA-git-bot Apr 9, 2021
91fa013
[IMP] stock_picking_batch_extended: Add optional picking_count column…
carlosdauden Jul 28, 2021
f77b2ba
stock_picking_batch_extended 13.0.1.2.0
OCA-git-bot Jul 30, 2021
670fe69
[IMP] stock_picking_batch_extended: Add confirm to validate and done …
victoralmau Sep 10, 2021
6593163
stock_picking_batch_extended 13.0.1.3.0
OCA-git-bot Sep 10, 2021
6741982
[IMP] stock_picking_batch_extended: black, isort, prettier
Dec 6, 2021
b045dae
[MIG] [14.0] stock_picking_batch_extended: Migration to 14.0
Dec 9, 2021
9e660df
[IMP] add post-init hook to apply settings
Jan 5, 2020
b328d10
[MIG] stock_picking_batch_extended: Migration to 15.0
cesar-tecnativa Jul 13, 2022
0960f0d
[IMP] stock_picking_batch_extended: Refactor. Odoo has improved batch…
sergio-teruel Oct 27, 2022
b81ea70
[UPD] Update stock_picking_batch_extended.pot
Dec 14, 2022
e6ff417
Translated using Weblate (Italian)
mymage Mar 23, 2023
90d43be
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
a7a323a
[IMP] stock_picking_batch_extended: Display standard picking tree vie…
sergio-teruel Apr 19, 2023
2b4384e
[FIX] stock_picking_batch_extended: Administration settings required.…
carlosdauden Apr 19, 2023
45ee5d8
stock_picking_batch_extended 15.0.2.0.1
OCA-git-bot Apr 19, 2023
ecb2a45
stock_picking_batch_extended 15.0.2.1.0
OCA-git-bot Apr 19, 2023
e49958a
[IMP] stock_picking_batch_extended: Display batch picking in form view
sergio-teruel Apr 21, 2023
e2cc5af
stock_picking_batch_extended 15.0.2.2.0
OCA-git-bot Apr 24, 2023
dc9fc57
[FIX] stock_picking_batch_extended: New batch is created when existin…
carlosdauden May 8, 2023
0b1caa1
stock_picking_batch_extended 15.0.2.2.1
OCA-git-bot May 10, 2023
c7f0587
[FIX] stock_picking_batch_extended: An user without Administrator gro…
sergio-teruel May 11, 2023
ec1ac65
Translated using Weblate (Italian)
francesco-ooops May 17, 2023
465c349
stock_picking_batch_extended 15.0.2.3.0
OCA-git-bot May 25, 2023
650f479
[MIG] stock_picking_batch_extended: Migration to 16.0
RodrigoBM Aug 9, 2023
c4f8dc7
stock_picking_batch_extended 16.0.1.0.1
OCA-git-bot Sep 8, 2023
1ec7f8f
Translated using Weblate (Spanish)
Ivorra78 Sep 15, 2023
cc33752
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
e21adcc
[FIX] stock_picking_batch_extended: correction of the url of the read…
RodrigoBM Oct 17, 2023
794b80d
[REF] stock_picking_batch_extended: readme is changed for better comp…
RodrigoBM Oct 19, 2023
c450435
[REF] stock_picking_batch_extended: Move settings option under Batch …
Shide Oct 19, 2023
ed5bf48
Translated using Weblate (Italian)
francesco-ooops Nov 2, 2023
e6cd55b
Translated using Weblate (Italian)
mymage Nov 21, 2023
d5596ec
Translated using Weblate (Italian)
mymage Dec 24, 2023
505adfa
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 27, 2023
b4417df
Translated using Weblate (Italian)
mymage Jan 25, 2024
4394b81
Translated using Weblate (Italian)
mymage Feb 16, 2024
e546377
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
19a1a5b
Translated using Weblate (Italian)
mymage Jun 4, 2024
208da54
[FIX] stock_picking_batch_extended: Printed batch report instead of p…
sergio-teruel Aug 30, 2024
a3a7973
[IMP] stock_picking_batch_extended: pre-commit auto fixes
yankinmax Jan 27, 2025
3d36345
[MIG] stock_picking_batch_extended: Migration to 18.0
yankinmax Jan 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
207 changes: 207 additions & 0 deletions stock_picking_batch_extended/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
============================
Stock batch picking extended
============================

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

.. |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/18.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-18-0/stock-logistics-workflow-18-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=18.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.

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/18.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/18.0/stock_picking_batch_extended/static/batch_wizard.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/18.0/stock_picking_batch_extended/static/batch_form_draft.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/18.0/stock_picking_batch_extended/static/batch_form_in_progress.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/18.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:%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
-------

* Camptocamp
* Tecnativa

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

**picking_dispatch**

- Peter Langenberg <[email protected]>
- Rudolf Schnapka <[email protected]>
- Matthieu Dietrich <[email protected]>
- Romain Deheele <[email protected]>
- Leonardo Pistone <[email protected]>
- Guewen Baconnier <[email protected]>
- Yannick Vaucher <[email protected]>
- Alexandre Fayolle <[email protected]>
- Joël Grand-Guillaume <[email protected]>
- Cyril Gaudin <[email protected]>
- Iryna Vyshnevska <[email protected]>

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

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

- Son Ho <[email protected]>

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/18.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 report
from . import wizard
from .hooks import post_init_hook
29 changes: 29 additions & 0 deletions stock_picking_batch_extended/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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": "18.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", "stock_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/report_batch_picking.xml",
"views/stock_picking_views.xml",
"views/stock_warehouse.xml",
"views/res_config_settings_views.xml",
"wizard/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