summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorArnaud Baes <arb@odoo.com>2019-04-29 15:19:06 +0000
committerSimon Lejeune <sle@openerp.com>2019-05-13 07:45:43 +0000
commit15716642e1975b4f2f29916011a4be29804cda88 (patch)
tree2a5206215a6d4af79aeda11d2548cd99d073a903 /addons/web/static/src/js/views/basic/basic_model.js
parenta5b6f31cf28e5381e1c85f66730bcdb55998e643 (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 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions