Skip to content

Commit

Permalink
Merge PR #2400 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed Jul 12, 2023
2 parents 24472ec + 3301815 commit ae02ec1
Show file tree
Hide file tree
Showing 92 changed files with 11,095 additions and 0 deletions.
89 changes: 89 additions & 0 deletions sale_cancel_reason/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
==================
Sale Cancel Reason
==================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fsale--workflow-lightgray.png?logo=github
:target: https:/OCA/sale-workflow/tree/15.0/sale_cancel_reason
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_cancel_reason
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/15.0
:alt: Try me on Runbot

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

When a sale order is canceled, a reason must be given,
it is chosen from a configured list.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

* Click at "Cancel Order" button from a sales order which state equal
to Draft, Quotation or Sales Order
* A wizard will show a list of cancel reasons
* Choose a reason and confirm cancellation, the reason will be stamped in the sales order

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

Bugs are tracked on `GitHub Issues <https:/OCA/sale-workflow/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:/OCA/sale-workflow/issues/new?body=module:%20sale_cancel_reason%0Aversion:%2015.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

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

* Guewen Baconnier, Camptocamp SA
* Kitti U. <[email protected]>
* Victor M.M Torres <[email protected]>
* Bhavesh Odedra <[email protected]>
* Alan Ramos <[email protected]>
* Aritz Olea <[email protected]>, Landoo SL

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/sale-workflow <https:/OCA/sale-workflow/tree/15.0/sale_cancel_reason>`_ project on GitHub.

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

from . import wizard
from . import model
24 changes: 24 additions & 0 deletions sale_cancel_reason/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2013 Guewen Baconnier, Camptocamp SA
# Copyright 2019 Victor M.M. Torres, Tecnativa SL
# Copyright 2022 Aritz Olea, Landoo SL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Sale Cancel Reason",
"version": "15.0.1.0.0",
"author": "Camptocamp," "Odoo Community Association (OCA)",
"category": "Sale",
"license": "AGPL-3",
"complexity": "normal",
"website": "https:/OCA/sale-workflow",
"depends": ["sale_management"],
"data": [
"wizard/cancel_reason_view.xml",
"views/sale_view.xml",
"security/ir.model.access.csv",
"data/sale_order_cancel_reason.xml",
"views/res_config_settings_views.xml",
],
"auto_install": False,
"installable": True,
}
12 changes: 12 additions & 0 deletions sale_cancel_reason/data/sale_order_cancel_reason.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="cancel_reason_only_quotation" model="sale.order.cancel.reason">
<field name="name">Just for Quotation</field>
</record>
<record id="cancel_reason_no_service_needed" model="sale.order.cancel.reason">
<field name="name">Service no longer needed</field>
</record>
<record id="cancel_reason_other_provider" model="sale.order.cancel.reason">
<field name="name">Other Service Provider selected</field>
</record>
</odoo>
148 changes: 148 additions & 0 deletions sale_cancel_reason/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_cancel_reason
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\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: sale_cancel_reason
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel
msgid " Ask a reason for the sale order cancellation."
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
msgid "Cancel"
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_order_form
msgid "Cancel Order"
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_order_form
msgid "Cancellation reason:"
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
msgid ""
"Choose the reason for the cancellation of the\n"
" sale order."
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
msgid "Confirm"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__create_uid
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__create_date
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_date
msgid "Created on"
msgstr "Creado en"

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__display_name
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__display_name
msgid "Display Name"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__id
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__id
msgid "ID"
msgstr "ID"

#. module: sale_cancel_reason
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_only_quotation
msgid "Just for Quotation"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel____last_update
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason____last_update
msgid "Last Modified on"
msgstr ""

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

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

#. module: sale_cancel_reason
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_other_provider
msgid "Other Service Provider selected"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__reason_id
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__name
msgid "Reason"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order__cancel_reason_id
msgid "Reason for cancellation"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.actions.act_window,name:sale_cancel_reason.action_sale_order_cancel
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
msgid "Reason for the cancellation"
msgstr ""

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

#. module: sale_cancel_reason
#: model:ir.actions.act_window,name:sale_cancel_reason.action_sale_order_cancel_reason
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel_reason
msgid "Sale Order Cancel Reason"
msgstr ""

#. module: sale_cancel_reason
#: model:ir.ui.menu,name:sale_cancel_reason.menu_sale_order_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel_reason_form
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel_reason_tree
msgid "Sale Order Cancel Reasons"
msgstr ""

#. module: sale_cancel_reason
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_no_service_needed
msgid "Service no longer needed"
msgstr ""

#. module: sale_cancel_reason
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
msgid "or"
msgstr ""
Loading

0 comments on commit ae02ec1

Please sign in to comment.