diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-08-07 15:49:35 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-08-08 08:46:38 +0000 |
| commit | fd6aa428ce7b7ab03ba920b1c020f5862f56f731 (patch) | |
| tree | f7b5031345a6cd5690b75df628a3f8f3bea889ab /addons/website/static/src/xml/website.backend.xml | |
| parent | 8ce97d144da2c96f0459080e761f5d1cfdb9b148 (diff) | |
[REF] stock: immediate transfer by default
Immediate transfer (no reservation, auto-confirmation, etc) should be
the default mode when creating manually a picking. The rationale is that
"the user wants to quickly encode stuff" and "it's better for the
onboarding".
As the default mode was already changed back to "planned transfer" because
users complained, this time we adapted the code so that the default mode
could be changed in python.
- re-order the imports of stock_picking.py.
- made all links to the picking from the picking type go through
_get_action (it wasn't the case for ready).
- adapt the context in the xml so that they are parse-able by
literal_eval.
- remove three actions that weren't used anymore.
- the user can create an ir config "stock.no_default_immediate_tranfer"
fill it with anything to get back the planned mode.
task-2043846
closes odoo/odoo#35550
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/website/static/src/xml/website.backend.xml')
0 files changed, 0 insertions, 0 deletions
