Commit d8bda29c authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

thibaut

update module p4_module with Scribus.So I commit P4_view, P4_background, P4_css and
P4_viewP4AsPdf.
I update too PropertySheet P4 and script ceaseActivitiesFromP4

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22979 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 03488a0b
......@@ -145,7 +145,7 @@ class P4:
, 'type' : 'string'
, 'mode' : 'w'
},
{ 'id' : 'fifth_date'
{ 'id' : 'stop_temporary_activity_date'
, 'description': 'Date'
, 'type' : 'date'
, 'mode' : 'w'
......
......@@ -46,7 +46,7 @@
<value>
<dictionary>
<item>
<key> <string>page_0</string> </key>
<key> <string>page_0</string> </key>
<value>
<list>
<string>my_temporary_check</string>
......@@ -60,7 +60,7 @@
<string>my_personal_address</string>
<string>my_enterprise_address</string>
<string>my_corporate_registration_code</string>
<string>my_date</string>
<string>my_stop_temporary_activity_date</string>
<string>my_sickness_check</string>
<string>my_accident_check</string>
<string>my_disaster_check</string>
......@@ -88,7 +88,7 @@
<string>my_registration_date</string>
<string>my_registration_number</string>
<string>my_place</string>
<string>my_fifth_date</string>
<string>my_date</string>
<string>my_signature</string>
<string>my_owner_birthplace</string>
<string>my_source_reference</string>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/accident_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/another</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/ask_to_change_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/ask_to_delete_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string>/</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/deces</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/definitive_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/disappear_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/disaster_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/disparition</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/is_sold_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/location_gerence</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/managed_location_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/no_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string>/</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string>/</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/second_autre</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string>/</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/sickness_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_fifth_date</string> </value>
<value> <string>my_stop_temporary_activity_date</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string> /</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <string>1</string> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/temporary_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/third_another_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -266,7 +266,7 @@
</item>
<item>
<key> <string>date_separator</string> </key>
<value> <string>/</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -332,7 +332,7 @@
</item>
<item>
<key> <string>time_separator</string> </key>
<value> <string>:</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>timezone_style</string> </key>
......
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/vente</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/with_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/without_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,9 +85,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -174,20 +172,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/yes_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -87,7 +87,7 @@ for organisation in organisation_list:\n
organisation.liquiderEntreprise()\n
organisation.radierEntreprise()\n
elif request_eform.getTemporaryCheck():\n
organisation.edit(stop_date = request_eform.getFifthDate())\n
organisation.edit(stop_date = request_eform.getStopTemporaryActivityDate())\n
organisation.stopActivities()\n
\n
def attachLocationYearInfo(last_id):\n
......@@ -103,7 +103,8 @@ def attachLocationYearInfo(last_id):\n
attach_info = \'SN\' + location_initials + year + type_of_form\n
last_corporate_registration_code = str(str(last_id).split(\'-\').pop())\n
new_corporate_registration_code = \'%05d\' % int(str(int(last_corporate_registration_code)+1))\n
return (\'-\'.join([\'SN\', location_initials, year, type_of_form, new_corporate_registration_code]))\n
return (\'-\'.join([\'SN\', location_initials, year,\n
type_of_form, new_corporate_registration_code]))\n
\n
# We shall now allocate a new registry number\n
# using the custom method attachLocationYearInfo\n
......
881
\ No newline at end of file
885
\ No newline at end of file
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