After creating an ERP5 PDF Form using a Scribus file (HowToCreatePdfForm), you
may want to modify the form by modifying the Scribus file.
Table of Contents
Modify the Scribus file of the Form you want to update. You can rename fields,
change the font, add fields, everything is possible.
A page appear with the following fields
Object deleted : You must take care, in updating a form with this action, some
data will be deleted of your instance :
if object_portal_type_id = Object Portal Type without the spaces so the following files will be removed :
All deleted files are moved in the portal_trash folder, so it's not completely lost.
It may take one or two minutes. You can see progress in the log files.
When the update is done, you can create a new form and have your improvements.
The old forms created before the update are updated too. But, for example, if you
have data in a field my_text_field, and you rename this field in my_text_field_2,
the old data will not be displayed in the new field.
Error: There is more than one result for the view 'testModule_view' : ['portal_skins/test_form_module', 'portal_skins/test_form_module_backup']
That's mean you have another a least two view with the same id 'testModule_view'.
You can check this going to http://YOUR_INSTANCE/portal_skins/manage in the "Find" tab
and searching the form view id. The solution is to keep only the one you want to
use. You can rename the other.
Error: There is no result for the view 'testModule_view'
That's mean that you select a portal type 'test Module' or 'testModule' but
there is no view testModule_view. Scribus module create this view automatically,
so you may have rename or delete this view. The solution is to rename it again,
giving it the name 'testModule_view' or created one in the good portal_skin folder.
Error: portal_skins ' test_form_module' not found
The script which update the Form use the view guessed using the portal type you
select to find the portal_skin which contain this view (that's why it must be
only one result). If there is only one result and this result is not in portal_skin
folder, that's mean you have a big problem, this error might never append.