[MIG] mrp_lot_production_date: Migration to 16.0

This commit is contained in:
JuMiSanAr
2023-02-13 12:00:23 +01:00
parent e07793ef9e
commit 259175c8ba
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "MRP Lot Production Date",
"Summary": "Set a production date automatically on produced lots/SN.",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
"category": "Manufacturing",

View File

@@ -1,10 +1,10 @@
# Copyright 2023 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from odoo.tests.common import Form, SavepointCase
from odoo.tests.common import Form, TransactionCase
class TestMrpLotProductionDate(SavepointCase):
class TestMrpLotProductionDate(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
@@ -17,7 +17,7 @@ class TestMrpLotProductionDate(SavepointCase):
form.bom_id = bom
form.product_qty = product_qty
order = form.save()
order.invalidate_cache()
order.invalidate_recordset()
return order
@classmethod