fix pylint

This commit is contained in:
Jordi Ballester Alomar
2022-11-24 18:59:36 +01:00
parent 623b22c091
commit 59a94da9bc
2 changed files with 4 additions and 4 deletions

View File

@@ -172,7 +172,7 @@ class TestRmaStockAccount(TestRma):
# When we received we Credited to GDNI 30 # When we received we Credited to GDNI 30
# When we refund we Debit to GDNI 10 # When we refund we Debit to GDNI 10
self.assertEqual(gdni_balance, -20.0) self.assertEqual(gdni_balance, -20.0)
make_refund = self.rma_refund_wizwith_context( make_refund = self.rma_refund_wiz.with_context(
**{ **{
"customer": True, "customer": True,
"active_ids": rma.ids, "active_ids": rma.ids,

View File

@@ -54,8 +54,8 @@ class TestRmaAccountUnreconciled(TestRma):
rma_line.action_rma_approve() rma_line.action_rma_approve()
self.assertFalse(rma_line.unreconciled) self.assertFalse(rma_line.unreconciled)
self.rma_customer_id.rma_line_ids.action_rma_to_approve() 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_ids": self.rma_customer_id.rma_line_ids.ids,
"active_model": "rma.order.line", "active_model": "rma.order.line",
"picking_type": "incoming", "picking_type": "incoming",
@@ -73,7 +73,7 @@ class TestRmaAccountUnreconciled(TestRma):
rma_line._compute_unreconciled() rma_line._compute_unreconciled()
self.assertTrue(rma_line.unreconciled) self.assertTrue(rma_line.unreconciled)
make_refund = self.rma_refund_wiz.with_context( make_refund = self.rma_refund_wiz.with_context(
{ **{
"customer": True, "customer": True,
"active_ids": self.rma_customer_id.rma_line_ids.ids, "active_ids": self.rma_customer_id.rma_line_ids.ids,
"active_model": "rma.order.line", "active_model": "rma.order.line",