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

[15.0][MIG] sale_cancel_reason #2400

Merged
merged 57 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
d8da5f7
[MRG] from master branch
guewen Aug 13, 2013
6117b5a
[FIX] sale cancel reason dependence
nbessi Aug 9, 2013
d8520bc
[FIX] sale_cancel_reason: remove dependency on sale_stock
guewen Aug 9, 2013
6f7b408
spellcheck
gurneyalex Nov 29, 2013
b7af6a9
[FIX] repository PEP8
eLBati Aug 7, 2014
442b219
[FIX] Still some PEP8 erros
eLBati Aug 7, 2014
2c50529
- Set as uninstallable and moved to __unported__ dir all modules.
pedrobaeza Aug 7, 2014
5100220
reactivate sale_cancel_reason
yvaucher Aug 25, 2014
97d6838
port models and method to api 8.0
yvaucher Aug 25, 2014
cf9a4b0
Improve override of cancel button to ease inheritance of view
yvaucher Jan 27, 2015
69d2983
[FIX] typo on class name
rdeheele Feb 17, 2015
2a97506
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
08d5bdf
Added Finnish translations
mlaitinen May 22, 2015
8322032
[FIX] cancel button of orignal view should be hide after installation…
dhp-denero Jul 16, 2015
605b1d7
Add missing default oca icons
yvaucher Aug 18, 2015
7e8419a
Slovene translations added
sysadminmatmoz Aug 20, 2015
73bc7ef
bump version of sale_cancel_reason
yvaucher Aug 28, 2015
fd2e329
OCA Transbot updated translations from Transifex
oca-transbot Sep 13, 2015
4dc4a24
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
b1062d3
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
e86b806
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
a2505dc
[MIG] sale_cancel_reason Migration to 10.0 (#477)
kittiu May 30, 2017
347d968
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
5cc4e6d
[UPD] Update sale_cancel_reason.pot
oca-travis Jun 20, 2018
93705da
Update translation files
oca-transbot Nov 24, 2018
5c368ad
Translated using Weblate (Portuguese)
pedrocs-exo Nov 24, 2018
1581ff7
[MIG] sale_cancel_reason: Migration to 12.0
Mar 25, 2019
4858fe3
[UPD] README.rst
OCA-git-bot Mar 27, 2019
b80777d
[UPD] Update sale_cancel_reason.pot
oca-travis Mar 27, 2019
5f80b7e
Update translation files
oca-transbot May 20, 2019
53d92c0
Translated using Weblate (German)
marylla Jul 15, 2019
5fba417
[UPD] README.rst
OCA-git-bot Jul 29, 2019
4dc364e
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
d8743f7
[12.0][FIX] Sale Order Cancel Reasons menu configuration
Nov 11, 2019
6743d85
[UPD] README.rst
OCA-git-bot Nov 11, 2019
4be97a6
sale_cancel_reason 12.0.1.1.0
OCA-git-bot Nov 11, 2019
73d6e04
Translated using Weblate (Spanish (Chile))
Jan 3, 2020
ce952df
[FIX] sale_cancel_reason: fix access for salesteam salesman group
skeller1 Jun 4, 2020
50deaf8
sale_cancel_reason 12.0.1.2.0
OCA-git-bot Jul 19, 2020
bdcdea8
Translated using Weblate (Slovenian)
sysadminmatmoz Aug 11, 2020
d13e51a
[FIX] pep8 and pylint
renatonlima Sep 4, 2020
9bc15ed
[IMP] sale_cancel_reason: black, isort, prettier
alan196 Oct 31, 2020
81e2d05
[MIG] sale_cancel_reason: Migration to 13.0
alan196 Oct 31, 2020
635eed5
[UPD] Update sale_cancel_reason.pot
oca-travis Feb 25, 2021
70269b0
Translated using Weblate (Dutch)
Mar 10, 2021
df50cb7
Translated using Weblate (Spanish)
brendapaniagua Mar 19, 2021
ebc02d3
Translated using Weblate (French)
vincent-hatakeyama Nov 12, 2021
8e07263
[IMP] sale_cancel_reason: black, isort, prettier
ao-landoo Aug 12, 2022
c334986
[MIG] sale_cancel_reason: Migration to 14.0
ao-landoo Aug 12, 2022
df62ea9
[UPD] Update sale_cancel_reason.pot
Aug 17, 2022
563c011
[UPD] README.rst
OCA-git-bot Aug 17, 2022
31238b2
sale_cancel_reason 14.0.1.0.1
OCA-git-bot Aug 17, 2022
dfcc6ca
[IMP] sale_cancel_reason: Do not copy cancel reason on order duplicate
ao-landoo Aug 19, 2022
9fda070
sale_cancel_reason 14.0.1.1.0
OCA-git-bot Aug 30, 2022
0ef8951
[IMP] sale_cancel_reason: black, isort, prettier
ao-landoo Aug 30, 2022
1df03d7
[MIG] sale_cancel_reason: Migration to 15.0
ao-landoo Aug 30, 2022
3301815
[IMP] sale_cancel_reason: add enable flag
DavidJForgeFlow Apr 24, 2023
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
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