Browse Source

Fix test.

pull/505/head
Jairo Llopis 9 years ago
committed by Pedro M. Baeza
parent
commit
0fa5d952dc
  1. 1
      base_export_manager/models/ir_exports_line.py
  2. 1
      base_export_manager/views/ir_exports_view.xml

1
base_export_manager/models/ir_exports_line.py

@ -21,7 +21,6 @@ class IrExportsLine(models.Model):
field1_id = fields.Many2one( field1_id = fields.Many2one(
"ir.model.fields", "ir.model.fields",
"First field", "First field",
required=True,
domain="[('model_id', '=', model1_id)]") domain="[('model_id', '=', model1_id)]")
field2_id = fields.Many2one( field2_id = fields.Many2one(
"ir.model.fields", "ir.model.fields",

1
base_export_manager/views/ir_exports_view.xml

@ -48,6 +48,7 @@
<field name="name"/> <field name="name"/>
<field <field
name="field1_id" name="field1_id"
required="True"
options="{ options="{
'no_open': True, 'no_open': True,
'no_create': True, 'no_create': True,

Loading…
Cancel
Save