Created
December 2, 2022 09:15
-
-
Save amon-ra/b2f38dab41fb9f3474a51a2ca5fb6f4b to your computer and use it in GitHub Desktop.
Fix odoo assets
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
self.env['ir.attachment'].search([('db_datas','=',False),('type','=','binary')]).unlink() | |
#regenerate assets | |
#restart odoo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment