← Back to team overview

credativ team mailing list archive

Re: [Merge] lp:~therp-nl/openupgrade-tools/7.0-add-database_cleanup into lp:openupgrade-tools

 

> 
> Maybe should the purge delete the attachments or drop the relationship
> beforehand?
> 


This is already what is done through these lines:

                attachment_ids = attachment_pool.search(
                    cr, uid, [('res_model', '=', line.name)], context=context)
                if attachment_ids:
                    attachment_pool.write(
                        cr, uid, attachment_ids, {'res_model': False},
                        context=context)

I have to figure out what happens.
-- 
https://code.launchpad.net/~therp-nl/openupgrade-tools/7.0-add-database_cleanup/+merge/203633
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-tools/7.0-add-database_cleanup into lp:openupgrade-tools.


References