Silvestarserpentcs 7 роки тому
батько
коміт
d84c4c161e
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      mass_editing/wizard/mass_editing_wizard.py

+ 2 - 1
mass_editing/wizard/mass_editing_wizard.py

@@ -440,7 +440,8 @@ class MassEditingWizard(models.TransientModel):
                             values.update({split_key: m2m_list})
                     elif val in ['remove_o2m', 'remove_m2m_all']:
                         # model_fieds will return the particular model
-                        # in order to get the field of the model and its relation.
+                        # in order to get the field of the model
+                        # and its relation.
                         model_fields = self.env['ir.model.fields'].search(
                             [('name', '=', split_key),
                              ('model_id', '=', model_id and model_id.id)])