diff options
| author | nie <nie@odoo.com> | 2020-09-29 09:28:21 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2020-10-05 09:09:34 +0000 |
| commit | df580bdc8fdaa33685862f2210881f19017f1daf (patch) | |
| tree | 6593db3944645aee2c5d2ff1ec95a6a02ca8a174 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 70c2bfb111b0373b80b0de0711d871e45cb02936 (diff) | |
[FIX] sale: calendar view overrides stock picking name
Steps to reproduce the bug:
- Open the calendar view of the quotations in Sales
- Select a time slot and enter a summary (A)
- Click "Create", fill in the required values and add an order line
- Save and Confirm
- Click the "Delivery" smart button
Bug:
The delivery order has the summary (A) for name and not the computed sequence.
Cause:
Context key 'default_name' is added here:
https://github.com/odoo/odoo/blob/0db882ce3eddc88adb3e5046f9b8d14685ffc8a8/addons/web/static/src/js/views/calendar/calendar_controller.js#L231
And it's propagated up to here:
https://github.com/odoo/odoo/blob/0db882ce3eddc88adb3e5046f9b8d14685ffc8a8/addons/stock/models/stock_picking.py#L483
opw:2335541
closes odoo/odoo#59080
X-original-commit: 21c2012c54d358e7903bfe5cdaef90e8cd097d29
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
