[10.0] Merge website_blog_mgmt into website_blog - #1656
Merged
Conversation
pedrobaeza
approved these changes
Dec 11, 2018
pedrobaeza
left a comment
Member
There was a problem hiding this comment.
I have removed the not used variable, so I merge.
yajo
added a commit
to Tecnativa/website
that referenced
this pull request
Aug 27, 2019
This module is not needed. Remove code to avoid confusions (I just got confused today). See OCA/OpenUpgrade#1656.
yajo
added a commit
to Tecnativa/OpenUpgrade
that referenced
this pull request
Aug 27, 2019
In OCA#1656 website_blog_mgmt was merged into website_blog. However, this noupdate record still remains in the database, producing recurring failures like this: Traceback (most recent call last): File "/opt/odoo/custom/src/odoo/odoo/tools/safe_eval.py", line 350, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in <module> AttributeError: 'blog.post' object has no attribute 'cron_publish_posts' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_cron.py", line 102, in _callback self.env['ir.actions.server'].browse(server_action_id).run() File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_actions.py", line 569, in run res = func(action, eval_context=eval_context) File "/opt/odoo/auto/addons/website/models/ir_actions.py", line 57, in run_action_code_multi res = super(ServerAction, self).run_action_code_multi(action, eval_context) File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_actions.py", line 445, in run_action_code_multi safe_eval(action.sudo().code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action' File "/opt/odoo/custom/src/odoo/odoo/tools/safe_eval.py", line 373, in safe_eval pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2]) File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 86, in reraise raise value.with_traceback(tb) File "/opt/odoo/custom/src/odoo/odoo/tools/safe_eval.py", line 350, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in <module> ValueError: <class 'AttributeError'>: "'blog.post' object has no attribute 'cron_publish_posts'" while evaluating 'model.cron_publish_posts()' Now it is removed.
OCA-git-bot
pushed a commit
to OCA/website
that referenced
this pull request
Aug 27, 2019
This module is not needed. Remove code to avoid confusions (I just got confused today). See OCA/OpenUpgrade#1656.
Tardo
pushed a commit
to RedNeboa/website
that referenced
this pull request
Dec 18, 2019
This module is not needed. Remove code to avoid confusions (I just got confused today). See OCA/OpenUpgrade#1656.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
website_blog_mgmtis deprecated from 10.0 since there's Odoo core functionality for it.cc @Tecnativa