Skip to content

Commit

Permalink
fixup! [FIX] pos_order_return : disable buggy test
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Mar 30, 2022
1 parent 3387944 commit 4ec1586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pos_order_return/tests/test_pos_order_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Copyright 2018 Lambda IS DOOEL <https://www.lambda-is.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

import unittest

from odoo.tests import common, tagged


Expand Down Expand Up @@ -116,8 +118,7 @@ def setUp(self):
res = self.pos_order.action_pos_order_invoice()
self.invoice = self.env["account.move"].browse(res["res_id"])

# Disabled test.
# TODO: FIXME.
@unittest.skip("Errors when other OCA / Pos modules are installed")
def _test_pos_order_full_refund(self):
self.pos_order.refund()
refund_order = self.pos_order.refund_order_ids
Expand All @@ -139,8 +140,7 @@ def _test_pos_order_full_refund(self):
# Partner balance is 0
self.assertEqual(sum(self.partner.mapped("invoice_ids.amount_total_signed")), 0)

# Disabled test.
# TODO: FIXME.
@unittest.skip("Errors when other OCA / Pos modules are installed")
def _test_pos_order_partial_refund(self):
partial_refund = (
self.env["pos.partial.return.wizard"]
Expand Down

0 comments on commit 4ec1586

Please sign in to comment.