Skip to content

Commit 1dc72cc

Browse files
committed
Merge PR #2483 into 16.0
Signed-off-by pedrobaeza
2 parents 80372bc + 97ab626 commit 1dc72cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+11049
-0
lines changed

sale_cancel_reason/README.rst

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
==================
2+
Sale Cancel Reason
3+
==================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
17+
:target: https://github.com/OCA/sale-workflow/tree/14.0/sale_cancel_reason
18+
:alt: OCA/sale-workflow
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_cancel_reason
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23+
:target: https://runbot.odoo-community.org/runbot/167/14.0
24+
:alt: Try me on Runbot
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
When a sale order is canceled, a reason must be given,
29+
it is chosen from a configured list.
30+
31+
**Table of contents**
32+
33+
.. contents::
34+
:local:
35+
36+
Usage
37+
=====
38+
39+
To use this module, you need to:
40+
41+
* Click at "Cancel Order" button from a sales order which state equal
42+
to Draft, Quotation or Sales Order
43+
* A wizard will show a list of cancel reasons
44+
* Choose a reason and confirm cancellation, the reason will be stamped in the sales order
45+
46+
Bug Tracker
47+
===========
48+
49+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
50+
In case of trouble, please check there if your issue has already been reported.
51+
If you spotted it first, help us smashing it by providing a detailed and welcomed
52+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_cancel_reason%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
53+
54+
Do not contact contributors directly about support or help with technical issues.
55+
56+
Credits
57+
=======
58+
59+
Authors
60+
~~~~~~~
61+
62+
* Camptocamp
63+
64+
Contributors
65+
~~~~~~~~~~~~
66+
67+
* Guewen Baconnier, Camptocamp SA
68+
* Kitti U. <[email protected]>
69+
* Victor M.M Torres <[email protected]>
70+
* Bhavesh Odedra <[email protected]>
71+
* Alan Ramos <[email protected]>
72+
* Aritz Olea <[email protected]>, Landoo SL
73+
74+
Maintainers
75+
~~~~~~~~~~~
76+
77+
This module is maintained by the OCA.
78+
79+
.. image:: https://odoo-community.org/logo.png
80+
:alt: Odoo Community Association
81+
:target: https://odoo-community.org
82+
83+
OCA, or the Odoo Community Association, is a nonprofit organization whose
84+
mission is to support the collaborative development of Odoo features and
85+
promote its widespread use.
86+
87+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/14.0/sale_cancel_reason>`_ project on GitHub.
88+
89+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

sale_cancel_reason/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2013 Guewen Baconnier, Camptocamp SA
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
from . import wizard
5+
from . import model

sale_cancel_reason/__manifest__.py

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2013 Guewen Baconnier, Camptocamp SA
2+
# Copyright 2019 Victor M.M. Torres, Tecnativa SL
3+
# Copyright 2022 Aritz Olea, Landoo SL
4+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5+
6+
{
7+
"name": "Sale Cancel Reason",
8+
"version": "16.0.1.0.0",
9+
"author": "Camptocamp," "Odoo Community Association (OCA)",
10+
"category": "Sale",
11+
"license": "AGPL-3",
12+
"complexity": "normal",
13+
"website": "https://github.com/OCA/sale-workflow",
14+
"depends": ["sale"],
15+
"data": [
16+
"wizard/cancel_reason_view.xml",
17+
"view/sale_view.xml",
18+
"security/ir.model.access.csv",
19+
"data/sale_order_cancel_reason.xml",
20+
],
21+
"auto_install": False,
22+
"installable": True,
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<odoo noupdate="1">
3+
<record id="cancel_reason_only_quotation" model="sale.order.cancel.reason">
4+
<field name="name">Just for Quotation</field>
5+
</record>
6+
<record id="cancel_reason_no_service_needed" model="sale.order.cancel.reason">
7+
<field name="name">Service no longer needed</field>
8+
</record>
9+
<record id="cancel_reason_other_provider" model="sale.order.cancel.reason">
10+
<field name="name">Other Service Provider selected</field>
11+
</record>
12+
</odoo>

sale_cancel_reason/i18n/am.po

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_cancel_reason
4+
#
5+
# Translators:
6+
# OCA Transbot <[email protected]>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
12+
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
13+
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
14+
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
15+
"Language: am\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
20+
21+
#. module: sale_cancel_reason
22+
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel
23+
msgid " Ask a reason for the sale order cancellation."
24+
msgstr ""
25+
26+
#. module: sale_cancel_reason
27+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
28+
msgid "Cancel"
29+
msgstr ""
30+
31+
#. module: sale_cancel_reason
32+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_order_form
33+
msgid "Cancel Order"
34+
msgstr ""
35+
36+
#. module: sale_cancel_reason
37+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_order_form
38+
msgid "Cancellation reason:"
39+
msgstr ""
40+
41+
#. module: sale_cancel_reason
42+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
43+
msgid ""
44+
"Choose the reason for the cancellation of the\n"
45+
" sale order."
46+
msgstr ""
47+
48+
#. module: sale_cancel_reason
49+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
50+
msgid "Confirm"
51+
msgstr ""
52+
53+
#. module: sale_cancel_reason
54+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__create_uid
55+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_uid
56+
msgid "Created by"
57+
msgstr "Creado por"
58+
59+
#. module: sale_cancel_reason
60+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__create_date
61+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__create_date
62+
msgid "Created on"
63+
msgstr "Creado en"
64+
65+
#. module: sale_cancel_reason
66+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__display_name
67+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__display_name
68+
msgid "Display Name"
69+
msgstr ""
70+
71+
#. module: sale_cancel_reason
72+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__id
73+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__id
74+
msgid "ID"
75+
msgstr "ID"
76+
77+
#. module: sale_cancel_reason
78+
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_only_quotation
79+
msgid "Just for Quotation"
80+
msgstr ""
81+
82+
#. module: sale_cancel_reason
83+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel____last_update
84+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason____last_update
85+
msgid "Last Modified on"
86+
msgstr ""
87+
88+
#. module: sale_cancel_reason
89+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__write_uid
90+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__write_uid
91+
msgid "Last Updated by"
92+
msgstr "Última actualización por"
93+
94+
#. module: sale_cancel_reason
95+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__write_date
96+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__write_date
97+
msgid "Last Updated on"
98+
msgstr "Última actualización en"
99+
100+
#. module: sale_cancel_reason
101+
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_other_provider
102+
msgid "Other Service Provider selected"
103+
msgstr ""
104+
105+
#. module: sale_cancel_reason
106+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel__reason_id
107+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order_cancel_reason__name
108+
msgid "Reason"
109+
msgstr ""
110+
111+
#. module: sale_cancel_reason
112+
#: model:ir.model.fields,field_description:sale_cancel_reason.field_sale_order__cancel_reason_id
113+
msgid "Reason for cancellation"
114+
msgstr ""
115+
116+
#. module: sale_cancel_reason
117+
#: model:ir.actions.act_window,name:sale_cancel_reason.action_sale_order_cancel
118+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
119+
msgid "Reason for the cancellation"
120+
msgstr ""
121+
122+
#. module: sale_cancel_reason
123+
#: model:ir.model,name:sale_cancel_reason.model_sale_order
124+
msgid "Sale Order"
125+
msgstr ""
126+
127+
#. module: sale_cancel_reason
128+
#: model:ir.actions.act_window,name:sale_cancel_reason.action_sale_order_cancel_reason
129+
#: model:ir.model,name:sale_cancel_reason.model_sale_order_cancel_reason
130+
msgid "Sale Order Cancel Reason"
131+
msgstr ""
132+
133+
#. module: sale_cancel_reason
134+
#: model:ir.ui.menu,name:sale_cancel_reason.menu_sale_order_cancel_reason
135+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel_reason_form
136+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel_reason_tree
137+
msgid "Sale Order Cancel Reasons"
138+
msgstr ""
139+
140+
#. module: sale_cancel_reason
141+
#: model:sale.order.cancel.reason,name:sale_cancel_reason.cancel_reason_no_service_needed
142+
msgid "Service no longer needed"
143+
msgstr ""
144+
145+
#. module: sale_cancel_reason
146+
#: model_terms:ir.ui.view,arch_db:sale_cancel_reason.view_sale_order_cancel
147+
msgid "or"
148+
msgstr ""

0 commit comments

Comments
 (0)