Skip to content

Commit cf37e63

Browse files
os-iaAlliantum
authored and
Alliantum
committed
Release odoo_order_warning-v14.0.1.0.3
1 parent b0615dc commit cf37e63

26 files changed

+1570
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
branches:
9+
- "12.0"
10+
- "13.0"
11+
- "14.0"
12+
13+
jobs:
14+
release:
15+
name: Create release from manifest version
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: "3.8"
24+
25+
- name: Compare current version with latest release
26+
id: compare-odoo-version
27+
uses: Alliantum/actions/compare-odoo-version@master
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Create Release
32+
id: create_release
33+
uses: softprops/action-gh-release@v1
34+
if: ${{ steps.compare-odoo-version.outputs.new-version }}
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
with:
38+
name: ${{ steps.compare-odoo-version.outputs.new-version }}
39+
tag_name: ${{ steps.compare-odoo-version.outputs.new-version }}
40+
draft: false
41+
prerelease: false
42+
target_commitish: ${{ github.sha }}

odoo_order_warning/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.pyc
2+
__pycache__
3+
.DS_Store
4+
.venv
5+
.vscode
6+
.idea
7+
.mypy_cache
8+
.pytest_cache
9+
venv

odoo_order_warning/LICENSE

+661
Large diffs are not rendered by default.

odoo_order_warning/README.rst

+110
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
.. image:: static/description/alliantum.png
2+
:alt: Alliantum
3+
:width: 100 %
4+
:scale: 70 %
5+
:align: center
6+
7+
================
8+
SO Warning State
9+
================
10+
11+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
!! This file is generated by oca-gen-addon-readme !!
13+
!! changes will be overwritten. !!
14+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15+
16+
.. |badge1| image:: https://shields.io/badge/Beta-yellow?style=for-the-badge&label=Maturity
17+
:target: https://alliantum.com/development-status
18+
:alt: Beta
19+
.. |badge2| image:: https://shields.io/badge/AGPL--3-blue?style=for-the-badge&label=License
20+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
21+
:alt: License: AGPL-3
22+
.. |badge3| image:: https://shields.io/badge/Alliantum%2fodoo_order_warning-24c3f3?style=for-the-badge&logo=github&label=github
23+
:target: https://github.com/Alliantum/odoo_order_warning/tree/14.0
24+
:alt: Alliantum/odoo_order_warning
25+
26+
|badge1| |badge2| |badge3|
27+
28+
29+
30+
Visual clues to catch the attention of a salesman.
31+
32+
**Table of contents**
33+
34+
.. contents::
35+
:local:
36+
37+
Usage
38+
=====
39+
40+
When all the deliveries of a sales order have been cancelled, visual
41+
clues are added to be able
42+
to know at a glance that its status is *warning*.
43+
44+
- When viewing all the quotations, the corresponding lines have a
45+
*warning* background color.
46+
47+
.. image:: ./static/description/list_screenshot.png
48+
:alt: Alliantum
49+
:width: 100 %
50+
:scale: 70 %
51+
:align: center
52+
53+
54+
- When viewing a specific quotation, the delivery count widget has a
55+
*warning* background color.
56+
57+
.. image:: ./static/description/form_screenshot.png
58+
:alt: Alliantum
59+
:width: 100 %
60+
:scale: 70 %
61+
:align: center
62+
63+
64+
Bug Tracker
65+
===========
66+
67+
Bugs are tracked on `GitHub Issues <https://github.com/Alliantum/odoo_order_warning/issues>`_.
68+
In case of trouble, please check there if your issue has already been reported.
69+
If you spotted it first, help us smashing it by providing a detailed and welcomed
70+
`feedback <https://github.com/Alliantum/odoo_order_warning/issues/new?body=module:%20odoo_order_warning%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71+
72+
Do not contact contributors directly about support or help with technical issues.
73+
74+
Credits
75+
=======
76+
77+
Authors
78+
~~~~~~~
79+
80+
* Alliantum
81+
82+
Contributors
83+
~~~~~~~~~~~~
84+
85+
- David Moreno david.moreno@alliantum.com
86+
- Iago Alonso iago.alonso@alliantum.com
87+
88+
Other credits
89+
~~~~~~~~~~~~~
90+
91+
The development of this module has been financially supported by:
92+
93+
- Alliantum `www.alliantum.com <https://www.alliantum.com>`__
94+
95+
Maintainers
96+
~~~~~~~~~~~
97+
98+
This module is maintained by Alliantum.
99+
100+
.. image:: https://avatars.githubusercontent.com/u/68618709?s=200&v=4
101+
:alt: Alliantum
102+
:target: https://alliantum.com
103+
104+
Alliantum, is a company whose
105+
mission is to support the widespread use of Odoo by others companies, and collaborate in the development of new Odoo features.
106+
107+
This module is part of the `Alliantum/odoo_public_modules <https://github.com/Alliantum/odoo_public_modules>`_ project on GitHub.
108+
109+
You are welcome to contribute. To learn how please visit https://github.com/Alliantum/odoo_public_modules.
110+

odoo_order_warning/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- coding: utf-8 -*-
2+
3+
from . import models

