Skip to content

[18.0][MIG] purchase_order_line_sequence: Migration to 18.0 #2709

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

Merged
merged 39 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
05903fe
[IMP] renamed the module name.
SerpentCS Sep 26, 2016
9efa2ae
[ADD] added dependencies and sequences
SerpentCS Sep 28, 2016
c4f930d
[IMP] test cases
serpentcs-dev1 Mar 6, 2017
6ca1e54
[ADD] purchase_order_line_sequence v10
serpentcs-dev1 Jun 30, 2017
a299a4f
[ADD] Missing dependency
jpoa Mar 15, 2018
a51ea05
[FIX] Bug in the logic of the module
jpoa Mar 26, 2018
fb2c3cc
[FIX] Assure sequence of stock moves are the same as of po lines
MiquelRForgeFlow Jul 26, 2018
1b58779
[FIX] Correct a test. Products are in purchase_method 'receive'
MiquelRForgeFlow Jul 26, 2018
dac883e
[UPD] Update purchase_order_line_sequence.pot
oca-travis Jul 30, 2018
cc8683c
[FIX] Make module compatible with other reporting modules
MiquelRForgeFlow Sep 20, 2018
49376c9
[MIG] purchase_order_line_sequence to version 12
bjeficent Nov 26, 2018
8310916
[UPD] Update purchase_order_line_sequence.pot
oca-travis Mar 11, 2020
d5ce497
[UPD] README.rst
OCA-git-bot Mar 11, 2020
cf422c1
[ADD] icon.png
OCA-git-bot Mar 11, 2020
6837beb
Update translation files
oca-transbot Mar 11, 2020
45e1f56
[FIX]purchase_order_line_sequence. Do not update move sequence in mov…
AaronHForgeFlow Dec 18, 2019
9118ebe
purchase_order_line_sequence 12.0.1.0.1
OCA-git-bot Apr 14, 2020
5c59180
Update translation files
oca-transbot Aug 16, 2020
d355439
Translated using Weblate (French)
SandieFavre Aug 28, 2020
f943e6a
[IMP] purchase_order_line_sequence: black, isort, prettier
cjallais Feb 3, 2021
f821682
[MIG] purchase_order_line_sequence: Migration to 14.0
cjallais Jan 7, 2021
fc4ab74
[UPD] Update purchase_order_line_sequence.pot
oca-travis Jul 4, 2021
7fe82e0
[UPD] README.rst
OCA-git-bot Jul 4, 2021
ef067d2
[IMP] purchase_order_line_sequence: delete unused file
MiquelRForgeFlow Apr 5, 2022
98f36c5
Added translation using Weblate (German)
manengel May 6, 2022
77046dd
[REM] purchase_order_line_sequence: Not needed anymore
rousseldenis Jul 6, 2022
f0c1731
[FIX] Adding tags to unittests for purchase_deposit and purchase_orde…
mt-software-de Sep 19, 2022
78cfe66
Added translation using Weblate (Spanish)
JHernandezConinpe May 29, 2023
94c0859
Translated using Weblate (Spanish)
JHernandezConinpe May 29, 2023
f7a6e66
[IMP] purchase_order_line_sequence: use correct sequence in moves whe…
OriolMForgeFlow Jun 27, 2023
d88cc95
[IMP] purchase_order_line_sequence: pre-commit stuff
AungKoKoLin1997 Aug 1, 2023
1b77828
[IMP] purchase_order_line_sequence: module refactor, new sequence fie…
OriolMForgeFlow Jun 30, 2023
24449c1
[MIG] purchase_order_line_sequence: Migration to 16.0
AungKoKoLin1997 Aug 1, 2023
918a5c0
[15.0][IMP] purchase_order_line_sequence: Show only PO related sequen…
SergiCForgeFlow Aug 31, 2023
8266540
[IMP] purchase_order_line_sequence: pre-commit auto fixes
StefanRijnhart Sep 23, 2024
509ab22
[MIG] purchase_order_line_sequence: Migration to 17.0
StefanRijnhart Sep 23, 2024
6bf4d3b
[IMP] purchase_order_line_sequence: pre-commit auto fixes
AEstLo Jun 6, 2025
f81fe91
[MIG] purchase_order_line_sequence: Migration to 18.0
AEstLo Jun 6, 2025
bbd82fd
[MIG] purchase_order_line_sequence: Migration to 18.0
AEstLo Jun 7, 2025
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
96 changes: 96 additions & 0 deletions purchase_order_line_sequence/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
============================
Purchase Order Line Sequence
============================

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

.. |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/18.0/purchase_order_line_sequence
: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-18-0/purchase-workflow-18-0-purchase_order_line_sequence
: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=18.0
:alt: Try me on Runboat

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

The sequence in PO line is propagated to the Stock moves. The sequence
number appears in the PO form view and in the report.

**Table of contents**

.. contents::
:local:

Usage
=====

This module depends on the following module(s) :

