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_mass_action: Migration to 18.0 #1856

Open
wants to merge 26 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
26 commits
Select commit Hold shift + click to select a range
4670dbc
[PORT] from V7, stock_picking_mass_assign renamed into stock_picking_…
legalsylvain Sep 21, 2016
7a65b9c
[MIG] stock_picking_mass_action: migration to 10.0
cubells Mar 6, 2018
4248f4d
[MIG] 11.0 stock_picking_mass_action
Oct 16, 2018
9f0c958
[IMP] stock_picking_mass_action: Fix and improve transfer method
carlosdauden May 14, 2019
175cf05
[MIG] stock_picking_mass_action: Migration to 12.0
carlosdauden Jun 7, 2019
f9fb79a
[FIX] stock_picking_mass_action return backorder if any of pickings n…
Sep 24, 2019
bad50ce
fixup! [FIX] stock_picking_mass_action return backorder if any of pic…
Oct 4, 2019
8d7778e
[IMP] stock_picking_mass_action: Remove force availability in readme
carlosdauden Dec 4, 2019
b38f38a
[IMP] stock_picking_mass_action: black, isort
sergio-teruel Jan 25, 2020
0842f66
[MIG] stock_picking_mass_action: Migration to v13.0
sergio-teruel Jan 25, 2020
16f8d82
[14.0][MIG] - stock_picking_mass_action
sbejaoui Jun 2, 2021
f98e7bd
Fix button_validate action
Mar 2, 2022
bb94c30
[MIG] stock_picking_mass_action: Migration to 15.0
theangryangel Apr 1, 2022
c29aee3
[FIX] stock_picking_mass_action: Change SavepointCase to TransactionCase
victoralmau Nov 29, 2022
3099fe9
[MIG] stock_picking_mass_action: Migration to 16.0
pausanchezqubiq Jun 7, 2023
2a3fbf5
[MIG] stock_picking_mass_action: Continue migration to v16
carolinafernandez-tecnativa Nov 13, 2023
ac6c6db
[UPD] Update stock_picking_mass_action.pot
Dec 4, 2023
d28e331
Translated using Weblate (Spanish)
FranciscoFactorLibre Dec 4, 2023
68dd08a
Translated using Weblate (Italian)
mymage Dec 5, 2023
2f098cf
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 27, 2023
eb4bfe8
Translated using Weblate (Italian)
mymage Jan 5, 2024
9097082
[IMP] stock_picking_mass_action: Added the possibility to indicate to…
RodrigoBM Jan 24, 2024
fd2bf5c
Translated using Weblate (Italian)
mymage Apr 3, 2024
ac7275c
[IMP] stock_picking_mass_action: test performance improvement
josep-tecnativa Oct 25, 2023
97ffbae
[IMP] stock_picking_mass_action: pre-commit auto fixes
yankinmax Jan 28, 2025
7166d76
[MIG] stock_picking_mass_action: Migration to 18.0
yankinmax Jan 29, 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
125 changes: 125 additions & 0 deletions stock_picking_mass_action/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
=========================
Stock Picking Mass Action
=========================

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

.. |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--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_mass_action
: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_mass_action
: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|

Facilities to check the availability of stock picking list:

- A wizard which allows on multiple stock pickings at a time to:

- Confirm draft picking;
- check availability of picking;
- transfer picking;

- A scheduled action to check availability of all the stock picking. It
is not active by default.

This may be necessary for those who want to check the availability
more often than running the procurement scheduler.

**Table of contents**

.. contents::
:local:

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

- The scheduled action by default search picking with state is
confirmed and picking_type_code is outgoing. But you can change it by
adding the following param domain in method check_assign_all():

- domain: correct domain to search pickings you want to check
assign all, state is confirmed apply by default in all cases.

.. code:: python

# Example 1: search without params
model.check_assign_all()
# Example 2: search picking with picking_type_code is outgoing and incoming and state is confirmed
model.check_assign_all(domain=[("picking_type_code", "in", ["outgoing", "incoming"])])

Usage
=====

After selecting several pickings in tree view there are options for: \*
Mark as Todo \* Check Availability \* Force Availability \* Transfer

Select additional options in the wizard if needed, after "Apply" the
actions will be applied to all selected pickings

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_mass_action%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
* GRAP
* Tecnativa

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

