[REV] account: change the type of name field in 'account.move.line'

This commit reverts 0c075552f7

Task 2306265

This had the side effect of blocking the group by label in the Journal
Entry list view.
This commit is contained in:
william
2020-08-25 08:54:11 +00:00
committed by wan
parent 1a72307bd2
commit 3f97f8ee5b
+1 -1
View File
@@ -2741,7 +2741,7 @@ class AccountMoveLine(models.Model):
account_internal_group = fields.Selection(related='account_id.user_type_id.internal_group', string="Internal Group", readonly=True)
account_root_id = fields.Many2one(related='account_id.root_id', string="Account Root", store=True, readonly=True)
sequence = fields.Integer(default=10)
name = fields.Text(string='Label', tracking=True)
name = fields.Char(string='Label', tracking=True)
quantity = fields.Float(string='Quantity',
default=1.0, digits='Product Unit of Measure',
help="The optional quantity expressed by this line, eg: number of product sold. "