Merge pull request #5849 from expsa/email_t

email_tem
This commit is contained in:
esam-sermah 2025-12-28 15:19:28 +03:00 committed by GitHub
commit 3c5200fae5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -376,8 +376,8 @@ class PurchaseRFQ(models.Model):
if any((l.quantity or 0.0) <= 0.0 for l in self.line_ids): if any((l.quantity or 0.0) <= 0.0 for l in self.line_ids):
raise UserError(_('ضروري الكمية تكون أكبر من 0.')) raise UserError(_('ضروري الكمية تكون أكبر من 0.'))
# if any((l.price_unit or 0.0) <= 0.0 for l in self.line_ids): if any((l.price_unit or 0.0) <= 0.0 for l in self.line_ids):
# raise UserError(_('رجاء أضِف الأسعار لكل السطور.')) raise UserError(_('رجاء أضِف الأسعار لكل السطور.'))
def _sync_approved_prices_to_request(self): def _sync_approved_prices_to_request(self):