- Guewen Baconnier <[email protected]>
- Sylvain Le Gal (https://twitter.com/legalsylvain)
- `Tecnativa <https://www.tecnativa.com>`__:

- Vicent Cubells
- Carlos Dauden
- Sergio Teruel
- Carolina Fernandez

- Pau Sanchez ([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-workflow <https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_mass_action>`_ project on GitHub.

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

from . import models
from . import wizard
18 changes: 18 additions & 0 deletions stock_picking_mass_action/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2014 Camptocamp SA - Guewen Baconnier
# Copyright 2018 Tecnativa - Vicent Cubells
# Copyright 2019 Tecnativa - Carlos Dauden
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Stock Picking Mass Action",
"version": "18.0.1.0.0",
"author": "Camptocamp, GRAP, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"license": "AGPL-3",
"category": "Warehouse Management",
"depends": ["stock_account"],
"data": [
"security/ir.model.access.csv",
"wizard/mass_action_view.xml",
"data/ir_cron.xml",
],
}
12 changes: 12 additions & 0 deletions stock_picking_mass_action/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="ir_cron_check_assign_all" model="ir.cron">
<field name="name">Check Availability of Stock Picking</field>
<field name="interval_number">1</field>
<field name="interval_type">hours</field>
<field eval="False" name="active" />
<field name="model_id" ref="stock.model_stock_picking" />
<field name="state">code</field>
<field name="code">model.check_assign_all()</field>
</record>
</odoo>
136 changes: 136 additions & 0 deletions stock_picking_mass_action/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_mass_action
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-18 01:44+0000\n"
"PO-Revision-Date: 2016-11-18 01:44+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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"

#. module: stock_picking_mass_action
#: model_terms:ir.ui.view,arch_db:stock_picking_mass_action.view_stock_picking_mass_action_form
msgid "Apply"
msgstr "ማመልከት"

#. module: stock_picking_mass_action
#: model_terms:ir.ui.view,arch_db:stock_picking_mass_action.view_stock_picking_mass_action_form
msgid "Cancel"
msgstr "Cancelar"

#. module: stock_picking_mass_action
#: model:ir.actions.act_window,name:stock_picking_mass_action.action_check_availability
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__check_availability
msgid "Check Availability"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.actions.server,name:stock_picking_mass_action.ir_cron_check_assign_all_ir_actions_server
#: model:ir.cron,cron_name:stock_picking_mass_action.ir_cron_check_assign_all
#: model:ir.cron,name:stock_picking_mass_action.ir_cron_check_assign_all
msgid "Check Availability of Stock Picking"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__create_date
msgid "Created on"
msgstr "Creado en"

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__display_name
msgid "Display Name"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__id
msgid "ID"
msgstr "ID"

#. module: stock_picking_mass_action
#: code:addons/stock_picking_mass_action/models/stock_picking.py:0
#, python-format
msgid "Immediate Transfer?"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: stock_picking_mass_action
#: model:ir.actions.act_window,name:stock_picking_mass_action.action_confirm
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__confirm
msgid "Mark as Todo"
msgstr ""

#. module: stock_picking_mass_action
#: model_terms:ir.ui.view,arch_db:stock_picking_mass_action.view_stock_picking_mass_action_form
msgid "Mass Action for the selected stock picking"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__picking_ids
msgid "Pickings"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model,name:stock_picking_mass_action.model_stock_picking_mass_action
msgid "Stock Picking Mass Action"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.actions.act_window,name:stock_picking_mass_action.action_transfer
#: model:ir.model,name:stock_picking_mass_action.model_stock_picking
#: model:ir.model.fields,field_description:stock_picking_mass_action.field_stock_picking_mass_action__transfer
msgid "Transfer"
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,help:stock_picking_mass_action.field_stock_picking_mass_action__check_availability
msgid ""
"check this box if you want to check the availability of the selected "
"Pickings."
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,help:stock_picking_mass_action.field_stock_picking_mass_action__confirm
msgid "check this box if you want to mark as Todo the selected Pickings."
msgstr ""

#. module: stock_picking_mass_action
#: model:ir.model.fields,help:stock_picking_mass_action.field_stock_picking_mass_action__transfer
msgid ""
"check this box if you want to transfer all the selected pickings.\n"
" You'll not have the possibility to realize a partial transfer.\n"
" If you want to do that, please do it manually on the picking form."
msgstr ""

#. module: stock_picking_mass_action
#: model_terms:ir.ui.view,arch_db:stock_picking_mass_action.view_stock_picking_mass_action_form
msgid "or"
msgstr "ወይም"
Loading
Loading