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_warn_message: Migration to 18.0 #1812

Open
wants to merge 33 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
33 commits
Select commit Hold shift + click to select a range
1129547
[13.0][ADD] stock_picking_warn_message
HviorForgeFlow Apr 6, 2020
874c2c9
[UPD] Update stock_picking_warn_message.pot
oca-travis Oct 21, 2020
0117f7b
[UPD] README.rst
OCA-git-bot Oct 21, 2020
0995266
stock_picking_warn_message 13.0.1.0.1
OCA-git-bot Oct 21, 2020
31e675b
[IMP] stock_picking_warn_message: disable tracking test suite wise
HviorForgeFlow Oct 21, 2020
eab6d14
stock_picking_warn_message 13.0.1.0.2
OCA-git-bot Oct 26, 2020
6962ffe
[IMP] stock_picking_warn_message: black, isort, prettier
Sep 30, 2021
82f45b7
stock_picking_warn_message 14.0.1.0.0
Oct 11, 2021
ac10214
[UPD] Update stock_picking_warn_message.pot
oca-travis Feb 9, 2022
c501205
[UPD] README.rst
OCA-git-bot Feb 9, 2022
704570c
stock_picking_warn_message 14.0.1.0.1
OCA-git-bot Feb 9, 2022
414d429
[IMP] stock_picking_warn_message: show blocking messages in red
dhx Jul 6, 2022
0340f7f
[UPD] Update stock_picking_warn_message.pot
Oct 10, 2022
73d7bf2
[UPD] README.rst
OCA-git-bot Oct 10, 2022
21d1ec4
stock_picking_warn_message 14.0.2.0.0
OCA-git-bot Oct 10, 2022
c433ad3
[MIG] stock_picking_warn_message: Migration to 15.0
dhx May 13, 2022
566d672
[UPD] Update stock_picking_warn_message.pot
Jan 17, 2023
449b56f
[UPD] README.rst
OCA-git-bot Jan 17, 2023
113b29c
stock_picking_warn_message 15.0.1.0.1
OCA-git-bot Jan 17, 2023
2852206
[MIG] stock_picking_warn_message: Migration to 16.0
Aug 16, 2023
474f056
[UPD] Update stock_picking_warn_message.pot
Nov 2, 2023
f67c091
[BOT] post-merge updates
OCA-git-bot Nov 2, 2023
663c960
Added translation using Weblate (Italian)
mymage Nov 16, 2023
26d7ed5
Translated using Weblate (Italian)
mymage Nov 17, 2023
ab33f82
Added translation using Weblate (Spanish)
Ivorra78 Nov 27, 2023
0d67ec3
Translated using Weblate (Spanish)
Ivorra78 Nov 27, 2023
b79232f
[IMP] stock_picking_warn_message: pre-commit auto fixes
RicardCForgeFlow Mar 11, 2024
2c677e1
[MIG] stock_picking_warn_message: Migration to 17.0
RicardCForgeFlow Mar 11, 2024
d9edf09
[UPD] Update stock_picking_warn_message.pot
Aug 13, 2024
6a43f91
[BOT] post-merge updates
OCA-git-bot Aug 13, 2024
561098f
Update translation files
weblate Aug 13, 2024
2d3336d
Translated using Weblate (Italian)
mymage Aug 14, 2024
59d32de
[MIG] stock_picking_warn_message: Migration to 18.0
HeliconiaSolutions Dec 26, 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
115 changes: 115 additions & 0 deletions stock_picking_warn_message/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
==========================
Stock Picking Warn Message
==========================

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

.. |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_warn_message
: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_warn_message
: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 add a warning popup on pickings to ensure warning is
populated not only when partner is changed.

**Table of contents**

.. contents::
:local:

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

To use this module, configure warnings on the partners for which you
want to set warnings.

Before setting warnings, ensure user access is configured:

1. **Global Warning Configuration:**

- Enable the Warnings setting under Settings > Inventory > Operations
> Warnings.
- This allows all users in the system to assign warning messages,
which will be displayed in transfers.

2. **Partner-Specific Warning Configuration:**

- This method doesn't require enabling the Warning setting.
- The user has the needed group: A warning can be set on a partner
(Stock)

Once configured, with a user account having access to set warnings on
partners:

- Navigate to the partner configuration form.
- In "Internal Notes" find the option "Warning on the Picking."
- Choose "Warning" or "Blocking Message."
- Type your message in the designated field.

