[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) <dbo@odoo.com>
This commit is contained in:
Jinal Patel
2019-12-17 12:08:46 +00:00
parent 6f1c6a504a
commit 0c075552f7
+1 -1
View File
@@ -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. "