diff options
| author | Arnaud Baes <arb@odoo.com> | 2019-04-29 15:19:06 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-05-13 07:45:43 +0000 |
| commit | 15716642e1975b4f2f29916011a4be29804cda88 (patch) | |
| tree | 2a5206215a6d4af79aeda11d2548cd99d073a903 /doc/_extensions/exercise_admonition.py | |
| parent | a5b6f31cf28e5381e1c85f66730bcdb55998e643 (diff) | |
[IMP] sale_stock: Show SN/LN on invoices
With a settings added in the stock settings, it is now possible to
show the SN/LN for every product in an invoice.
To achieve this, we fetch every `stock_move_line` from the related SO,
then we keep only the returned and delivered moves. We then filter those
move lines using a range of dates, the starting date being the date of the last
invoice related to the SO, the ending date being the current date. Finally,
we compute de quantities delivered with every related sn/ln in order to show
them on the invoice.
TaskID: 1923220
closes odoo/odoo#33022
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'doc/_extensions/exercise_admonition.py')
0 files changed, 0 insertions, 0 deletions
