From 3f97f8ee5be6ab63df54a1bfa494a553a8a2960e Mon Sep 17 00:00:00 2001 From: william Date: Tue, 28 Jul 2020 12:25:12 +0000 Subject: [PATCH] [REV] account: change the type of name field in 'account.move.line' This commit reverts 0c075552f70381872d177f900ed00fbfab39be0e Task 2306265 This had the side effect of blocking the group by label in the Journal Entry list view. --- addons/account/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 45d38446567..1cefc707687 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -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. "