Skip to content

Commit

Permalink
Merge PR OCA#2186 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed May 2, 2024
2 parents 1dbe6c6 + 011c79f commit 867847e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sale_invoice_blocking/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class SaleOrder(models.Model):
invoice_blocking_reason_id = fields.Many2one(
"invoice.blocking.reason",
string="Blocking for invoicing",
states={"cancel": [("readonly", True)]},
)

@api.depends("invoice_blocking_reason_id", "state", "order_line.invoice_status")
Expand Down

0 comments on commit 867847e

Please sign in to comment.