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_order_archive: Migration to 18.0 #3487

Open
wants to merge 23 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
23 commits
Select commit Hold shift + click to select a range
ab8c5b0
[11.0][ADD] sale_order_archive (#697)
astirpe Oct 1, 2018
e309f3b
[12.0][MIG] sale_order_archive
astirpe Dec 3, 2018
c70efdb
Add INSTALL.rst
astirpe Dec 4, 2018
8ced5b1
Added translation using Weblate (German)
marylla Jul 15, 2019
50122c1
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
c629a3c
{13.0][MIG] sale_order_archive
astirpe Oct 31, 2019
29a3b9f
Added translation using Weblate (Spanish)
danimv5 Jul 27, 2020
c1a1a85
[14.0][MIG] sale_order_archive
astirpe Oct 19, 2020
08963bd
Added translation using Weblate (Catalan)
danimv5 Jan 20, 2021
c7189a9
Added translation using Weblate (Dutch)
bosd Jan 25, 2021
04f917c
Added translation using Weblate (Portuguese (Brazil))
britoederr Feb 14, 2021
d73392f
Translated using Weblate (German)
marylla Jul 9, 2021
50a92d4
[MIG] sale_order_archive : Migrate sale_order_archive to v15.
CRogos Feb 15, 2022
f6be10b
sale_order_archive 15.0.1.0.1
OCA-git-bot Oct 21, 2022
2659bd8
Update translation files
weblate Oct 21, 2022
67d678e
[MIG] sale_order_archive: Migration to 16.0
Feb 14, 2023
17a7d11
Update translation files
weblate Mar 24, 2023
f57a885
Added translation using Weblate (Italian)
mymage Dec 7, 2023
2987e22
[IMP] sale_order_archive: black, isort, prettier
Mar 28, 2024
191ba6e
[MIG] sale_order_archive: Migration to 17.0
Mar 28, 2024
193a5b2
[UPD] Update sale_order_archive.pot
Apr 3, 2024
427fea9
[BOT] post-merge updates
OCA-git-bot Apr 3, 2024
4374150
[MIG] sale_order_archive: Migration to 18.0
HeliconiaSolutions Dec 13, 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
115 changes: 115 additions & 0 deletions sale_order_archive/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
==================
Sale Order Archive
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b17722d022ff4b15d972822a3fdf388670b48a2133d6dced80f9b1c5cf8bf317
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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_order_archive
: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_order_archive
: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|

On a system with a high volume of sales, the number of sale orders
displayed in the list view can become huge. This module allows to
archive Sale Orders that are in status Locked or Cancelled.

If a sale order is archived, it will be hidden from the sale orders list
view.

This module only depends on module sale, but it could be used in
combination with OCA module 'record_archiver' in order to automatically
archive old sale orders.

**Table of contents**

.. contents::
:local:

Installation
============

You need to install *sale_management* module for accessing the needed
menus.

Usage
=====

To archive sale orders, you need to:

1. Open the tree view of sale orders.
2. Select a sale order (in status Locked or Cancelled) you want to
archive.
3. Click on Action > Archive. Confirm.
4. The sale order is now archived.

To unarchive sale orders, you need to:

1. Open the tree view of sale orders.
2. In the filter box select the Archived filter. The list of archived
sale orders will be displayed.
3. Select the sale order (in status Locked or Cancelled) you want to
restore to Active.
4. Click on the Action > Unarchive.
5. The sale order is now active.

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_order_archive%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
-------

* Onestein

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

- Andrea Stirpe <[email protected]>
- Kinner Vachhani
- Ruchir Shukla <[email protected]>
- Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>

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_order_archive>`_ project on GitHub.

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

from . import models
15 changes: 15 additions & 0 deletions sale_order_archive/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017-2020 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Sale Order Archive",
"summary": "Archive Sale Orders",
"author": "Onestein, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sales",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["sale"],
"data": ["views/sale_order.xml"],
"installable": True,
}
49 changes: 49 additions & 0 deletions sale_order_archive/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_archive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-01-20 12:44+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_order_archive
#: model:ir.model.fields,field_description:sale_order_archive.field_sale_order__active
msgid "Active"
msgstr "Actiu"

#. module: sale_order_archive
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_form_view
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_search_view
msgid "Archived"
msgstr "Arxivat"

#. module: sale_order_archive
#. odoo-python
#: code:addons/sale_order_archive/models/sale_order.py:0
#, python-format
msgid "Only 'Locked' or 'Canceled' orders can be archived"
msgstr "Només es poden arxivar les comandes \"bloquejades\" o \"cancel·lades\""

#. module: sale_order_archive
#: model:ir.model,name:sale_order_archive.model_sale_order
msgid "Sales Order"
msgstr "Comandes de Venda"

#~ msgid "Display Name"
#~ msgstr "Nom visible"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Darrera modificació el"
40 changes: 40 additions & 0 deletions sale_order_archive/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_archive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-09 15:48+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: none\n"
"Language: de\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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_order_archive
#: model:ir.model.fields,field_description:sale_order_archive.field_sale_order__active
msgid "Active"
msgstr "Aktiv"

#. module: sale_order_archive
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_form_view
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_search_view
msgid "Archived"
msgstr "Archiviert"

#. module: sale_order_archive
#. odoo-python
#: code:addons/sale_order_archive/models/sale_order.py:0
#, python-format
msgid "Only 'Locked' or 'Canceled' orders can be archived"
msgstr "Nur 'Gesperrte' oder 'Abgebrochene' Aufträge können archiviert werden."

#. module: sale_order_archive
#: model:ir.model,name:sale_order_archive.model_sale_order
msgid "Sales Order"
msgstr "Verkaufsauftrag"
40 changes: 40 additions & 0 deletions sale_order_archive/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_archive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-07-27 10:19+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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"
"X-Generator: Weblate 3.10\n"

#. module: sale_order_archive
#: model:ir.model.fields,field_description:sale_order_archive.field_sale_order__active
msgid "Active"
msgstr "Activo"

#. module: sale_order_archive
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_form_view
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_search_view
msgid "Archived"
msgstr "Archivado"

#. module: sale_order_archive
#. odoo-python
#: code:addons/sale_order_archive/models/sale_order.py:0
#, python-format
msgid "Only 'Locked' or 'Canceled' orders can be archived"
msgstr "Solo se pueden archivar los pedidos 'Bloqueados' o 'Cancelados'"

#. module: sale_order_archive
#: model:ir.model,name:sale_order_archive.model_sale_order
msgid "Sales Order"
msgstr "Órdenes de venta"
40 changes: 40 additions & 0 deletions sale_order_archive/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_archive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-07 18:33+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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"
"X-Generator: Weblate 4.17\n"

#. module: sale_order_archive
#: model:ir.model.fields,field_description:sale_order_archive.field_sale_order__active
msgid "Active"
msgstr "Attivo"

#. module: sale_order_archive
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_form_view
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_search_view
msgid "Archived"
msgstr "In archivio"

#. module: sale_order_archive
#. odoo-python
#: code:addons/sale_order_archive/models/sale_order.py:0
#, python-format
msgid "Only 'Locked' or 'Canceled' orders can be archived"
msgstr "Solo ordini 'Bloccati' o 'Annullati' possono essere archiviati"

#. module: sale_order_archive
#: model:ir.model,name:sale_order_archive.model_sale_order
msgid "Sales Order"
msgstr "Ordine di vendita"
49 changes: 49 additions & 0 deletions sale_order_archive/i18n/nl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_archive
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-01-26 00:06+0000\n"
"Last-Translator: Bosd <[email protected]>\n"
"Language-Team: none\n"
"Language: nl\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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_order_archive
#: model:ir.model.fields,field_description:sale_order_archive.field_sale_order__active
msgid "Active"
msgstr "Actief"

#. module: sale_order_archive
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_form_view
#: model_terms:ir.ui.view,arch_db:sale_order_archive.sale_order_archive_search_view
msgid "Archived"
msgstr "Gearchiveerd"

#. module: sale_order_archive
#. odoo-python
#: code:addons/sale_order_archive/models/sale_order.py:0
#, fuzzy, python-format
msgid "Only 'Locked' or 'Canceled' orders can be archived"
msgstr "Alleen 'gesloten' of 'geannuleerde' order kunnen worden gearchiveerd"

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

#~ msgid "Display Name"
#~ msgstr "Weergavenaam"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Laatst bijgewerkt op"
Loading
Loading