Skip to content

Instantly share code, notes, and snippets.

@ray-odoo
Created May 14, 2024 16:25
Show Gist options
  • Save ray-odoo/a907ee97049a5d913ee40b4a1c874a11 to your computer and use it in GitHub Desktop.
Save ray-odoo/a907ee97049a5d913ee40b4a1c874a11 to your computer and use it in GitHub Desktop.
Inherited View for adding buttons to Stock Picking Kanban
<data>
<t t-esc="record.scheduled_date.value and record.scheduled_date.value.split(' ')[0] or False"
position="before">
<button name="671"
icon="fa-calendar-minus-o"
type="action"/>
</t>
<t t-esc="record.scheduled_date.value and record.scheduled_date.value.split(' ')[0] or False"
position="after">
<button name="672"
icon="fa-calendar-plus-o"
type="action"/>
</t>
</data>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment