Skip to content
Snippets Groups Projects
Commit e337a7b4 authored by Abdelouahab (abla)'s avatar Abdelouahab (abla)
Browse files

[FIX] account : set quantity of sections and notes to 0


To Reproduce
============
- on Accounting, create customer invoice with a section and a notes and a product
- go to studio, and edit list view
- the quantities of the section and the note are set to 1
- this behavior lead to some errors like having wrong value in total if we aggregate the quantity column

Problem
=======
`account.move.line` is initialized by quantity = 1

Solution
========
when creating lines of invoice, set quantity of section/note to 0

opw-3010889

closes odoo/odoo#103377

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent addea33a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment