Name:
[19.0][UPG] viin_brand_*: upgrade to 19
State:
Failed
finished in 50m
PR State:
open
PR Author:
Trần Trường Sơn
PR Author Email:
PR:
#633
Committer:
SonCrits
Committer Email:
truongson290893@gmail.com
Commit:
ee98e244b7377b08937d68137f0a48c28fd8c755
Description:
[FIX] viin_brand_mail: fix post-install test failures for OdooBot branding
In the runbot post-install test workflow, modules are installed without
--test-enable, so post_init_hook never reverts ViindooBot back to OdooBot.
The DB keeps ViindooBot but Odoo core tests expect OdooBot.
Add post_load() that patches MailCommon.setUpClass to revert partner_root
to OdooBot at the start of each test class. This fixes all failing tests
in im_livechat, mail, test_discuss_full and test_mail without skipping
any test or patching individual methods.
Branch:
19.0
Instance ID:
0
Age:
Up-time: