Reviewers: ,
Please review this at http://codereview.tryton.org/665003/
Affected files:
M trytond/convert.py
Index: trytond/convert.py
===================================================================
--- a/trytond/convert.py
+++ b/trytond/convert.py
@@ -821,6 +821,10 @@
'and restart --update=module\n'
'Exception: %s' %
(db_id, model, tb_s))
+ if 'active' in Model._fields:
+ Model.write([Model(db_id)], {
+ 'active': False,
+ })
# Clean model_data:
if mdata_delete:
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.