Skip to content

Commit

Permalink
[MIG] stock_move_planned_consumed_date: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandregaldeano committed Jan 24, 2025
1 parent 9817001 commit 95f9af4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
7 changes: 4 additions & 3 deletions stock_move_planned_consumed_date/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Copyright 2024 Foodles (https://www.foodles.co)
# Copyright 2024-2025 Foodles (https://www.foodles.co)
# @author Pierre Verkest <pierreverkest84@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Move planned consumed date",
"Summary": "Do not merge stock move with different planned consumed date.",
"version": "14.0.0.1.1",
"version": "17.0.1.0.0",
"development_status": "Beta",
"author": "Pierre Verkest <pierreverkest84@gmail.com>, Odoo Community Association (OCA)",
"author": "Pierre Verkest <pierreverkest84@gmail.com>, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"category": "Warehouse Management",
"depends": ["stock"],
Expand Down
4 changes: 2 additions & 2 deletions stock_move_planned_consumed_date/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0+e\n"
"Project-Id-Version: Odoo Server 17.0+e\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 2024 Foodles (https://www.foodles.co)
# Copyright 2024-2025 Foodles (https://www.foodles.co)
# @author Pierre Verkest <pierreverkest84@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from datetime import datetime

from odoo.tests.common import SavepointCase
from odoo.tests.common import TransactionCase


class TestPropagatePlannedConsumedDate(SavepointCase):
class TestPropagatePlannedConsumedDate(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Foodles (http://www.foodles.co).
<!-- Copyright 2024-2025 Foodles (http://www.foodles.co).
@author Pierre Verkest <pierreverkest84@gmail.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
<odoo>
Expand All @@ -9,13 +9,13 @@
<field name="inherit_id" ref="stock.view_picking_form" />
<field name="arch" type="xml">
<xpath
expr="//page[@name='operations']/field[@name='move_ids_without_package']/tree/field[@name='reserved_availability']"
expr="//page[@name='operations']/field[@name='move_ids_without_package']/tree/field[@name='availability']"
position="after"
>
<field name="planned_consumed_date" optional="hide" />
</xpath>
<xpath
expr="//page[@name='operations']/field[@name='move_ids_without_package']/form//field[@name='reserved_availability']"
expr="//page[@name='operations']/field[@name='move_ids_without_package']/form//field[@name='availability']"
position="after"
>
<field name="planned_consumed_date" />
Expand Down

0 comments on commit 95f9af4

Please sign in to comment.