Skip to content

Commit

Permalink
Merge PR #3506 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Jan 28, 2025
2 parents c77ca26 + 458def4 commit 7f9dc2d
Show file tree
Hide file tree
Showing 90 changed files with 9,322 additions and 0 deletions.
95 changes: 95 additions & 0 deletions sale_cancel_reason/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
==================
Sale Cancel Reason
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5d0057de8c85e347bd33ae0433d69769468af5bab2f1670394b9b80c5169302b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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://github.com/OCA/sale-workflow/tree/18.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-18-0/sale-workflow-18-0-sale_cancel_reason
: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/sale-workflow&target_branch=18.0
:alt: Try me on Runboat

|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://github.com/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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_cancel_reason%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
-------

* Camptocamp

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

- Guewen Baconnier, Camptocamp SA
- Kitti U. <kittiu@ecosoft.co.th>
- Victor M.M Torres <victor.martin@tecnativa.com>
- Bhavesh Odedra <bodedra@opensourceintegrators.com>
- Alan Ramos <alan.ramos@jarsa.com.mx>
- Aritz Olea <ao@landoo.es>, Landoo SL
- Hugo Córdoba <hugo.cordoba@factorlibre.com>
- Maciej Wichowski <maciej@versada.eu>

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://github.com/OCA/sale-workflow/tree/18.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": "18.0.1.0.0",
"author": "Camptocamp," "Odoo Community Association (OCA)",
"category": "Sale",
"license": "AGPL-3",
"complexity": "normal",
"website": "https://github.com/OCA/sale-workflow",
"depends": ["sale"],
"data": [
"wizard/cancel_reason_view.xml",
"wizard/mass_cancel_orders_view.xml",
"view/sale_view.xml",
"security/ir.model.access.csv",
"data/sale_order_cancel_reason.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>
115 changes: 115 additions & 0 deletions sale_cancel_reason/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_cancel_reason
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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_mass_cancel_orders
msgid "Cancel multiple quotations"
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: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_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_reason__display_name
msgid "Display Name"
msgstr ""

#. module: sale_cancel_reason
#: 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_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_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_mass_cancel_orders__reason_id
#: 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_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
msgid "Sale Order Cancel Reasons"
msgstr ""

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

#. module: sale_cancel_reason
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel
msgid "Sales Order Cancel"
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 ""
119 changes: 119 additions & 0 deletions sale_cancel_reason/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_cancel_reason
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: sale_cancel_reason
#: model:ir.model,name:sale_cancel_reason.model_sale_mass_cancel_orders
msgid "Cancel multiple quotations"
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:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_uid
msgid "Created by"
msgstr "أنشئ بواسطة"

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_date
msgid "Created on"
msgstr "أنشئ في"

#. module: sale_cancel_reason
#: 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_reason__id
msgid "ID"
msgstr "المعرف"

#. 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_reason__write_uid
msgid "Last Updated by"
msgstr "آخر تحديث بواسطة"

#. module: sale_cancel_reason
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__write_date
msgid "Last Updated on"
msgstr "آخر تحديث في"

#. 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_mass_cancel_orders__reason_id
#: 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_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
msgid "Sale Order Cancel Reasons"
msgstr ""

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

#. module: sale_cancel_reason
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel
msgid "Sales Order Cancel"
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 ""

#~ msgid "Last Modified on"
#~ msgstr "آخر تعديل في"
Loading

0 comments on commit 7f9dc2d

Please sign in to comment.