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_exception #2216

Open
wants to merge 75 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
75 commits
Select commit Hold shift + click to select a range
9d75267
[MIG] stock_quant_manual_assign: Migration to 10.0
fanha99 Jul 26, 2017
2890f09
11.0-mig-stock_quant_manual_assign
fanha99 Dec 28, 2017
2c74e44
[MIG] stock_quant_manual_assign: Migration to 11.0
cubells Nov 12, 2018
d68b278
[IMP] stock_quant_manual_assign:
pedrobaeza Nov 20, 2018
13bd7a6
[FIX] stock_quant_manual_assign: Related fields are not filled if not…
pedrobaeza Nov 21, 2018
6162e23
[IMP] stock_quant_manual_assign: Add owner to criteria + reorder fiel…
pedrobaeza Jan 20, 2019
3053953
[UPD] Update stock_quant_manual_assign.pot
oca-travis Jan 20, 2019
300d3c0
[12.0][MIG] stock_quant_manual_assign
LoisRForgeFlow Jul 11, 2019
fb813f2
[IMP] stock_quant_manual_assign: black, isort, prettier
digitalsatori Apr 1, 2020
5b8dcba
[MIG] stock_quant_manual_assign: Migration to 13.0
digitalsatori Apr 1, 2020
cf28404
[UPD] Update stock_quant_manual_assign.pot
oca-travis Sep 4, 2020
95adf05
[UPD] README.rst
OCA-git-bot Sep 4, 2020
e4e97aa
Update translation files
oca-transbot Sep 8, 2020
be4cd36
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
26c6d82
[UPD] README.rst
OCA-git-bot Oct 1, 2020
d6124ff
Update translation files
oca-transbot Nov 22, 2020
098f715
[MIG] stock_quant_manual_assign: Migration to 14.0
fanha99 Dec 4, 2020
4592f3d
[UPD] Update stock_quant_manual_assign.pot
oca-travis Jun 10, 2021
880f6a2
[UPD] README.rst
OCA-git-bot Jun 10, 2021
2554a27
[IMP] stock_quant_manual_assign: make qty_done fill optional
yostashiro Jan 13, 2021
6c7e4e2
[IMP] stock_quant_manual_assign: add prepare lines method
LoisRForgeFlow Jul 27, 2021
c847f1e
[UPD] Update stock_quant_manual_assign.pot
oca-travis Jul 27, 2021
1868882
stock_quant_manual_assign 14.0.1.1.0
OCA-git-bot Jul 27, 2021
550f646
Update translation files
oca-transbot Jul 27, 2021
0eb157e
Translated using Weblate (French)
remi-filament Sep 18, 2021
9bbe72e
[MIG] stock_quant_manual_assign: Migration to 15.0
JasminSForgeFlow Jan 19, 2022
3b2019d
[UPD] Update stock_quant_manual_assign.pot
Jan 19, 2022
9085ed6
[UPD] README.rst
OCA-git-bot Jan 19, 2022
2bb1e9d
[IMP] stock_quant_manual_assign: make several columns sortable in wizard
MiquelRForgeFlow Jun 17, 2022
2d8770d
stock_quant_manual_assign 15.0.1.1.0
OCA-git-bot Jun 21, 2022
d3ab20f
[FIX] stock_quant_manual_assign: fix access error issues
LoisRForgeFlow Jul 12, 2022
9549773
stock_quant_manual_assign 15.0.1.1.1
OCA-git-bot Jul 12, 2022
5d01eb2
[IMP] stock_quant_manual_assign: make quant search flexible
yostashiro Jan 27, 2021
d0274c3
stock_quant_manual_assign 15.0.1.2.0
OCA-git-bot Oct 7, 2022
00d2559
[MIG] stock_quant_manual_assign to v16
alexis-via Oct 29, 2022
6bef9f6
[IMP] stock_quant_manual_assign: use toggle widget on selected field
alexis-via Oct 29, 2022
e665655
[FIX] stock_quant_manual_assign: Bug #1527
yankinmax May 16, 2023
49fb63d
[FIX] stock_quant_manual_assign: #1460 set Others reserved as readonly
yankinmax May 16, 2023
d93b55c
[IMP] stock_quant_manual_assign: Refactor quants_lines creation
yankinmax May 16, 2023
c1a2c17
[UPD] Update stock_quant_manual_assign.pot
May 18, 2023
3a91289
Update translation files
weblate May 18, 2023
1f10f3c
Translated using Weblate (Italian)
mymage May 18, 2023
66cb87d
Translated using Weblate (Italian)
mymage May 24, 2023
17010ab
Translated using Weblate (Italian)
mymage Jun 7, 2023
b023fde
[FIX] stock_quant_manual_assign
xavier-bouquiaux Jul 11, 2023
da24229
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
f737373
stock_quant_manual_assign 16.0.1.0.1
OCA-git-bot Jul 17, 2023
0d3234f
Translated using Weblate (Spanish)
Ivorra78 Jul 27, 2023
d80fcd1
[UPD] README.rst
OCA-git-bot Sep 3, 2023
778d44f
Update translation files
weblate Oct 9, 2023
e07a338
Translated using Weblate (Spanish)
Ivorra78 Oct 26, 2023
b04dd6a
Translated using Weblate (Italian)
mymage Oct 29, 2023
16fdbe7
Translated using Weblate (French)
Nov 2, 2023
b91fe3d
Translated using Weblate (Italian)
mymage Nov 17, 2023
1f308dd
Translated using Weblate (Italian)
mymage Nov 21, 2023
c2a1c9c
Translated using Weblate (Japanese)
liuhehe1995 Nov 24, 2023
e895170
Translated using Weblate (Italian)
mymage Dec 18, 2023
bcf70af
[FIX] stock_quant_manual_assign
AungKoKoLin1997 May 17, 2024
81e1e62
[BOT] post-merge updates
OCA-git-bot May 17, 2024
3d21ac6
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
2bf3a4b
[IMP] stock_quant_manual_assign: pre-commit execution
mav-adhoc Jun 11, 2024
4e81811
[MIG] stock_quant_manual_assign: Migration to 17.0
mav-adhoc Jun 11, 2024
c2a0a3c
[14.0][ADD] stock_exception
newtratip Nov 11, 2021
11e3c3f
[UPD] Update stock_exception.pot
oca-travis Apr 29, 2022
21e86bd
[UPD] README.rst
OCA-git-bot Apr 29, 2022
1718aa0
stock_exception 14.0.1.0.1
OCA-git-bot Apr 29, 2022
aa8e326
[FIX] stock_exception: delete overwrite order by module
Saran440 Jun 21, 2023
6c7ad03
stock_exception 14.0.1.0.2
OCA-git-bot Jun 27, 2023
c31b9ff
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d537273
Added translation using Weblate (Italian)
mymage Dec 18, 2023
ea1fd4d
[MIG] stock_exception: Migration to 16.0
mav-adhoc Mar 18, 2024
5ccc2e3
[UPD] Update stock_exception.pot
May 22, 2024
676c283
[IMP] stock_exception: pre-commit auto fixes
urvisha-serpentcs Jun 6, 2024
650b3d0
[MIG] stock_exception: Migration to 17.0
urvisha-serpentcs Jun 6, 2024
363bd21
[MIG] stock_exception: Migration to 18.0
Sep 17, 2024
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
88 changes: 88 additions & 0 deletions stock_exception/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
===============
Stock Exception
===============

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

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

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

This module allows you attach several customizable exceptions to your
stock picking in a way that you can filter pickings by exceptions type
and fix them. Exceptions are checked via a scheduled action as well as
during confirmation and validation.

This is especially useful in an scenario for mass stock picking import,
because it's likely some pickings have errors when you import them (like
product not found in Odoo, wrong line format etc.)

**Table of contents**

.. contents::
:local:

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

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

* Ecosoft

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

- Tharathip Chaweewongphan <[email protected]>

- Open Source Integrators http://www.opensourceintegrators.com

- Urvisha Desai [email protected]
- Nikul Chaudhary [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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_exception>`_ project on GitHub.

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

from . import models, wizard
20 changes: 20 additions & 0 deletions stock_exception/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021 Ecosoft Co., Ltd (https://ecosoft.co.th)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

{
"name": "Stock Exception",
"summary": "Custom exceptions on stock picking",
"version": "18.0.1.0.0",
"category": "Generic Modules/Warehouse Management",
"author": "Ecosoft, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"depends": ["stock", "base_exception"],
"license": "AGPL-3",
"data": [
"security/ir.model.access.csv",
"data/stock_exception_data.xml",
"wizard/stock_exception_confirm_view.xml",
"views/stock_view.xml",
],
"installable": True,
}
31 changes: 31 additions & 0 deletions stock_exception/data/stock_exception_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<odoo noupdate="1">
<!-- Test Stock Exceptions Scheduler-->
<record model="ir.cron" forcecreate="True" id="ir_cron_test_stock_picking_except">
<field name="name">Stock: Test Draft Pickings Exception</field>
<field name="model_id" ref="stock.model_stock_picking" />
<field name="state">code</field>
<field name="code">model.test_all_draft_pickings()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">20</field>
<field name="interval_type">minutes</field>
<field name="active" eval="False" />
</record>
<record id="sp_excep_no_partner" model="exception.rule">
<field name="name">No Partner</field>
<field name="description">No Partner</field>
<field name="sequence">50</field>
<field name="model">stock.picking</field>
<field name="code">if not self.partner_id:
failed=True</field>
<field name="active" eval="False" />
</record>
<record id="sm_excep_product_uom_qty_check" model="exception.rule">
<field name="name">Demand Quantity not positive</field>
<field name="description">Demand quantity must be positive</field>
<field name="sequence">50</field>
<field name="model">stock.move</field>
<field name="code">if self.product_uom_qty &lt;= 0:
failed=True</field>
<field name="active" eval="False" />
</record>
</odoo>
31 changes: 31 additions & 0 deletions stock_exception/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_exception
#
# Translators:
# Matias Velazquez <[email protected]>
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-28 22:06+0000\n"
"PO-Revision-Date: 2023-09-03 00:15+0000\n"
"Last-Translator: Matias Velazquez <[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: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__check_on_confirm
msgid "Check On Confirm"
msgstr "Chequear al Confirmar"

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__check_on_validate
msgid "Check On Validate"
msgstr "Chequear al Validar"
175 changes: 175 additions & 0 deletions stock_exception/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_exception
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\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_exception
#: model_terms:ir.ui.view,arch_db:stock_exception.view_picking_form
msgid "<strong>There are exceptions blocking this stock picking:</strong>"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""

#. module: stock_exception
#: model_terms:ir.ui.view,arch_db:stock_exception.view_picking_internal_search
msgid "Blocked in Draft"
msgstr ""

#. module: stock_exception
#: model_terms:ir.ui.view,arch_db:stock_exception.view_picking_form
msgid ""
"Click here to be able to confirm this stock picking regardless of the "
"exceptions."
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__create_uid
msgid "Created by"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__create_date
msgid "Created on"
msgstr ""

#. module: stock_exception
#: model:exception.rule,name:stock_exception.sm_excep_product_uom_qty_check
msgid "Demand Quantity not positive"
msgstr ""

#. module: stock_exception
#: model:exception.rule,description:stock_exception.sm_excep_product_uom_qty_check
msgid "Demand quantity must be positive"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__display_name
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__display_name
#: model:ir.model.fields,field_description:stock_exception.field_stock_move__display_name
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__display_name
msgid "Display Name"
msgstr ""

#. module: stock_exception
#: model:ir.model,name:stock_exception.model_exception_rule
msgid "Exception Rule"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__exception_ids
msgid "Exceptions"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__exceptions_summary
msgid "Exceptions Summary"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__id
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__id
#: model:ir.model.fields,field_description:stock_exception.field_stock_move__id
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__id
msgid "ID"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__ignore
#: model:ir.model.fields,field_description:stock_exception.field_stock_move__ignore_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__ignore_exception
#: model_terms:ir.ui.view,arch_db:stock_exception.view_picking_form
msgid "Ignore Exceptions"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule____last_update
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm____last_update
#: model:ir.model.fields,field_description:stock_exception.field_stock_move____last_update
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__write_uid
msgid "Last Updated by"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__write_date
msgid "Last Updated on"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_picking__main_exception_id
msgid "Main Exception"
msgstr ""

#. module: stock_exception
#: model:exception.rule,description:stock_exception.sp_excep_no_partner
#: model:exception.rule,name:stock_exception.sp_excep_no_partner
msgid "No Partner"
msgstr ""

#. module: stock_exception
#: model:ir.actions.act_window,name:stock_exception.action_stock_exception_confirm
msgid "Outstanding exceptions to manage"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_exception_rule__picking_ids
msgid "Pickings"
msgstr ""

#. module: stock_exception
#: model:ir.actions.act_window,name:stock_exception.action_stock_test_tree
#: model:ir.ui.menu,name:stock_exception.menu_stock_test
msgid "Stock Exception Rules"
msgstr ""

#. module: stock_exception
#: model:ir.model,name:stock_exception.model_stock_move
#: model:ir.model.fields.selection,name:stock_exception.selection__exception_rule__model__stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_exception
#: model:ir.model.fields,field_description:stock_exception.field_stock_exception_confirm__related_model_id
#: model:ir.model.fields.selection,name:stock_exception.selection__exception_rule__model__stock_picking
msgid "Stock Picking"
msgstr ""

#. module: stock_exception
#: model:ir.model,name:stock_exception.model_stock_exception_confirm
msgid "Stock exception wizard"
msgstr ""

#. module: stock_exception
#: model:ir.actions.server,name:stock_exception.ir_cron_test_stock_picking_except_ir_actions_server
#: model:ir.cron,cron_name:stock_exception.ir_cron_test_stock_picking_except
#: model:ir.cron,name:stock_exception.ir_cron_test_stock_picking_except
msgid "Stock: Test Draft Pickings Exception"
msgstr ""

#. module: stock_exception
#: model:ir.model,name:stock_exception.model_stock_picking
msgid "Transfer"
msgstr ""
Loading
Loading