-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] stock_picking_delivery_link #987
[18.0][MIG] stock_picking_delivery_link #987
Conversation
Adds link to the delivery on all intermediate operations (pick and pack with a pick/pack/ship setup).
Currently translated at 100.0% (6 of 6 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-stock_picking_delivery_link Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-stock_picking_delivery_link/es/
Avoid test errors if the purchase module is installed TT46563
…ge_type override When the method _set_delivery_package_type is called from _pre_put_in_pack_hook in the stock.picking in the Odoo delivery module with the parameter batch_pack this error is raised Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 1633, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying result = func() File "/usr/lib/python3/dist-packages/odoo/http.py", line 1660, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1864, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch result = endpoint(**request.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 697, in route_wrapper result = endpoint(self, *args, **params_ok) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 46, in call_button action = self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 468, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 453, in _call_kw_multi result = method(recs, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/stock/models/stock_picking.py", line 1536, in action_put_in_pack res = self._pre_put_in_pack_hook(move_line_ids) File "/mnt/extra-addons/delivery-carrier/stock_picking_delivery_link/models/stock_picking.py", line 48, in _pre_put_in_pack_hook res = super()._pre_put_in_pack_hook(move_line_ids) File "/usr/lib/python3/dist-packages/odoo/addons/delivery/models/stock_picking.py", line 203, in _pre_put_in_pack_hook return self._set_delivery_package_type(batch_pack=len(move_line_ids.picking_id) > 1) TypeError: _set_delivery_package_type() got an unexpected keyword argument 'batch_pack'
Currently translated at 100.0% (6 of 6 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-stock_picking_delivery_link Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-stock_picking_delivery_link/it/
…tly passed to context
Avoid test errors if the purchase module is installed Related to OCA@9924c78 Similar to OCA@3cce9bb TT46563
Currently translated at 100.0% (6 of 6 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-stock_picking_delivery_link Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-stock_picking_delivery_link/it/
Currently translated at 83.3% (5 of 6 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-stock_picking_delivery_link Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-stock_picking_delivery_link/fr/
Currently translated at 100.0% (6 of 6 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-stock_picking_delivery_link Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-stock_picking_delivery_link/tr/
/ocabot migration stock_picking_delivery_link |
16e2149
to
a6a176d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
carrier_id
field is now in stock_delivery
module
a6a176d
to
a3fa0a9
Compare
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 7afbdf6. Thanks a lot for contributing to OCA. ❤️ |
No description provided.