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

[16.0][MIG] purchase_order_line_deep_sort: Migration to 16.0 #2470

Open
wants to merge 35 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
46d132e
[ADD] purchase_order_line_deep_sort: new module
cubells Nov 26, 2018
8604720
[IMP] purchase_order_line_deep_sort: Don't eval
pedrobaeza Feb 25, 2019
fa05f92
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Feb 26, 2019
416d344
[ADD] icon.png
OCA-git-bot Apr 3, 2019
0a6117b
[11.0][FIX] purchase_order_line_deep_sort: Fix compute order when ord…
sergio-teruel May 7, 2019
7356dad
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis May 9, 2019
cb60f5c
[11.0][FIX] purchase_order_line_deep_sort: Fix sorted with string and…
sergio-teruel Jun 6, 2019
08a0f96
[UPD] README.rst
OCA-git-bot Jul 29, 2019
8a31006
[MIG] purchase_order_line_deep_sort: Migration to v12.0
sergio-teruel Oct 23, 2019
084a148
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Oct 23, 2019
d55594d
Update translation files
oca-transbot Oct 28, 2019
4c28c5a
[IMP] purchase_order_line_deep_sort: black, isort, prettier
tonygalmiche May 26, 2020
f5f54a2
[MIG] purchase_order_line_deep_sort: Migration to 13.0
tonygalmiche May 26, 2020
d23d2b6
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Jun 1, 2020
4396e8b
[UPD] README.rst
OCA-git-bot Jun 1, 2020
09fd1dd
Update translation files
oca-transbot Jun 3, 2020
5684f5f
Update translation files
oca-transbot Aug 16, 2020
3d9e640
[FIX] Delete empty " " spaces in same string line
MiquelRForgeFlow Sep 30, 2020
f26d42d
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Oct 5, 2020
073fe73
Update translation files
oca-transbot Oct 5, 2020
d27b83e
[IMP] purchase_order_line_deep_sort: black, isort, prettier
PrapassornS Dec 17, 2020
13377c5
[MIG] purchase_order_line_deep_sort: Migration to 14.0
PrapassornS Dec 17, 2020
2ad94b9
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Jan 14, 2021
c9a7d07
[UPD] README.rst
OCA-git-bot Jan 14, 2021
e20220a
[UPD] Update purchase_order_line_deep_sort.pot
oca-travis Mar 23, 2022
44a9bfe
Update translation files
oca-transbot Mar 23, 2022
413031a
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 31, 2022
e71a4c7
[MIG] purchase_order_line_deep_sort: Migration to 15.0
stefan-tecnativa Feb 9, 2023
88348e2
[UPD] Update purchase_order_line_deep_sort.pot
Feb 9, 2023
b0043d3
[UPD] README.rst
OCA-git-bot Feb 9, 2023
297a72e
Update translation files
weblate Feb 9, 2023
0cdb6cd
[UPD] README.rst
OCA-git-bot Sep 3, 2023
2fa38ba
Translated using Weblate (Spanish)
Ivorra78 Oct 24, 2023
7004e96
[IMP] purchase_order_line_deep_sort: pre-commit stuff
HeliconiaSolutions Nov 27, 2024
e2c5ad9
[MIG] purchase_order_line_deep_sort: Migration to 16.0
HeliconiaSolutions Nov 27, 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
112 changes: 112 additions & 0 deletions purchase_order_line_deep_sort/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
=============================
Purchase Order Line Deep Sort
=============================

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

.. |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%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/16.0/purchase_order_line_deep_sort
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_order_line_deep_sort
: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/purchase-workflow&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module was written to extend the functionality of purchase order and allow
you to manage sort of lines.

You can set the default sort order for the current company or you can set sort
order for a particular purchase order.

**Table of contents**

.. contents::
:local:

Configuration
=============

* Sort criteria items can be defined with a dot notation. This means that you
can define an order as follows: **product_id.default_code**. But the field
defined must exist in database. If you define, e.g., a calculated field, sort
criteria won't work.

Usage
=====

#. Go to **Purchase > Settings > Default Sort Criteria** and select one.
#. You must select sort direction too.
#. Create a new purchase and add several lines.
#. On saving purchase order you must see how the purchase lines are ordered
with your selected sort order.

Known issues / Roadmap
======================

* Add support for ordering purchase lines by partner.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-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/purchase-workflow/issues/new?body=module:%20purchase_order_line_deep_sort%0Aversion:%2016.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com:>`_:

* Vicent Cubells <[email protected]>
* Pedro M. Baeza
* Stefan Ungureanu

* `Prothai <https://www.prothaitechnology.com:>`_:

* Prapassorn Sornkaew <[email protected]> (migrate to v14)

* 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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/16.0/purchase_order_line_deep_sort>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions purchase_order_line_deep_sort/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions purchase_order_line_deep_sort/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2018 Tecnativa - Vicent Cubells <[email protected]>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3

{
"name": "Purchase Order Line Deep Sort",
"version": "16.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Purchase Management",
"website": "https://github.com/OCA/purchase-workflow",
"summary": "Purchase Order Line Sort",
"depends": ["purchase"],
"data": ["views/res_config_settings_views.xml", "views/purchase_order_views.xml"],
"installable": True,
}
104 changes: 104 additions & 0 deletions purchase_order_line_deep_sort/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
msgid ""
msgstr ""
"Project-Id-Version: ametras-xsolutions\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: German\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-Crowdin-Project: ametras-xsolutions\n"
"X-Crowdin-Project-ID: 530964\n"
"X-Crowdin-Language: de\n"
"X-Crowdin-File: /[AmetrasIntelligence.oca-migrated] 16.0/purchase_order_line_deep_sort/i18n/purchase_order_line_deep_sort.pot\n"
"X-Crowdin-File-ID: 21402\n"
"Language: de_DE\n"
"PO-Revision-Date: 2024-09-25 12:08\n"

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_direction__asc
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_direction__asc
msgid "Ascending"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_order__date_planned
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_order__date_planned
msgid "By date planned"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_order__name
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_order__name
msgid "By name"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_order__product_id_name
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_order__product_id_name
msgid "By product name"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_order__product_id_default_code
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_order__product_id_default_code
msgid "By product reference"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__purchase_order__line_order__price_unit
#: model:ir.model.fields.selection,name:purchase_order_line_deep_sort.selection__res_company__default_po_line_order__price_unit
msgid "By unit price"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model,name:purchase_order_line_deep_sort.model_res_company
msgid "Companies"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model,name:purchase_order_line_deep_sort.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.res_config_settings_view_form
msgid "Default Sort Criteria"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.res_config_settings_view_form
msgid "Default sort criteria for purchase order lines"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.res_config_settings_view_form
msgid "Direction"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.res_config_settings_view_form
msgid "Line Order"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.purchase_order_form
msgid "Other Info"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model,name:purchase_order_line_deep_sort.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model:ir.model,name:purchase_order_line_deep_sort.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_order_line_deep_sort
#: model_terms:ir.ui.view,arch_db:purchase_order_line_deep_sort.res_config_settings_view_form
msgid "Select a default sort criteria for purchase order lines."
msgstr ""

Loading
Loading