[10.0][MIG] im_livechat - #973
Conversation
There was a problem hiding this comment.
You have to manually remove this cron in a migration script as this is flagged noupdate=1
There was a problem hiding this comment.
You have to manually remove this todo in a migration script as this is flagged noupdate=1
There was a problem hiding this comment.
You have to manually remove this action in a migration script as this is flagged noupdate=1
There was a problem hiding this comment.
I used the compare_noupdate_xml_records script and the result was nothing. The ir.actions.* always are ignored. If you insist, please, show me an existing example of removing ir.actions.*
There was a problem hiding this comment.
We have already talked about this. This is something that the script is not going to detect. It's simply: noupdate=1 records are not automatically removed if they disappear, and thus, all of these records will remain. Imagine a cron that is logging error each time it's executed because the method that is calling is missing. That's one of the cases of not removing these noupdate=1 records.
7b7c401 to
e728772
Compare
There was a problem hiding this comment.
You have to remove the records, not the XML-IDs:
xml_ids = [
'im_livechat.ir_action_client_open_livechat_menu',
'im_livechat.ir_cron_remove_empty_session',
]
for xml_id in xml_ids:
self.env.ref(xml_id).unlink()
I have seen that the the record referenced from base module is not needed.
e728772 to
6953e79
Compare
6953e79 to
e8cd5f2
Compare
|
@mreficent next time you make an amend/squash and |
Uh oh!
There was an error while loading. Please reload this page.