Skip to content

Commit

Permalink
Release odoo_order_warning-v12.0.1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
os-ia authored and Alliantum committed May 30, 2022
1 parent 09ea586 commit f06737d
Show file tree
Hide file tree
Showing 26 changed files with 1,585 additions and 0 deletions.
42 changes: 42 additions & 0 deletions odoo_order_warning/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

permissions:
contents: write

on:
push:
branches:
- "12.0"
- "13.0"
- "14.0"

jobs:
release:
name: Create release from manifest version
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: Compare current version with latest release
id: compare-odoo-version
uses: Alliantum/actions/compare-odoo-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
if: ${{ steps.compare-odoo-version.outputs.new-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ${{ steps.compare-odoo-version.outputs.new-version }}
tag_name: ${{ steps.compare-odoo-version.outputs.new-version }}
draft: false
prerelease: false
target_commitish: ${{ github.sha }}
9 changes: 9 additions & 0 deletions odoo_order_warning/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.pyc
__pycache__
.DS_Store
.venv
.vscode
.idea
.mypy_cache
.pytest_cache
venv
661 changes: 661 additions & 0 deletions odoo_order_warning/LICENSE

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions odoo_order_warning/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
.. image:: static/description/alliantum.png
:alt: Alliantum
:width: 100 %
:scale: 70 %
:align: center

================
SO Warning State
================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://shields.io/badge/Beta-yellow?style=for-the-badge&label=Maturity
:target: https://alliantum.com/development-status
:alt: Beta
.. |badge2| image:: https://shields.io/badge/AGPL--3-blue?style=for-the-badge&label=License
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://shields.io/badge/Alliantum%2fodoo_order_warning-24c3f3?style=for-the-badge&logo=github&label=github
:target: https://github.com/Alliantum/odoo_order_warning/tree/12.0
:alt: Alliantum/odoo_order_warning

|badge1| |badge2| |badge3|



Visual clues to catch the attention of a salesman.

**Table of contents**

.. contents::
:local:

Usage
=====

When all the deliveries of a sales order have been cancelled, visual
clues are added to be able
to know at a glance that its status is *warning*.

- When viewing all the quotations, the corresponding lines have a
*warning* background color.

.. image:: ./static/description/list_screenshot.png
:alt: Alliantum
:width: 100 %
:scale: 70 %
:align: center


- When viewing a specific quotation, the delivery count widget has a
*warning* background color.

.. image:: ./static/description/form_screenshot.png
:alt: Alliantum
:width: 100 %
:scale: 70 %
:align: center


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

Bugs are tracked on `GitHub Issues <https://github.com/Alliantum/odoo_order_warning/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/Alliantum/odoo_order_warning/issues/new?body=module:%20odoo_order_warning%0Aversion:%2012.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
~~~~~~~

* Alliantum

Contributors
~~~~~~~~~~~~

- David Moreno david.moreno@alliantum.com
- Iago Alonso iago.alonso@alliantum.com

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

- Alliantum `www.alliantum.com <https://www.alliantum.com>`__

Maintainers
~~~~~~~~~~~

This module is maintained by Alliantum.

.. image:: https://avatars.githubusercontent.com/u/68618709?s=200&v=4
:alt: Alliantum
:target: https://alliantum.com

Alliantum, is a company whose
mission is to support the widespread use of Odoo by others companies, and collaborate in the development of new Odoo features.

This module is part of the `Alliantum/odoo_public_modules <https://github.com/Alliantum/odoo_public_modules>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://github.com/Alliantum/odoo_public_modules.

3 changes: 3 additions & 0 deletions odoo_order_warning/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from . import models
20 changes: 20 additions & 0 deletions odoo_order_warning/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
{
'name': "SO Warning State",
'summary': """Adds a Warning state to Sale's Orders""",
'description': """
- Implement some logic to catch the attention of salesman when all the deliveries for a sale order has been
cancelled.
- Form view show delivery count button in warning background color.
- Tree view show status 'warning' lines in warning background color.
""",
'author': "Alliantum",
'website': "https://www.alliantum.com",
'version': '12.0.1.0.2',
'license': 'AGPL-3',
'category': 'Sales',
'depends': ['base', 'sale', 'sale_stock'],
'data': [
'views/sale_order_view.xml',
],
}
54 changes: 54 additions & 0 deletions odoo_order_warning/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * odoo_order_warning
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-14 09:58+0000\n"
"PO-Revision-Date: 2021-04-14 09:58+0000\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: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
msgid "Cancel"
msgstr "Abbrechen"

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Check Warning State"
msgstr "Warnstatus Prüfen"

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Delivery"
msgstr "Lieferung"

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:30
#, python-format
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
msgstr "Es war nicht möglich, den Warnzustand zu entfernen. Es fehlen noch einige Mengen in den Lieferungen"

#. module: odoo_order_warning
#: model:ir.model,name:odoo_order_warning.model_sale_order
msgid "Sale Order"
msgstr "Verkaufsauftrag"

#. module: odoo_order_warning
#: model:ir.model,name:odoo_order_warning.model_stock_picking
msgid "Transfer"
msgstr "Lieferung vornehmen"

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:20
#, python-format
msgid "Warning"
msgstr "Warnung"

54 changes: 54 additions & 0 deletions odoo_order_warning/i18n/en_US.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * odoo_order_warning
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-14 09:57+0000\n"
"PO-Revision-Date: 2021-04-14 09:57+0000\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: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
msgid "Cancel"
msgstr ""

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Check Warning State"
msgstr ""

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Delivery"
msgstr ""

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:30
#, python-format
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
msgstr ""

#. module: odoo_order_warning
#: model:ir.model,name:odoo_order_warning.model_sale_order
msgid "Sale Order"
msgstr ""

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

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:20
#, python-format
msgid "Warning"
msgstr ""

54 changes: 54 additions & 0 deletions odoo_order_warning/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * odoo_order_warning
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-14 09:58+0000\n"
"PO-Revision-Date: 2021-04-14 09:58+0000\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: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_state_view
msgid "Cancel"
msgstr "Cancelar"

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Check Warning State"
msgstr "Comprobar el estado de advertencia"

#. module: odoo_order_warning
#: model_terms:ir.ui.view,arch_db:odoo_order_warning.order_warning_counter_view
msgid "Delivery"
msgstr "Entrega"

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:30
#, python-format
msgid "It wasn't possible to remove the warning state.There're still some quantities missing in the Deliveries:"
msgstr "No ha sido posible eliminar el estado de advertencia. Todavía faltan algunas cantidades en las entregas:"

#. module: odoo_order_warning
#: model:ir.model,name:odoo_order_warning.model_sale_order
msgid "Sale Order"
msgstr "Pedido de venta"

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

#. module: odoo_order_warning
#: code:addons/odoo_order_warning/models/sale.py:20
#, python-format
msgid "Warning"
msgstr "Advertencia"

Loading

0 comments on commit f06737d

Please # to comment.