mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
fix pylint
This commit is contained in:
@@ -172,7 +172,7 @@ class TestRmaStockAccount(TestRma):
|
||||
# When we received we Credited to GDNI 30
|
||||
# When we refund we Debit to GDNI 10
|
||||
self.assertEqual(gdni_balance, -20.0)
|
||||
make_refund = self.rma_refund_wizwith_context(
|
||||
make_refund = self.rma_refund_wiz.with_context(
|
||||
**{
|
||||
"customer": True,
|
||||
"active_ids": rma.ids,
|
||||
|
||||
@@ -54,8 +54,8 @@ class TestRmaAccountUnreconciled(TestRma):
|
||||
rma_line.action_rma_approve()
|
||||
self.assertFalse(rma_line.unreconciled)
|
||||
self.rma_customer_id.rma_line_ids.action_rma_to_approve()
|
||||
wizard = self.rma_make_picking.with_context(
|
||||
{
|
||||
wizard = self.rma_make_pickingwith_context(
|
||||
**{
|
||||
"active_ids": self.rma_customer_id.rma_line_ids.ids,
|
||||
"active_model": "rma.order.line",
|
||||
"picking_type": "incoming",
|
||||
@@ -73,7 +73,7 @@ class TestRmaAccountUnreconciled(TestRma):
|
||||
rma_line._compute_unreconciled()
|
||||
self.assertTrue(rma_line.unreconciled)
|
||||
make_refund = self.rma_refund_wiz.with_context(
|
||||
{
|
||||
**{
|
||||
"customer": True,
|
||||
"active_ids": self.rma_customer_id.rma_line_ids.ids,
|
||||
"active_model": "rma.order.line",
|
||||
|
||||
Reference in New Issue
Block a user