diff options
| author | oco-odoo <oco@odoo.com> | 2020-04-24 08:40:01 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-04-28 11:11:18 +0000 |
| commit | ff26ed5b775a1cac7708d01eb6b9cb545a4a5e5f (patch) | |
| tree | 2c1cd39e801a5d28b919ef0002b07ae5eff64dab /addons/link_tracker | |
| parent | 37717f8c2b5c510060f4407e27ac4785ec567f33 (diff) | |
[FIX] account: don't raise an error when using account controls together with section/notes lines on invoices
Section and note invoice lines are now account.move.line objects with a distinct value in display_type field. When restricting the use of accounts on a payable/receivable journal and making an invoice in it with at least one section or note, and only using legal accounts, it always failed, as the note/section account was empty, hence not in the allowed accounts.
closes odoo/odoo#50297
X-original-commit: 28cd50f203c019b78f55fc16120af81c901caef2
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/link_tracker')
0 files changed, 0 insertions, 0 deletions
