Commit ab0e9c6d authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

thibaut

update p2_module with Scribus because I modify several fields by example the field new_corporate_registration become establishment_corporate_registration_code.
So I commit P2_view, P2.css, P2_viewP2AsPdf and P2_background.
I update too the PropertySheet P2 and the constraint for the P2 form

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f20f24b9
......@@ -160,7 +160,17 @@ class P2:
, 'type' : 'string'
, 'mode' : 'w'
},
{ 'id' : 'new_corporate_registration_code'
{ 'id' : 'corporate_registration_code'
, 'description': 'RCCM'
, 'type' : 'string'
, 'mode' : 'w'
},
{ 'id' : 'establishment_corporate_registration_code'
, 'description': 'RCCM'
, 'type' : 'string'
, 'mode' : 'w'
},
{ 'id' : 'company_corporate_registration_code'
, 'description': 'RCCM'
, 'type' : 'string'
, 'mode' : 'w'
......
......@@ -45,25 +45,22 @@ class P2Constraint:
'message_no_such_property': 'The owner first name address must be defined',
'message_property_not_set': 'The owner first name address must be defined',
},
{ 'id' : 'owner_birthday_existence',
'description' : 'Property owner birthday must be definied',
{ 'id' : 'date_existence',
'description' : 'Property date must be definied',
'type' : 'PropertyExistence',
'owner_birthday' : None,
'date' : None,
},
{ 'id' : 'owner_birthplace_existence',
'description' : 'Property owner_birthplace must be definied',
{ 'id' : 'company_modifications_existence',
'description' : 'Property company modifcation must be definied',
'type' : 'PropertyExistence',
'owner_birthplace' : None,
'company_modifications' : None,
'condition' : 'python: object.getEstablishmentModification() == None',
},
{ 'id' : 'owner_citizenship_existence',
'description' : 'Property owner citizenship must be definied',
{ 'id' : 'establishment_modification_existence',
'description' : 'Property my establishment modification must be definied',
'type' : 'PropertyExistence',
'owner_citizenship' : None,
},
{ 'id' : 'owner_address_existence',
'description' : 'Property owner address must be definied',
'type' : 'PropertyExistence',
'owner_address' : None,
'establishment_modification' : None,
'condition' : 'python: object.getCompanyModifications() == None',
},
{ 'id' : 'rccm_check_existence',
'description' : 'Property rccm check must be definied',
......@@ -77,4 +74,20 @@ class P2Constraint:
'rccm_check' : None,
'condition' : 'python: object.getRccmCheck() == None',
},
{ 'id' : 'company_corporate_registration_code_existence',
'description' : 'Property must be definied',
'type' : 'PropertyExistence',
'company_corporate_registration_code' : None,
'condition' : 'python: object.getCompanyModifications() != None',
'message_no_such_property': 'for an orgnisation modification you must define the company registration code',
'message_property_not_set': 'for an orgnisation modification you must define the company registration code',
},
{ 'id' : 'establishment_corporate_registration_code_existence',
'description' : 'Property must be definied',
'type' : 'PropertyExistence',
'establishment_corporate_registration_code' : None,
'condition' : 'python: object.getEstablishmentModification() != None',
'message_no_such_property': 'for an establishment modification you must define the establishment registration code',
'message_property_not_set': 'for an establishment modification you must define the establishment registration code',
},
)
......@@ -95,14 +95,14 @@
<string>my_third_spouse_birthdate</string>
<string>my_third_spouse_matrimonial_situation</string>
<string>my_third_spouse_restrictive_clauses</string>
<string>my_corporate_registration_code</string>
<string>my_company_corporate_registration_code</string>
<string>my_company_address</string>
<string>my_company_old_address</string>
<string>my_company_modified_name</string>
<string>my_company_old_name</string>
<string>my_company_modified_removed_activities</string>
<string>my_company_modified_added_activities</string>
<string>my_new_corporate_registration_code</string>
<string>my_establishment_corporate_registration_code</string>
<string>my_new_address</string>
<string>my_transferred_address</string>
<string>my_transferred_date</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/activity_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/administrators_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/closing_check</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_corporate_registration_code</string> </value>
<value> <string>my_company_corporate_registration_code</string> </value>
</item>
<item>
<key> <string>message_values</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/company_modifications</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>
......
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_new_corporate_registration_code</string> </value>
<value> <string>my_establishment_corporate_registration_code</string> </value>
</item>
<item>
<key> <string>message_values</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/establishment_modification</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/first_administrator_going_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/first_administrator_maintained_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/first_administrator_new_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/identification_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/owner_divorced_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/owner_married_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/owner_single_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/owner_widower_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/radiation_rccm_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/rccm_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_administrator_going_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/second_administrator_maintained_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/second_administrator_new_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/transfer_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>
......
900
\ No newline at end of file
902
\ 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