diff options
| author | David Tran <david.tran@tvtmarine.com> | 2021-03-15 10:28:52 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2021-03-17 10:59:13 +0000 |
| commit | 9beceb0fd4572bdada30cf4ded235c1ff634083c (patch) | |
| tree | 26b2d403c96b04a0a89b1e688ed7cb95250bfbb2 /addons/sale_timesheet | |
| parent | c815342b986851e0a4733ed5bf9fbcc7f8fb7442 (diff) | |
[FIX] sale: do not overwrite invoice values specified by
`_prepare_invoice`
Since a3afb98, the `invoice_line_ids` value is replaced in
`_create_invoice`.
This broke some custom client overrides based on overrides of
`_prepare_invoice`.
This commit brings back the old behavior, ensuring that the
`invoice_line_ids` values
specified by `_prepare_invoice` are extended but not replaced.
closes odoo/odoo#68000
X-original-commit: 13773a92d95544bde0a63596ab81e3920df00daa
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/sale_timesheet')
0 files changed, 0 insertions, 0 deletions
