fix: update posting date before running validations

This commit is contained in:
Dany Robert
2025-03-26 11:37:35 +05:30
committed by GitHub
parent 9d2f9ad4c0
commit d04dbd8ed9

View File

@@ -273,8 +273,8 @@ class SalesInvoice(SellingController):
self.indicator_title = _("Paid")
def validate(self):
super().validate()
self.validate_auto_set_posting_time()
super().validate()
if not (self.is_pos or self.is_debit_note):
self.so_dn_required()