- stock_picking_line_sequence
(https://github.com/OCA/stock-logistics-workflow/)

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

In standard odoo is possible to sort the purchase order lines and those
are propagated to the invoice lines

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_sequence%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
* ForgeFlow
* Serpent CS

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

- Cécile Jallais <[email protected]>
- Damien Crier <[email protected]>
- ForgeFlow S.L. <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_line_sequence>`_ 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 purchase_order_line_sequence/__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.html).

from . import models
31 changes: 31 additions & 0 deletions purchase_order_line_sequence/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2017 Camptocamp SA - Damien Crier, Alexandre Fayolle
# Copyright 2017 ForgeFlow S.L.
# Copyright 2017 Serpent Consulting Services Pvt. Ltd.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Purchase Order Line Sequence",
"summary": "Adds sequence to PO lines and propagates it to"
"Invoice lines and Stock Moves",
"version": "18.0.1.0.0",
"category": "Purchase Management",
"author": "Camptocamp, "
"ForgeFlow, "
"Serpent CS, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"depends": [
"purchase_stock",
"stock_picking_line_sequence",
],
"data": [
"views/purchase_view.xml",
"views/report_purchaseorder.xml",
"views/report_purchasequotation.xml",
"views/account_move_view.xml",
"views/report_invoice.xml",
],
"installable": True,
"auto_install": False,
"license": "AGPL-3",
}
74 changes: 74 additions & 0 deletions purchase_order_line_sequence/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_line_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\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"

#. module: purchase_order_line_sequence
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_order_sequence_qweb
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_quote_sequence_qweb
msgid "<strong>Sequence</strong>"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__display_name
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Displays the sequence of the line in the purchase order."
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Gives the sequence of the line when displaying the purchase order."
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Hidden Sequence"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__id
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__id
msgid "ID"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order____last_update
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__max_line_sequence
msgid "Max sequence in lines"
msgstr ""

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

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

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Sequence"
msgstr ""
76 changes: 76 additions & 0 deletions purchase_order_line_sequence/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_line_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-05-29 19:08+0000\n"
"Last-Translator: JHernandezConinpe <[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 4.17\n"

#. module: purchase_order_line_sequence
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_order_sequence_qweb
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_quote_sequence_qweb
msgid "<strong>Sequence</strong>"
msgstr "<strong>Número de línea</strong>"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__display_name
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Displays the sequence of the line in the purchase order."
msgstr "Muestra la secuencia de la línea en el pedido de compra."

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Gives the sequence of the line when displaying the purchase order."
msgstr "Indica la secuencia de la línea al visualizar el pedido de compra."

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Hidden Sequence"
msgstr "Secuencia oculta"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__id
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__id
msgid "ID"
msgstr "ID"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order____last_update
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line____last_update
msgid "Last Modified on"
msgstr "Última modificación"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__max_line_sequence
msgid "Max sequence in lines"
msgstr "Secuencia máxima en líneas"

#. module: purchase_order_line_sequence
#: model:ir.model,name:purchase_order_line_sequence.model_purchase_order
msgid "Purchase Order"
msgstr "Pedido de compra"

#. module: purchase_order_line_sequence
#: model:ir.model,name:purchase_order_line_sequence.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de pedido de compra"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Sequence"
msgstr "Número de línea"
67 changes: 67 additions & 0 deletions purchase_order_line_sequence/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_reorder_lines
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-10 13:13+0000\n"
"PO-Revision-Date: 2020-08-28 17:00+0000\n"
"Last-Translator: Sandie FAVRE <[email protected]>\n"
"Language-Team: \n"
"Language: fr\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: purchase_order_line_sequence
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_order_sequence_qweb
#: model_terms:ir.ui.view,arch_db:purchase_order_line_sequence.report_purchase_quote_sequence_qweb
msgid "<strong>Sequence</strong>"
msgstr "Séquence"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Displays the sequence of the line in the purchase order."
msgstr "Affiche la séquence de la ligne dans l'ordre d'achat."

#. module: purchase_order_line_sequence
#: model:ir.model.fields,help:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Gives the sequence of the line when displaying the purchase order."
msgstr "Donne la séquence de la ligne lors de l'affichage du bon de commande."

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence
msgid "Hidden Sequence"
msgstr "Séquence masquée"

#. module: purchase_order_line_sequence
#: model:ir.model,name:purchase_order_line_sequence.model_account_invoice_line
msgid "Invoice Line"
msgstr "Ligne de facture"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order__max_line_sequence
msgid "Max sequence in lines"
msgstr ""

#. module: purchase_order_line_sequence
#: model:ir.model,name:purchase_order_line_sequence.model_purchase_order
msgid "Purchase Order"
msgstr "Bon de commande"

#. module: purchase_order_line_sequence
#: model:ir.model,name:purchase_order_line_sequence.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Ligne de bon de commande"

#. module: purchase_order_line_sequence
#: model:ir.model.fields,field_description:purchase_order_line_sequence.field_purchase_order_line__sequence2
msgid "Sequence"
msgstr "Séquence"

#~ msgid "Purchase Order Line Make Invoice"
#~ msgstr "Créer la facture des lignes de commande d'achat"
Loading