mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: allowed change prices in folio sale lines with invoice reversed
This commit is contained in:
@@ -1089,7 +1089,7 @@ class FolioSaleLine(models.Model):
|
||||
return res
|
||||
|
||||
def unlink(self):
|
||||
if self.invoice_lines:
|
||||
if self.qty_invoiced > 0:
|
||||
raise UserError(
|
||||
_(
|
||||
"You cannot delete a sale order line once a "
|
||||
|
||||
Reference in New Issue
Block a user