mirror of
https://github.com/odoo/runbot.git
synced 2025-03-17 08:25:46 +07:00

Computed on the fly for now. Formatted nicely in the frontend, there does not seem to be any sort of duration widget in the backend so just display the integer number of seconds. Fixes #865
5 lines
223 B
Python
5 lines
223 B
Python
def migrate(cr, version):
|
|
cr.execute("ALTER TABLE runbot_merge_stagings "
|
|
"ADD COLUMN staging_end timestamp without time zone")
|
|
cr.execute("UPDATE runbot_merge_stagings SET staging_end = write_date")
|