Commit 870235a6 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix testERP5eGov.

parent 1b1859b9
...@@ -754,10 +754,14 @@ class PDFTypeInformation(ERP5TypeInformation): ...@@ -754,10 +754,14 @@ class PDFTypeInformation(ERP5TypeInformation):
except AttributeError: except AttributeError:
return property_sheet_list return property_sheet_list
property_sheet = self.getPortalObject().portal_property_sheets.newContent( try:
id=self.__name__.replace(' ', ''), property_sheet = self.getPortalObject().portal_property_sheets.newContent(
portal_type='Property Sheet', id=self.__name__.replace(' ', ''),
temp_object=True) portal_type='Property Sheet',
temp_object=True)
except AttributeError:
return property_sheet_list
for page_content in parsed_scribus_iterator: for page_content in parsed_scribus_iterator:
for field_name, fields_values in page_content: for field_name, fields_values in page_content:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment