fix: Set remarks blank instead of No remarks in Sales/Purchase Invoices

(cherry picked from commit 2515bf3aff)
This commit is contained in:
khushi8112
2026-04-09 01:54:35 +05:30
committed by Mergify
parent 93def4dd13
commit a71814a483
2 changed files with 0 additions and 6 deletions

View File

@@ -332,9 +332,6 @@ class PurchaseInvoice(BuyingController):
if self.bill_date:
self.remarks += " " + _("dated {0}").format(formatdate(self.bill_date))
else:
self.remarks = _("No Remarks")
def set_missing_values(self, for_validate=False):
if not self.credit_to:
self.credit_to = get_party_account("Supplier", self.supplier, self.company)

View File

@@ -1101,9 +1101,6 @@ class SalesInvoice(SellingController):
if self.po_date:
self.remarks += " " + _("dated {0}").format(formatdate(self.po_date))
else:
self.remarks = _("No Remarks")
def validate_auto_set_posting_time(self):
# Don't auto set the posting date and time if invoice is amended
if self.is_new() and self.amended_from: