From 0c075552f70381872d177f900ed00fbfab39be0e Mon Sep 17 00:00:00 2001 From: Jinal Patel Date: Tue, 17 Dec 2019 09:09:53 +0000 Subject: [PATCH] [FIX] account: change the type of name field in 'account.move.line' -When 'Product Description' on several line in sale.order.line. In that case, In 'Sale Order' report description print as it is but In 'Invoice' report lines are all fitted into one single line. -By this commit solved this issue. task- 2127652 closes- odoo#42006 closes odoo/odoo#42006 Signed-off-by: Damien Bouvy (dbo) --- 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 f4b894493f2..44008d108e3 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -2432,7 +2432,7 @@ class AccountMoveLine(models.Model): account_internal_type = fields.Selection(related='account_id.user_type_id.type', string="Internal Type", store=True, 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.Char(string='Label', tracking=True) + name = fields.Text(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. "