Skip to content

Commit

Permalink
refactor(test): enable billed amt update on Sales Return(Cr Note)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0c5bdbd)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Nov 6, 2023
1 parent 463accb commit 61573f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erpnext/stock/doctype/delivery_note/test_delivery_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ def test_returned_qty_in_return_dn(self):

dn1 = create_delivery_note(is_return=1, return_against=dn.name, qty=-3)
si1 = make_sales_invoice(dn1.name)
si1.update_billed_amount_in_delivery_note = True
si1.insert()
si1.submit()
dn1.reload()
Expand All @@ -1037,6 +1038,7 @@ def test_returned_qty_in_return_dn(self):

dn2 = create_delivery_note(is_return=1, return_against=dn.name, qty=-4)
si2 = make_sales_invoice(dn2.name)
si2.update_billed_amount_in_delivery_note = True
si2.insert()
si2.submit()
dn2.reload()
Expand Down

0 comments on commit 61573f2

Please sign in to comment.