odoo_order_warning/__manifest__.py

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
{
3+
'name': "SO Warning State",
4+
'summary': """Adds a Warning state to Sale's Orders""",
5+
'description': """
6+
- Implement some logic to catch the attention of salesman when all the deliveries for a sale order has been
7+
cancelled.
8+
- Form view show delivery count button in warning background color.
9+
- Tree view show status 'warning' lines in warning background color.
10+
""",
11+
'author': "Alliantum",
12+
'website': "https://www.alliantum.com",
13+
'version': '14.0.1.0.3',
14+
'license': 'AGPL-3',
15+
'category': 'Sales',
16+
'depends': ['base', 'sale', 'sale_stock'],
17+
'data': [
18+
'views/sale_order_view.xml',
19+
],
20+
}

odoo_order_warning/i18n/de.po

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * odoo_order_warning
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2021-04-14 09:58+0000\n"
10+
"PO-Revision-Date: 2021-04-14 09:58+0000\n"
11+
"Last-Translator: <>\n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: odoo_order_warning
19+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
20+
msgid "Cancel"
21+
msgstr "Abbrechen"
22+
23+
#. module: odoo_order_warning
24+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
25+
msgid "Check Warning State"
26+
msgstr "Warnstatus Prüfen"
27+
28+
#. module: odoo_order_warning
29+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
30+
msgid "Delivery"
31+
msgstr "Lieferung"
32+
33+
#. module: odoo_order_warning
34+
#: code:addons/odoo_order_warning/models/sale.py:30
35+
#, python-format
36+
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
37+
msgstr "Es war nicht möglich, den Warnzustand zu entfernen. Es fehlen noch einige Mengen in den Lieferungen"
38+
39+
#. module: odoo_order_warning
40+
#: model:ir.model,name:odoo_order_warning.model_sale_order
41+
msgid "Sale Order"
42+
msgstr "Verkaufsauftrag"
43+
44+
#. module: odoo_order_warning
45+
#: model:ir.model,name:odoo_order_warning.model_stock_picking
46+
msgid "Transfer"
47+
msgstr "Lieferung vornehmen"
48+
49+
#. module: odoo_order_warning
50+
#: code:addons/odoo_order_warning/models/sale.py:20
51+
#, python-format
52+
msgid "Warning"
53+
msgstr "Warnung"
54+

odoo_order_warning/i18n/en_US.po

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * odoo_order_warning
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2021-04-14 09:57+0000\n"
10+
"PO-Revision-Date: 2021-04-14 09:57+0000\n"
11+
"Last-Translator: <>\n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: odoo_order_warning
19+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
20+
msgid "Cancel"
21+
msgstr ""
22+
23+
#. module: odoo_order_warning
24+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
25+
msgid "Check Warning State"
26+
msgstr ""
27+
28+
#. module: odoo_order_warning
29+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
30+
msgid "Delivery"
31+
msgstr ""
32+
33+
#. module: odoo_order_warning
34+
#: code:addons/odoo_order_warning/models/sale.py:30
35+
#, python-format
36+
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
37+
msgstr ""
38+
39+
#. module: odoo_order_warning
40+
#: model:ir.model,name:odoo_order_warning.model_sale_order
41+
msgid "Sale Order"
42+
msgstr ""
43+
44+
#. module: odoo_order_warning
45+
#: model:ir.model,name:odoo_order_warning.model_stock_picking
46+
msgid "Transfer"
47+
msgstr ""
48+
49+
#. module: odoo_order_warning
50+
#: code:addons/odoo_order_warning/models/sale.py:20
51+
#, python-format
52+
msgid "Warning"
53+
msgstr ""
54+

odoo_order_warning/i18n/es.po

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * odoo_order_warning
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2021-04-14 09:58+0000\n"
10+
"PO-Revision-Date: 2021-04-14 09:58+0000\n"
11+
"Last-Translator: <>\n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: odoo_order_warning
19+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
20+
msgid "Cancel"
21+
msgstr "Cancelar"
22+
23+
#. module: odoo_order_warning
24+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
25+
msgid "Check Warning State"
26+
msgstr "Comprobar el estado de advertencia"
27+
28+
#. module: odoo_order_warning
29+
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
30+
msgid "Delivery"
31+
msgstr "Entrega"
32+
33+
#. module: odoo_order_warning
34+
#: code:addons/odoo_order_warning/models/sale.py:30
35+
#, python-format
36+
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
37+
msgstr "No ha sido posible eliminar el estado de advertencia. Todavía faltan algunas cantidades en las entregas:"
38+
39+
#. module: odoo_order_warning
40+
#: model:ir.model,name:odoo_order_warning.model_sale_order
41+
msgid "Sale Order"
42+
msgstr "Pedido de venta"
43+
44+
#. module: odoo_order_warning
45+
#: model:ir.model,name:odoo_order_warning.model_stock_picking
46+
msgid "Transfer"
47+
msgstr "Transferir"
48+
49+
#. module: odoo_order_warning
50+
#: code:addons/odoo_order_warning/models/sale.py:20
51+
#, python-format
52+
msgid "Warning"
53+
msgstr "Advertencia"
54+

0 commit comments

Comments
 (0)