Commit Graph

5 Commits

Author SHA1 Message Date
Guewen Baconnier
98988078d5 run pre-commit with new prettiers 2021-09-16 20:17:33 +07:00
Guewen Baconnier
9ae58438ad Replace custom js by 'target': 'main' 2021-09-16 20:17:33 +07:00
Guewen Baconnier
d9cbd996b0 [IMP] stock_vertical_lift: black, isort 2021-09-16 20:17:33 +07:00
Guewen Baconnier
cf5848c2c3 Add method to refresh a shuttle screen
Example of usage in an odoo shell, when a screen is open:

>>> self.env['vertical.lift.shuttle'].browse(1)._operation_for_mode().operation_descr = 'foo'
>>> self.env['vertical.lift.shuttle'].browse(1)._send_notification_refresh()
>>> env.cr.commit()

Provided the longpolling is correctly configured with a proxy, the
screen should immediately refresh with 'foo' as operation description.
2021-09-16 20:17:33 +07:00
Guewen Baconnier
fc52390b14 Add stock_vertical_lift module 2021-09-16 20:17:33 +07:00