Skip to content

Commit

Permalink
Merge pull request #417 from ForgeFlow/14.0-fix-rma_purchase
Browse files Browse the repository at this point in the history
[FIX] rma_purchase: fix migration warnings
  • Loading branch information
JuanyDForgeflow authored Mar 20, 2023
2 parents 4989d57 + 6ca1357 commit fbb102d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion rma/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# This file contains the translation of the following modules:
# * rma
#

msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
Expand Down Expand Up @@ -1828,4 +1829,4 @@ msgstr "Asistente para crear pickings a partir de líneas rma"
#: model_terms:ir.ui.view,arch_db:rma.view_rma_picking
#: model_terms:ir.ui.view,arch_db:rma.view_rma_picking_out
msgid "or"
msgstr "o"
msgstr "o"
8 changes: 4 additions & 4 deletions rma_purchase/tests/test_rma_stock_account_purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ def test_02_return_and_refund_ref_po(self):
bill_form.add_rma_line_id = rma_line
bill = bill_form.save()
bill.action_post()
self.assertEquals(len(bill.invoice_line_ids), 1)
self.assertEquals(bill.invoice_line_ids.rma_line_id, rma_line)
self.assertEquals(bill.invoice_line_ids.price_unit, pol_1.price_unit)
self.assertEquals(bill.invoice_line_ids.quantity, 20)
self.assertEqual(len(bill.invoice_line_ids), 1)
self.assertEqual(bill.invoice_line_ids.rma_line_id, rma_line)
self.assertEqual(bill.invoice_line_ids.price_unit, pol_1.price_unit)
self.assertEqual(bill.invoice_line_ids.quantity, 20)
grni_amls = self.env["account.move.line"].search(
[
("account_id", "=", self.account_grni.id),
Expand Down

0 comments on commit fbb102d

Please sign in to comment.