[FIX]do not copy name when duplicating

This commit is contained in:
Aaron Henriquez
2019-07-11 16:39:50 +02:00
committed by ahenriquez
parent 16cb451bd0
commit 9fff0c2fdd

View File

@@ -180,7 +180,7 @@ class RmaOrderLine(models.Model):
string='Reference', required=True, default='/', string='Reference', required=True, default='/',
readonly=True, states={'draft': [('readonly', False)]}, readonly=True, states={'draft': [('readonly', False)]},
help='Add here the supplier RMA #. Otherwise an internal code is' help='Add here the supplier RMA #. Otherwise an internal code is'
' assigned.', ' assigned.', copy=False
) )
description = fields.Text(string='Description') description = fields.Text(string='Description')
origin = fields.Char( origin = fields.Char(