mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] Account_move_line_stock_info: migration to 14
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "Account Move Line Stock Info",
|
||||
"version": "13.0.1.1.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"depends": ["stock_account"],
|
||||
"author": "ForgeFlow," "Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
|
||||
* Lois Rilo <lois.rilo@forgeflow.com>
|
||||
* Pimolnat Suntian <pimolnats@ecosoft.co.th>
|
||||
* Joan Mateu <joan.mateu@forgeflow.com>
|
||||
|
||||
@@ -149,7 +149,7 @@ class TestAccountMoveLineStockInfo(TransactionCase):
|
||||
)
|
||||
picking_in.action_confirm()
|
||||
picking_in.move_lines.quantity_done = 1
|
||||
picking_in.action_done()
|
||||
picking_in._action_done()
|
||||
|
||||
account_move_line = False
|
||||
for move in picking_in.move_lines:
|
||||
@@ -162,7 +162,7 @@ class TestAccountMoveLineStockInfo(TransactionCase):
|
||||
)
|
||||
picking_out.action_confirm()
|
||||
picking_out.move_lines.quantity_done = 1
|
||||
picking_out.action_done()
|
||||
picking_out._action_done()
|
||||
|
||||
for move in picking_out.move_lines:
|
||||
self.assertEqual(len(move.account_move_line_ids), 2)
|
||||
|
||||
Reference in New Issue
Block a user