Skip to content

Commit

Permalink
Add copy=False on field date_validity
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed May 9, 2017
1 parent 02e7fac commit 3650a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_validity/model/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SaleOrder(models.Model):
_inherit = 'sale.order'

date_validity = fields.Date(
string='Valid Until', readonly=True,
string='Valid Until', readonly=True, copy=False,
help="Define date until when quotation is valid",
states={
'draft': [('readonly', False)],
Expand Down

0 comments on commit 3650a73

Please sign in to comment.