From f3a39ca2126b5c2fd92cfdb549302865e8ecd13e Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Thu, 28 Oct 2021 18:17:45 +0200 Subject: [PATCH] Add external_name to account.move.line_ids view We need to display the field as invisible here although it is already defined on invoice_line_ids tree above. Having it defined only there would only set the external_name key with its value inside the invoice_line_ids key of the values dictionary that is passed to create function. However, this invoice_line_ids key is popped in account.move._move_autocomplete_invoice_lines_create function to keep only the line_ids to create the account.move and avoid duplicated account.move.line records. --- .../views/account_move.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/account_move_line_accounting_description/views/account_move.xml b/account_move_line_accounting_description/views/account_move.xml index e8216658a35..65508de75ae 100644 --- a/account_move_line_accounting_description/views/account_move.xml +++ b/account_move_line_accounting_description/views/account_move.xml @@ -17,6 +17,18 @@ + + + +