Closed luistorresm closed 6 years ago
FYI @moylop260
@moylop260 After debugging this, I discovered the cause
When Runbot generates builds, it also generates a unique database name (e.g. 4093-10-0-d31d0b-all
). However, since we use MQT scripts to initialize databases, the db name is harcoded, and it's always openerp_test
(you can check this runbot or any other one to see it by yourself). Therefore, I think the solution could be one of the following:
openerp_template
but rely on an environment variable, and set that variable using the db name Runbot produces.openerp_test
as the db name.What solution do you like the most?
Option3 Change the URL of the button like as https://github.com/Vauxoo/runbot-addons/pull/152/files but this time we dont have method Should be a change in the xml template
For more information:
https://www.youtube.com/watch?v=d2V9PwNWyIY