diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-05-20 12:25:10 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-06-10 20:43:00 +0000 |
| commit | 7c123228029e99e0cdcea85d24867e2982eacdc0 (patch) | |
| tree | ccc69a93842860d18000a508852392abc97f5ec6 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 6fd05759e7f77f010dbd3fb8a9960128f4ee9fa1 (diff) | |
[REF] stock_account: journal entry creation
No more hijacking _account_entry_move with context keys.
_get_accounting_data_for_valuation
> no changes
_prepare_account_move_line
> only use the cost, not the value in context
> take description as arg to pass it to _generate_valuation_lines_data
_generate_valuation_lines_data
> use the description received in arg
> remove forced ref in context
_create_account_move_line
> add a qty, descritpion, cost, svl_id as arguments
> remove forced_quantity fron context
_account_entry_move
> add a qty, descritpion, cost, svl_id as arguments
task-1875873
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