Usage
=====

If you open a stock picking form and select a partner with an associated
warning, a warning message should appear permanently above the picking
name.

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_warn_message%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
-------

* ForgeFlow

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

- Héctor Villarreal <[email protected]>
- Daniel Haag <[email protected]>
- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_

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_warn_message>`_ 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_warn_message/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions stock_picking_warn_message/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Picking Warn Message",
"summary": """
Add a popup warning on picking to ensure warning is populated""",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"depends": ["stock"],
"data": ["views/stock_picking_views.xml"],
}
73 changes: 73 additions & 0 deletions stock_picking_warn_message/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_warn_message
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 19:34+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\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_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-info-circle\"/>\n"
" &amp;nbsp;"
msgstr ""
"<i class=\"fa fa-info-circle\"/>\n"
" &amp;nbsp;"

#. module: stock_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-warning\"/>\n"
" &amp;nbsp;"
msgstr ""
"<i class=\"fa fa-warning\"/>\n"
" &amp;nbsp;"

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__block
msgid "Blocking Message"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__no-message
msgid "No Message"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn
msgid "Picking Warn"
msgstr "Advertencia de recogida"

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn_msg
msgid "Picking Warn Msg"
msgstr "Mnsg Advertencia de recogida"

#. module: stock_picking_warn_message
#: model:ir.model.fields,help:stock_picking_warn_message.field_stock_picking__picking_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model,name:stock_picking_warn_message.model_stock_picking
msgid "Transfer"
msgstr "Transferencia"

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__warning
msgid "Warning"
msgstr ""
77 changes: 77 additions & 0 deletions stock_picking_warn_message/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_warn_message
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-08-14 16:58+0000\n"
"Last-Translator: mymage <[email protected]>\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"
"X-Generator: Weblate 5.6.2\n"

#. module: stock_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-info-circle\"/>\n"
" &amp;nbsp;"
msgstr ""
"<i class=\"fa fa-info-circle\"/>\n"
" &amp;nbsp;"

#. module: stock_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-warning\"/>\n"
" &amp;nbsp;"
msgstr ""
"<i class=\"fa fa-warning\"/>\n"
" &amp;nbsp;"

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__block
msgid "Blocking Message"
msgstr "Messaggio di blocco"

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__no-message
msgid "No Message"
msgstr "Nessun messaggio"

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn
msgid "Picking Warn"
msgstr "Avviso prelievo"

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn_msg
msgid "Picking Warn Msg"
msgstr "Messaggio avviso prelievo"

#. module: stock_picking_warn_message
#: model:ir.model.fields,help:stock_picking_warn_message.field_stock_picking__picking_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""
"Selezionando l'opzione \"Attenzione\" l'utente verrà avvisato con il "
"messaggio. Selezionando \"Ferma messaggi\" genererà un'eccezione con il "
"messaggio e fermerà il flusso. Il messaggio deve essere scritto nel campo "
"successivo."

#. module: stock_picking_warn_message
#: model:ir.model,name:stock_picking_warn_message.model_stock_picking
msgid "Transfer"
msgstr "Trasferimento"

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__warning
msgid "Warning"
msgstr "Attenzione"
66 changes: 66 additions & 0 deletions stock_picking_warn_message/i18n/stock_picking_warn_message.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_warn_message
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-info-circle\"/>\n"
" &amp;nbsp;"
msgstr ""

#. module: stock_picking_warn_message
#: model_terms:ir.ui.view,arch_db:stock_picking_warn_message.view_picking_form
msgid ""
"<i class=\"fa fa-warning\"/>\n"
" &amp;nbsp;"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__block
msgid "Blocking Message"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__no-message
msgid "No Message"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn
msgid "Picking Warn"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields,field_description:stock_picking_warn_message.field_stock_picking__picking_warn_msg
msgid "Picking Warn Msg"
msgstr ""

#. module: stock_picking_warn_message
#: model:ir.model.fields,help:stock_picking_warn_message.field_stock_picking__picking_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""

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

#. module: stock_picking_warn_message
#: model:ir.model.fields.selection,name:stock_picking_warn_message.selection__stock_picking__picking_warn__warning
msgid "Warning"
msgstr ""
1 change: 1 addition & 0 deletions stock_picking_warn_message/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_picking
Loading
Loading