odoo/odoo#156347
Created by fw-bot
Merged
at f87473e82af8372346320ca747c1b41d3d5cf3c5
- label
- odoo-dev:saas-15.2-v17_fix_test_lint-I793-fw
- head
- 2f0c30d94177ed321bd979507d530856a3c0a798
- target
- saas-15.2 (inactive)
- merged
- 2 months ago by Framework (ORM), Julien Castiaux (juc)
- forward-port of
- odoo/odoo#154316 DETACHED (conflicts: ('21188c0e4f8e90965573c076169dee7e017c7af1', 'Auto-merging odoo/modules/module.py\nCONFLICT (content): Merge conflict in odoo/modules/module.py\n', '16:27:39.983546 git.c:463 trace: built-in: git cherry-pick 21188c0e4f8e90965573c076169dee7e017c7af1\nerror: could not apply 21188c0e4f8e... [FIX] core: post_load default value should be same as *_init_hook\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['21188c0e4f8e90965573c076169dee7e017c7af1']) ('21188c0e4f8e90965573c076169dee7e017c7af1', 'Auto-merging odoo/modules/module.py\nCONFLICT (content): Merge conflict in odoo/modules/module.py\n', '16:27:39.983546 git.c:463 trace: built-in: git cherry-pick 21188c0e4f8e90965573c076169dee7e017c7af1\nerror: could not apply 21188c0e4f8e... [FIX] core: post_load default value should be same as *_init_hook\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['21188c0e4f8e90965573c076169dee7e017c7af1']))
[FW][FIX] core: post_load default value should be same as *_init_hook
-Step to reproduce: add a post_load method in the init of any module, specify in the manifest like : 'post_load': 'post_load'. Run test_manifests of the test_lint module and we will get warning
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#154316