Skip to content

Commit

Permalink
fix required on sales_condition in Cancel state
Browse files Browse the repository at this point in the history
  • Loading branch information
gurneyalex committed Mar 17, 2017
1 parent 4236cb3 commit 01089af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion odoo/local-src/specific_sale/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class SaleOrder(models.Model):
string='Sales Condition',
required=True,
attachment=True,
states={'draft': [('required', False)]}
copy=True,
states={'draft': [('required', False)],
'cancel': [('required', False)]}
)
sales_condition_filename = fields.Char()

Expand Down

0 comments on commit 01089af

Please sign in to comment.