commit
3c5200fae5
|
|
@ -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):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue