diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-02-11 14:37:27 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-02-12 16:32:12 +0000 |
| commit | efbf412083c2f63186ebd0b5f79d4d068e37197e (patch) | |
| tree | adf952fae1056dffa4e9db562180c3be502044a5 /addons/web/static/tests/fields/basic_fields_mobile_tests.js | |
| parent | 08f6dc2495a1cc56e6bd707583ff37884bb00b93 (diff) | |
[FIX] stock: user-default picking return
- Activate Developer mode
- Go to Settings / Technical / Actions / User-defined Defaults
- Create the following:
Field: To Refund (update SO/PO) (stock.return.picking.line)
Default Value (JSON format): true
- Create a SO with a product invoiced based on delivered quantity
- Validate the SO, validate the picking
- Return the picking
The field 'To Refund (update SO/PO)' is is not, while it should be.
This is because we don't explicitly call the `default_get`, therefore
only rely on the default value of the field.
opw-2172513
closes odoo/odoo#45235
X-original-commit: 70d6f25b83f962d91243edaa0ff8e9a78b2e18ac
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_mobile_tests.js')
0 files changed, 0 insertions, 0 deletions
