fix: delivery note print error (#25080)

This commit is contained in:
Jannat Patel 2021-03-31 16:24:08 +05:30 committed by GitHub
parent 45eccfafc1
commit 11e9ae3841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ class DeliveryNote(SellingController):
for f in fieldname:
toggle_print_hide(self.meta if key == "parent" else item_meta, f)
super(DeliveryNote, self).before_print()
super(DeliveryNote, self).before_print(settings)
def set_actual_qty(self):
for d in self.get('items'):