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

[18.0] [MIG] sale_cancel_reason: Migration to 18.0 #3506

Open
wants to merge 80 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
c352220
[MRG] from master branch
guewen Aug 13, 2013
23d6d19
[FIX] sale cancel reason dependence
nbessi Aug 9, 2013
17e407b
[FIX] sale_cancel_reason: remove dependency on sale_stock
guewen Aug 9, 2013
9a53292
spellcheck
gurneyalex Nov 29, 2013
3d1caf4
[FIX] repository PEP8
eLBati Aug 7, 2014
a085207
[FIX] Still some PEP8 erros
eLBati Aug 7, 2014
407ffe6
- Set as uninstallable and moved to __unported__ dir all modules.
pedrobaeza Aug 7, 2014
63bd52a
reactivate sale_cancel_reason
yvaucher Aug 25, 2014
af09ab6
port models and method to api 8.0
yvaucher Aug 25, 2014
4696f50
Improve override of cancel button to ease inheritance of view
yvaucher Jan 27, 2015
303ebe8
[FIX] typo on class name
rdeheele Feb 17, 2015
9936be6
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
2d2b2d7
Added Finnish translations
mlaitinen May 22, 2015
75e3f5b
[FIX] cancel button of orignal view should be hide after installation…
dhp-denero Jul 16, 2015
84c7c96
Add missing default oca icons
yvaucher Aug 18, 2015
2790791
Slovene translations added
sysadminmatmoz Aug 20, 2015
41e5ad3
bump version of sale_cancel_reason
yvaucher Aug 28, 2015
47ab97d
OCA Transbot updated translations from Transifex
oca-transbot Sep 13, 2015
e927156
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
b13c86a
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
7dfeaa5
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
8d30e6e
[MIG] sale_cancel_reason Migration to 10.0 (#477)
kittiu May 30, 2017
01aef8b
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
5bd1024
[UPD] Update sale_cancel_reason.pot
oca-travis Jun 20, 2018
51f4fe9
Update translation files
oca-transbot Nov 24, 2018
018663d
Translated using Weblate (Portuguese)
pedrocs-exo Nov 24, 2018
303538f
[MIG] sale_cancel_reason: Migration to 12.0
Mar 25, 2019
ef788f1
[UPD] README.rst
OCA-git-bot Mar 27, 2019
7263bd6
[UPD] Update sale_cancel_reason.pot
oca-travis Mar 27, 2019
a36cdf4
Update translation files
oca-transbot May 20, 2019
6dedabe
Translated using Weblate (German)
marylla Jul 15, 2019
42e6e75
[UPD] README.rst
OCA-git-bot Jul 29, 2019
00cc427
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
066a827
[12.0][FIX] Sale Order Cancel Reasons menu configuration
Nov 11, 2019
547580a
[UPD] README.rst
OCA-git-bot Nov 11, 2019
0574cbc
sale_cancel_reason 12.0.1.1.0
OCA-git-bot Nov 11, 2019
5fe8d56
Translated using Weblate (Spanish (Chile))
Jan 3, 2020
e6982de
[FIX] sale_cancel_reason: fix access for salesteam salesman group
skeller1 Jun 4, 2020
4aa5363
sale_cancel_reason 12.0.1.2.0
OCA-git-bot Jul 19, 2020
9a6c5dd
Translated using Weblate (Slovenian)
sysadminmatmoz Aug 11, 2020
45600f1
[FIX] pep8 and pylint
renatonlima Sep 4, 2020
3514b67
[IMP] sale_cancel_reason: black, isort, prettier
alan196 Oct 31, 2020
987a39b
[MIG] sale_cancel_reason: Migration to 13.0
alan196 Oct 31, 2020
3097c4f
[UPD] Update sale_cancel_reason.pot
oca-travis Feb 25, 2021
b07f365
Translated using Weblate (Dutch)
Mar 10, 2021
5f769ec
Translated using Weblate (Spanish)
brendapaniagua Mar 19, 2021
29b1bf3
Translated using Weblate (French)
vincent-hatakeyama Nov 12, 2021
1fce0b1
[IMP] sale_cancel_reason: black, isort, prettier
ao-landoo Aug 12, 2022
ad1ad94
[MIG] sale_cancel_reason: Migration to 14.0
ao-landoo Aug 12, 2022
2463df4
[UPD] Update sale_cancel_reason.pot
Aug 17, 2022
3f11f08
[UPD] README.rst
OCA-git-bot Aug 17, 2022
7c79daa
sale_cancel_reason 14.0.1.0.1
OCA-git-bot Aug 17, 2022
9c597d4
[IMP] sale_cancel_reason: Do not copy cancel reason on order duplicate
ao-landoo Aug 19, 2022
76364a2
sale_cancel_reason 14.0.1.1.0
OCA-git-bot Aug 30, 2022
aee256f
Translated using Weblate (Italian)
mymage Mar 23, 2023
a39c819
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
a7a1a2b
Translated using Weblate (Italian)
mymage Apr 15, 2023
ed18e94
[MIG] sale_cancel_reason: Migration to 16.0
Apr 17, 2023
e3ab6c7
[MIG] sale_cancel_reason: fix test and pre-commit
Apr 17, 2023
399bc44
[UPD]sale_cancel_reason change setUp to setUpClass
Apr 18, 2023
ccd6f34
[UPD] Update sale_cancel_reason.pot
Apr 20, 2023
4322e62
[UPD] README.rst
OCA-git-bot Apr 20, 2023
6f0419c
Update translation files
weblate Apr 20, 2023
c4bb9a0
[16.0][IMP]sale_cancel_reason: set reason to false when status is != …
Apr 20, 2023
bdb39a5
sale_cancel_reason 16.0.1.0.1
OCA-git-bot Apr 20, 2023
38ebeb3
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 12, 2023
87feea0
Translated using Weblate (Spanish)
Ivorra78 Jul 25, 2023
28bb39d
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0f9c145
Update translation files
weblate Oct 10, 2023
2344f6c
[IMP] sale_cancel_reason: pre-commit auto fixes
maciej-wichowski Apr 9, 2024
56861bc
[MIG] sale_cancel_reason: migration to 17.0
maciej-wichowski Apr 9, 2024
38b758c
[UPD] Update sale_cancel_reason.pot
Apr 15, 2024
a6b9616
[BOT] post-merge updates
OCA-git-bot Apr 15, 2024
769a5f8
Update translation files
weblate Apr 15, 2024
906e298
Update translation files
weblate Apr 15, 2024
3caffb6
Translated using Weblate (Italian)
mymage Apr 17, 2024
dbe4f4a
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
fa862c0
Translated using Weblate (Swedish)
jakobkrabbe Jun 12, 2024
3857e9e
[IMP] sale_cancel_reason: pre-commit auto fixes
bizzappdev Dec 17, 2024
fe734e7
[MIG] sale_cancel_reason: Migration to 18.0
bizzappdev Dec 17, 2024
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
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. <[email protected]>
- Victor M.M Torres <[email protected]>
- Bhavesh Odedra <[email protected]>
- Alan Ramos <[email protected]>
- Aritz Olea <[email protected]>, Landoo SL
- Hugo Córdoba <[email protected]>
- Maciej Wichowski <[email protected]>

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 <[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_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 <[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: 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
Loading