File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -625,6 +625,7 @@ def test_update_record_from_xml(self):
625
625
for key , value in data_before .items ():
626
626
self .assertEqual (record [key ], value )
627
627
628
+ def test_update_record_from_xml_recursive_menuitem (self ):
628
629
# reset all fields on a <menuitem>
629
630
xmlid = "base.menu_security"
630
631
data_after = {"name" : "ATotallyValidSecurityMenu" , "sequence" : 112 , "parent_id" : self .env ["ir.ui.menu" ]}
@@ -642,6 +643,7 @@ def test_update_record_from_xml(self):
642
643
for key , value in data_before .items ():
643
644
self .assertEqual (record [key ], value )
644
645
646
+ def test_update_record_from_xml_template_tag (self ):
645
647
# reset all fields on a <template>
646
648
template_xmlid = "base.contact_name"
647
649
record = self .env .ref (template_xmlid )
You can’t perform that action at this time.
0 commit comments