Browse Source

Code optimization

pull/1/head
Veronika Kotovich 9 years ago
parent
commit
0a971c068e
  1. 14
      mail_move_message_models.py

14
mail_move_message_models.py

@ -140,20 +140,6 @@ class wizard(models.TransientModel):
} }
# @api.model
# def fields_get(self, fields=None, write_access=True, attributes=None):
# config_parameters = self.env['ir.config_parameter']
# res = super(wizard, self).fields_get(fields, write_access=write_access, attributes=attributes)
# print res['res_id']
# print res['partner_id']
# if 'res_id' in res:
# res['res_id'].update({
# 'type': 'many2one',
# })
# return res
class mail_message(models.Model): class mail_message(models.Model):
_inherit = 'mail.message' _inherit = 'mail.message'

Loading…
Cancel
Save