Commit 7dd4850e authored by Kevin Deldycke's avatar Kevin Deldycke

Add "prevoyance" payroll service and related organisation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11493 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e02d03a6
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>View</string> </value> <value> <string>View</string> </value>
</item> </item>
<item> <item>
<key> <string>visible</string> </key> <key> <string>visible</string> </key>
......
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_tree</string> </key> <key> <string>_tree</string> </key>
<value> <value>
......
...@@ -300,9 +300,8 @@ ...@@ -300,9 +300,8 @@
<name>Add Z MySQL Database Connections</name> <name>Add Z MySQL Database Connections</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name> <name>Add Z MySQL Deferred Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add ZCatalogs</name> <name>Add ZCatalogs</name>
...@@ -547,9 +546,8 @@ ...@@ -547,9 +546,8 @@
<name>Manage Transient Object Container</name> <name>Manage Transient Object Container</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='list'>
<name>Manage Translation Services</name> <name>Manage Translation Services</name>
<role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
<name>Manage Vocabulary</name> <name>Manage Vocabulary</name>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.Organisation</string>
<string>Organisation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Vu comme un prestataire de service social dans le cadre du module de feuilles de paie</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>generali</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Organisation</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Generali Assurances</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>role/administration</string> <string>role/client</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Henner - GMC</string> </value> <value> <string>Henner</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -80,13 +80,13 @@ ...@@ -80,13 +80,13 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>salary_range/france/variable/tranche_b</string>
<string>tax_category/argic/employee_share</string> <string>tax_category/argic/employee_share</string>
<string>quantity_unit/time/month</string> <string>quantity_unit/time/month</string>
<string>product_line/social_service/retirement_plan</string> <string>product_line/social_service/retirement_plan</string>
<string>salary_range/france/variable/tranche_b</string> <string>source/organisation_module/483</string>
<string>salary_range/france/variable/tranche_c</string> <string>salary_range/france/variable/tranche_c</string>
<string>tax_category/argic/employer_share</string> <string>tax_category/argic/employer_share</string>
<string>source/organisation_module/483</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.Resource</string>
<string>Resource</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>salary_range/france/variable/tranche_a</string>
<string>tax_category/syntec_insurance/employee_share</string>
<string>product_line/social_service/mutual_insurance</string>
<string>quantity_unit/time/month</string>
<string>source/organisation_module/generali</string>
<string>salary_range/france/variable/tranche_b</string>
<string>tax_category/syntec_insurance/employer_share</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>"Service Social" rendu par Generali \xc3\xa0 un employeur. La facture de ce service est vu comme une cotisation sociale dans une feuille de paie.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>prevoyance</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Payroll Service</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Prevoyance</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>variation_base_category_list</string> </key>
<value>
<tuple>
<string>tax_category</string>
<string>salary_range</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.Resource</string>
<string>Resource</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>tax_category/social/employer_share</string>
<string>product_line/social_service</string>
<string>quantity_unit/time/month</string>
<string>source/organisation_module/urssaf</string>
<string>salary_range/france/variable</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>taxe_prevoyance</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Payroll Service</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Taxe Prevoyance</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>variation_base_category_list</string> </key>
<value>
<tuple>
<string>tax_category</string>
<string>salary_range</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/4</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/4</string> </key>
<value> <int>4</int> </value> <value> <int>7</int> </value>
</item> </item>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/5</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/5</string> </key>
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
</item> </item>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/6</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/6</string> </key>
<value> <int>7</int> </value> <value> <int>6</int> </value>
</item> </item>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/7</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/7</string> </key>
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
</item> </item>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/8</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/8</string> </key>
<value> <int>6</int> </value> <value> <int>4</int> </value>
</item> </item>
<item> <item>
<key> <string>portal_rules/default_pay_sheet_transaction_rule/copy2_of_4</string> </key> <key> <string>portal_rules/default_pay_sheet_transaction_rule/copy2_of_4</string> </key>
......
...@@ -54,27 +54,12 @@ ...@@ -54,27 +54,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>resource/currency_module/EUR</string>
<string>source_section/organisation_module/nexedi</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>criterion_property</string> </key> <key> <string>criterion_property</string> </key>
<value> <value>
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_0_4</string> </value> <value> <string>movement_0_4</string> </value>
...@@ -83,10 +68,6 @@ ...@@ -83,10 +68,6 @@
<key> <string>isIndexable</string> </key> <key> <string>isIndexable</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item>
<key> <string>last_id</string> </key>
<value> <string>2</string> </value>
</item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
<value> <value>
...@@ -118,7 +99,7 @@ ...@@ -118,7 +99,7 @@
<string>tax_category/syntec_insurance/employer_share</string> <string>tax_category/syntec_insurance/employer_share</string>
<string>tax_category/taxes/employer_share</string> <string>tax_category/taxes/employer_share</string>
<string>tax_category/unemployment/employer_share</string> <string>tax_category/unemployment/employer_share</string>
<string>product_line/social_service/state_insurance</string> <string>product_line/addendum/remboursement_frais</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -132,107 +113,6 @@ ...@@ -132,107 +113,6 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Accounting Rule Cell</string> </value> <value> <string>Accounting Rule Cell</string> </value>
</item> </item>
<item>
<key> <string>start_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Wed</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Apr</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38444.9166667</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Wednesday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>April</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1144188000000</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>0.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Wed.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>am</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>12</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>Apr.</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>0.0</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1144188000.0</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.916666666664</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item> <item>
<key> <string>test_method_id</string> </key> <key> <string>test_method_id</string> </key>
<value> <value>
...@@ -241,7 +121,7 @@ ...@@ -241,7 +121,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employer Share * URSSAF</string> </value> <value> <string>Employer Share * Frais</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_0_5</string> </value> <value> <string>movement_0_5</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
<value> <value>
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_0_6</string> </value> <value> <string>movement_0_6</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
<value> <value>
...@@ -95,7 +99,7 @@ ...@@ -95,7 +99,7 @@
<string>tax_category/syntec_insurance/employer_share</string> <string>tax_category/syntec_insurance/employer_share</string>
<string>tax_category/taxes/employer_share</string> <string>tax_category/taxes/employer_share</string>
<string>tax_category/unemployment/employer_share</string> <string>tax_category/unemployment/employer_share</string>
<string>product_line/addendum/remboursement_frais</string> <string>product_line/addendum/acompte</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -117,7 +121,7 @@ ...@@ -117,7 +121,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employer Share * Frais</string> </value> <value> <string>Employer Share * Acompte</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -54,16 +54,39 @@ ...@@ -54,16 +54,39 @@
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>resource/currency_module/EUR</string>
<string>source_section/organisation_module/nexedi</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>criterion_property</string> </key> <key> <string>criterion_property</string> </key>
<value> <value>
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_0_7</string> </value> <value> <string>movement_0_7</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>2</string> </value>
</item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
<value> <value>
...@@ -95,7 +118,7 @@ ...@@ -95,7 +118,7 @@
<string>tax_category/syntec_insurance/employer_share</string> <string>tax_category/syntec_insurance/employer_share</string>
<string>tax_category/taxes/employer_share</string> <string>tax_category/taxes/employer_share</string>
<string>tax_category/unemployment/employer_share</string> <string>tax_category/unemployment/employer_share</string>
<string>product_line/addendum/acompte</string> <string>product_line/social_service/state_insurance</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -109,6 +132,107 @@ ...@@ -109,6 +132,107 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Accounting Rule Cell</string> </value> <value> <string>Accounting Rule Cell</string> </value>
</item> </item>
<item>
<key> <string>start_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Wed</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Apr</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38444.9166667</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Wednesday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>April</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1144188000000</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>0.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Wed.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>am</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>12</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>Apr.</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>0.0</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1144188000.0</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.916666666664</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item> <item>
<key> <string>test_method_id</string> </key> <key> <string>test_method_id</string> </key>
<value> <value>
...@@ -117,7 +241,7 @@ ...@@ -117,7 +241,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employer Share * Acompte</string> </value> <value> <string>Employer Share * URSSAF</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -58,11 +58,17 @@ ...@@ -58,11 +58,17 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>resource/currency_module/EUR</string> <string>resource/currency_module/eur</string>
<string>source_section/organisation_module/nexedi</string> <string>source_section/organisation_module/nexedi</string>
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>contributors</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>criterion_property</string> </key> <key> <string>criterion_property</string> </key>
<value> <value>
...@@ -85,7 +91,7 @@ ...@@ -85,7 +91,7 @@
</item> </item>
<item> <item>
<key> <string>last_id</string> </key> <key> <string>last_id</string> </key>
<value> <string>2</string> </value> <value> <string>1</string> </value>
</item> </item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
...@@ -118,7 +124,7 @@ ...@@ -118,7 +124,7 @@
<string>tax_category/supplementary_pension/employee_share</string> <string>tax_category/supplementary_pension/employee_share</string>
<string>tax_category/syntec_insurance/employee_share</string> <string>tax_category/syntec_insurance/employee_share</string>
<string>tax_category/unemployment/employee_share</string> <string>tax_category/unemployment/employee_share</string>
<string>product_line/social_service/state_insurance</string> <string>product_line/addendum/remboursement_frais</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -146,31 +152,31 @@ ...@@ -146,31 +152,31 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_aday</string> </key> <key> <string>_aday</string> </key>
<value> <string>Wed</string> </value> <value> <string>Thu</string> </value>
</item> </item>
<item> <item>
<key> <string>_amon</string> </key> <key> <string>_amon</string> </key>
<value> <string>Apr</string> </value> <value> <string>Oct</string> </value>
</item> </item>
<item> <item>
<key> <string>_d</string> </key> <key> <string>_d</string> </key>
<value> <float>38451.9166667</float> </value> <value> <float>38649.1666667</float> </value>
</item> </item>
<item> <item>
<key> <string>_day</string> </key> <key> <string>_day</string> </key>
<value> <int>12</int> </value> <value> <int>26</int> </value>
</item> </item>
<item> <item>
<key> <string>_dayoffset</string> </key> <key> <string>_dayoffset</string> </key>
<value> <int>3</int> </value> <value> <int>4</int> </value>
</item> </item>
<item> <item>
<key> <string>_fday</string> </key> <key> <string>_fday</string> </key>
<value> <string>Wednesday</string> </value> <value> <string>Thursday</string> </value>
</item> </item>
<item> <item>
<key> <string>_fmon</string> </key> <key> <string>_fmon</string> </key>
<value> <string>April</string> </value> <value> <string>October</string> </value>
</item> </item>
<item> <item>
<key> <string>_hour</string> </key> <key> <string>_hour</string> </key>
...@@ -178,7 +184,7 @@ ...@@ -178,7 +184,7 @@
</item> </item>
<item> <item>
<key> <string>_millis</string> </key> <key> <string>_millis</string> </key>
<value> <long>1144792800000</long> </value> <value> <long>1161835200000</long> </value>
</item> </item>
<item> <item>
<key> <string>_minute</string> </key> <key> <string>_minute</string> </key>
...@@ -186,7 +192,7 @@ ...@@ -186,7 +192,7 @@
</item> </item>
<item> <item>
<key> <string>_month</string> </key> <key> <string>_month</string> </key>
<value> <int>4</int> </value> <value> <int>10</int> </value>
</item> </item>
<item> <item>
<key> <string>_nearsec</string> </key> <key> <string>_nearsec</string> </key>
...@@ -194,7 +200,7 @@ ...@@ -194,7 +200,7 @@
</item> </item>
<item> <item>
<key> <string>_pday</string> </key> <key> <string>_pday</string> </key>
<value> <string>Wed.</string> </value> <value> <string>Thu.</string> </value>
</item> </item>
<item> <item>
<key> <string>_pm</string> </key> <key> <string>_pm</string> </key>
...@@ -206,7 +212,7 @@ ...@@ -206,7 +212,7 @@
</item> </item>
<item> <item>
<key> <string>_pmon</string> </key> <key> <string>_pmon</string> </key>
<value> <string>Apr.</string> </value> <value> <string>Oct.</string> </value>
</item> </item>
<item> <item>
<key> <string>_second</string> </key> <key> <string>_second</string> </key>
...@@ -214,11 +220,11 @@ ...@@ -214,11 +220,11 @@
</item> </item>
<item> <item>
<key> <string>_t</string> </key> <key> <string>_t</string> </key>
<value> <float>1144792800.0</float> </value> <value> <float>1161835200.0</float> </value>
</item> </item>
<item> <item>
<key> <string>_tz</string> </key> <key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value> <value> <string>GMT-4</string> </value>
</item> </item>
<item> <item>
<key> <string>_year</string> </key> <key> <string>_year</string> </key>
...@@ -226,7 +232,7 @@ ...@@ -226,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>time</string> </key> <key> <string>time</string> </key>
<value> <float>0.916666666664</float> </value> <value> <float>0.166666666664</float> </value>
</item> </item>
</dictionary> </dictionary>
</state> </state>
...@@ -241,7 +247,7 @@ ...@@ -241,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employee Share * URSSAF</string> </value> <value> <string>Employee Share * Frais</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>source/account_module/securite_sociale</string> <string>source/account_module/dette_fournisseur</string>
<string>destination/account_module/creances_sociales</string> <string>destination/account_module/creance_client</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>quantity</string> </key> <key> <string>quantity</string> </key>
<value> <float>-1.0</float> </value> <value> <float>1.0</float> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -85,6 +85,10 @@ ...@@ -85,6 +85,10 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_1_5</string> </value> <value> <string>movement_1_5</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>last_id</string> </key> <key> <string>last_id</string> </key>
<value> <string>1</string> </value> <value> <string>1</string> </value>
......
...@@ -85,6 +85,10 @@ ...@@ -85,6 +85,10 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_1_6</string> </value> <value> <string>movement_1_6</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>last_id</string> </key> <key> <string>last_id</string> </key>
<value> <string>1</string> </value> <value> <string>1</string> </value>
...@@ -120,7 +124,7 @@ ...@@ -120,7 +124,7 @@
<string>tax_category/supplementary_pension/employee_share</string> <string>tax_category/supplementary_pension/employee_share</string>
<string>tax_category/syntec_insurance/employee_share</string> <string>tax_category/syntec_insurance/employee_share</string>
<string>tax_category/unemployment/employee_share</string> <string>tax_category/unemployment/employee_share</string>
<string>product_line/addendum/remboursement_frais</string> <string>product_line/addendum/acompte</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -243,7 +247,7 @@ ...@@ -243,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employee Share * Frais</string> </value> <value> <string>Employee Share * Acompte</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -40,8 +40,7 @@ ...@@ -40,8 +40,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>source/account_module/dette_fournisseur</string> <string>source/account_module/104</string>
<string>destination/account_module/creance_client</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -58,17 +58,11 @@ ...@@ -58,17 +58,11 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>resource/currency_module/eur</string> <string>resource/currency_module/EUR</string>
<string>source_section/organisation_module/nexedi</string> <string>source_section/organisation_module/nexedi</string>
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>contributors</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>criterion_property</string> </key> <key> <string>criterion_property</string> </key>
<value> <value>
...@@ -85,9 +79,13 @@ ...@@ -85,9 +79,13 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>movement_1_7</string> </value> <value> <string>movement_1_7</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>last_id</string> </key> <key> <string>last_id</string> </key>
<value> <string>1</string> </value> <value> <string>2</string> </value>
</item> </item>
<item> <item>
<key> <string>mapped_value_property_list</string> </key> <key> <string>mapped_value_property_list</string> </key>
...@@ -120,7 +118,7 @@ ...@@ -120,7 +118,7 @@
<string>tax_category/supplementary_pension/employee_share</string> <string>tax_category/supplementary_pension/employee_share</string>
<string>tax_category/syntec_insurance/employee_share</string> <string>tax_category/syntec_insurance/employee_share</string>
<string>tax_category/unemployment/employee_share</string> <string>tax_category/unemployment/employee_share</string>
<string>product_line/addendum/acompte</string> <string>product_line/social_service/state_insurance</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -148,31 +146,31 @@ ...@@ -148,31 +146,31 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_aday</string> </key> <key> <string>_aday</string> </key>
<value> <string>Thu</string> </value> <value> <string>Wed</string> </value>
</item> </item>
<item> <item>
<key> <string>_amon</string> </key> <key> <string>_amon</string> </key>
<value> <string>Oct</string> </value> <value> <string>Apr</string> </value>
</item> </item>
<item> <item>
<key> <string>_d</string> </key> <key> <string>_d</string> </key>
<value> <float>38649.1666667</float> </value> <value> <float>38451.9166667</float> </value>
</item> </item>
<item> <item>
<key> <string>_day</string> </key> <key> <string>_day</string> </key>
<value> <int>26</int> </value> <value> <int>12</int> </value>
</item> </item>
<item> <item>
<key> <string>_dayoffset</string> </key> <key> <string>_dayoffset</string> </key>
<value> <int>4</int> </value> <value> <int>3</int> </value>
</item> </item>
<item> <item>
<key> <string>_fday</string> </key> <key> <string>_fday</string> </key>
<value> <string>Thursday</string> </value> <value> <string>Wednesday</string> </value>
</item> </item>
<item> <item>
<key> <string>_fmon</string> </key> <key> <string>_fmon</string> </key>
<value> <string>October</string> </value> <value> <string>April</string> </value>
</item> </item>
<item> <item>
<key> <string>_hour</string> </key> <key> <string>_hour</string> </key>
...@@ -180,7 +178,7 @@ ...@@ -180,7 +178,7 @@
</item> </item>
<item> <item>
<key> <string>_millis</string> </key> <key> <string>_millis</string> </key>
<value> <long>1161835200000</long> </value> <value> <long>1144792800000</long> </value>
</item> </item>
<item> <item>
<key> <string>_minute</string> </key> <key> <string>_minute</string> </key>
...@@ -188,7 +186,7 @@ ...@@ -188,7 +186,7 @@
</item> </item>
<item> <item>
<key> <string>_month</string> </key> <key> <string>_month</string> </key>
<value> <int>10</int> </value> <value> <int>4</int> </value>
</item> </item>
<item> <item>
<key> <string>_nearsec</string> </key> <key> <string>_nearsec</string> </key>
...@@ -196,7 +194,7 @@ ...@@ -196,7 +194,7 @@
</item> </item>
<item> <item>
<key> <string>_pday</string> </key> <key> <string>_pday</string> </key>
<value> <string>Thu.</string> </value> <value> <string>Wed.</string> </value>
</item> </item>
<item> <item>
<key> <string>_pm</string> </key> <key> <string>_pm</string> </key>
...@@ -208,7 +206,7 @@ ...@@ -208,7 +206,7 @@
</item> </item>
<item> <item>
<key> <string>_pmon</string> </key> <key> <string>_pmon</string> </key>
<value> <string>Oct.</string> </value> <value> <string>Apr.</string> </value>
</item> </item>
<item> <item>
<key> <string>_second</string> </key> <key> <string>_second</string> </key>
...@@ -216,11 +214,11 @@ ...@@ -216,11 +214,11 @@
</item> </item>
<item> <item>
<key> <string>_t</string> </key> <key> <string>_t</string> </key>
<value> <float>1161835200.0</float> </value> <value> <float>1144792800.0</float> </value>
</item> </item>
<item> <item>
<key> <string>_tz</string> </key> <key> <string>_tz</string> </key>
<value> <string>GMT-4</string> </value> <value> <string>GMT+2</string> </value>
</item> </item>
<item> <item>
<key> <string>_year</string> </key> <key> <string>_year</string> </key>
...@@ -228,7 +226,7 @@ ...@@ -228,7 +226,7 @@
</item> </item>
<item> <item>
<key> <string>time</string> </key> <key> <string>time</string> </key>
<value> <float>0.166666666664</float> </value> <value> <float>0.916666666664</float> </value>
</item> </item>
</dictionary> </dictionary>
</state> </state>
...@@ -243,7 +241,7 @@ ...@@ -243,7 +241,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Employee Share * Acompte</string> </value> <value> <string>Employee Share * URSSAF</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>source/account_module/104</string> <string>source/account_module/securite_sociale</string>
<string>destination/account_module/creances_sociales</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -54,7 +55,7 @@ ...@@ -54,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>quantity</string> </key> <key> <string>quantity</string> </key>
<value> <float>1.0</float> </value> <value> <float>-1.0</float> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_report_year</string> <string>my_report_year</string>
......
...@@ -486,12 +486,6 @@ return details\n ...@@ -486,12 +486,6 @@ return details\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -639,25 +633,4 @@ return details\n ...@@ -639,25 +633,4 @@ return details\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -224,7 +224,7 @@ year = \'2006\'\n ...@@ -224,7 +224,7 @@ year = \'2006\'\n
script_name = \'_\'.join([ "PaySheetTransaction_preCalculation_l10n"\n script_name = \'_\'.join([ "PaySheetTransaction_preCalculation_l10n"\n
, country\n , country\n
, year\n , year\n
])\n ])\n
calculation_method = getattr(context, script_name)\n calculation_method = getattr(context, script_name)\n
pre_calculation = calculation_method(gross_salary=new_gross_salary)\n pre_calculation = calculation_method(gross_salary=new_gross_salary)\n
\n \n
...@@ -282,12 +282,6 @@ return preview_line_list\n ...@@ -282,12 +282,6 @@ return preview_line_list\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -413,25 +407,4 @@ return preview_line_list\n ...@@ -413,25 +407,4 @@ return preview_line_list\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -141,7 +141,7 @@ def createPaySheetItem(title=\'\', res=\'\', dest_org=\'\', desc=\'\', cells=[]) ...@@ -141,7 +141,7 @@ def createPaySheetItem(title=\'\', res=\'\', dest_org=\'\', desc=\'\', cells=[])
# Set the title of the paysheet if empty\n # Set the title of the paysheet if empty\n
months = [ \'january\', \'february\', \'march\', \'april\', \'may\', \'june\', \'july\'\n months = [ \'january\', \'february\', \'march\', \'april\', \'may\', \'june\', \'july\'\n
, \'august\', \'september\', \'october\', \'november\', \'december\'\n , \'august\', \'september\', \'october\', \'november\', \'december\'\n
]\n ]\n
if context.getTitle() in (\'\', None):\n if context.getTitle() in (\'\', None):\n
new_title = \'%s %s\' % ( N_(\'Salary\')\n new_title = \'%s %s\' % ( N_(\'Salary\')\n
, context.getDestinationSectionValue().getTitle()\n , context.getDestinationSectionValue().getTitle()\n
...@@ -281,12 +281,6 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n ...@@ -281,12 +281,6 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -396,25 +390,4 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n ...@@ -396,25 +390,4 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -531,12 +531,6 @@ return default\n ...@@ -531,12 +531,6 @@ return default\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -662,25 +656,4 @@ return default\n ...@@ -662,25 +656,4 @@ return default\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -80,6 +80,10 @@ ...@@ -80,6 +80,10 @@
\n \n
kw = {}\n kw = {}\n
\n \n
# Get Precision\n
precision = context.getResourceValue().getQuantityPrecision()\n
r_ = lambda x: context.Base_getRoundValue(x, precision)\n
\n
\n \n
##########################\n ##########################\n
# This part of the script define usefull variables to help us calculate dynamic rates and contributions.\n # This part of the script define usefull variables to help us calculate dynamic rates and contributions.\n
...@@ -96,8 +100,8 @@ company = paysheet.getSourceSectionValue()\n ...@@ -96,8 +100,8 @@ company = paysheet.getSourceSectionValue()\n
if gross_salary == None:\n if gross_salary == None:\n
gross_salary = abs(paysheet.getGrossSalary())\n gross_salary = abs(paysheet.getGrossSalary())\n
\n \n
start_date = paysheet.getStartDate()\n start_date = paysheet.getStartDate()\n
stop_date = paysheet.getStopDate()\n stop_date = paysheet.getStopDate()\n
\n \n
# Each year, look at http://www.urssaf.fr to complete the table\n # Each year, look at http://www.urssaf.fr to complete the table\n
ceiling_salary_list = { 2003: 2432.0\n ceiling_salary_list = { 2003: 2432.0\n
...@@ -139,8 +143,8 @@ salary_slices = {}\n ...@@ -139,8 +143,8 @@ salary_slices = {}\n
# This is why there is a problem for people who have changing gross salary over the year.\n # This is why there is a problem for people who have changing gross salary over the year.\n
# That\'s why accountants must do manual regulations in those cases.\n # That\'s why accountants must do manual regulations in those cases.\n
slice_a_value = ceiling_salary\n slice_a_value = ceiling_salary\n
slice_b_value = ceiling_salary * 4\n slice_b_value = r_(ceiling_salary * 4)\n
slice_c_value = ceiling_salary * 8\n slice_c_value = r_(ceiling_salary * 8)\n
if gross_salary < slice_a_value:\n if gross_salary < slice_a_value:\n
salary_slices[\'A\'] = gross_salary\n salary_slices[\'A\'] = gross_salary\n
else:\n else:\n
...@@ -156,7 +160,7 @@ else:\n ...@@ -156,7 +160,7 @@ else:\n
\n \n
# "Number" slice type\n # "Number" slice type\n
slice_1_value = ceiling_salary\n slice_1_value = ceiling_salary\n
slice_2_value = ceiling_salary * 3\n slice_2_value = r_(ceiling_salary * 3)\n
if gross_salary < slice_1_value:\n if gross_salary < slice_1_value:\n
salary_slices[\'1\'] = gross_salary\n salary_slices[\'1\'] = gross_salary\n
else:\n else:\n
...@@ -186,7 +190,7 @@ else:\n ...@@ -186,7 +190,7 @@ else:\n
# , \'base\' : contribution_base_in_currency\n # , \'base\' : contribution_base_in_currency\n
# }\n # }\n
# Rates and base must be floats.\n # Rates and base must be floats.\n
# Be carefull: Rates are not in percents !\n # Rates are expressed in percents during the decision process but normalized at the end of that script.\n
##########################\n ##########################\n
\n \n
# Sickness insurance = Assurance maladie\n # Sickness insurance = Assurance maladie\n
...@@ -251,7 +255,7 @@ kw[\'lodging_helps/salaire_plafonne\'] = \\\n ...@@ -251,7 +255,7 @@ kw[\'lodging_helps/salaire_plafonne\'] = \\\n
, \'base\' : limited_salary\n , \'base\' : limited_salary\n
}\n }\n
\n \n
# Solidarity day = Journ\xe9e de Solidarit\xe9\n # Solidarity day = Journee de Solidaritee\n
kw[\'solidarity_day/salaire_brut\'] = \\\n kw[\'solidarity_day/salaire_brut\'] = \\\n
{ \'employer_share\': 0.30\n { \'employer_share\': 0.30\n
, \'employee_share\': None\n , \'employee_share\': None\n
...@@ -272,18 +276,6 @@ kw[\'solidarity_day/salaire_brut\'] = \\\n ...@@ -272,18 +276,6 @@ kw[\'solidarity_day/salaire_brut\'] = \\\n
# , \'base\' : gross_salary\n # , \'base\' : gross_salary\n
# }\n # }\n
\n \n
# CSG\n
kw[\'csg_deductible/salaire_brut_csg\'] = \\\n
{ \'employer_share\': None\n
, \'employee_share\': 5.10\n
, \'base\' : 0.97 * gross_salary\n
}\n
kw[\'csg_non_deductible/salaire_brut_csg\'] = \\\n
{ \'employer_share\': None\n
, \'employee_share\': 2.9\n
, \'base\' : 0.97 * gross_salary\n
}\n
\n
# CRDS\n # CRDS\n
# kw[\'crds/salaire_brut_crds\'] = \\\n # kw[\'crds/salaire_brut_crds\'] = \\\n
# { \'employer_share\': None\n # { \'employer_share\': None\n
...@@ -463,13 +455,21 @@ if executive and not salary_slices.has_key(\'B\') and not salary_slices.has_key( ...@@ -463,13 +455,21 @@ if executive and not salary_slices.has_key(\'B\') and not salary_slices.has_key(
# , \'base\' : gross_salary\n # , \'base\' : gross_salary\n
# }\n # }\n
\n \n
# Syntec convention\n # CSG base salary is hard to calculate because it add "mutuelle" and "prevoyance" employer share\n
# TODO: We can\'t take the decision based on the CollectiveAgreementTitle since each\n # contribution to the base salary and reduce it to 97%.\n
# employee has the right to choose if they want benefit from the insurance or not.\n CSG_BASE_RATE = 0.97\n
# We can use instead the social_contract property of the (near-)future HR-related stuff.\n csg_base_salary = gross_salary\n
\n
# Syntec convention insurances\n
# TODO: We should use the social_contract property of the (near-)future HR-related stuff to\n
# define collective conventions the employee belong to. Same to add custom paysheet\n
# calculation which depend of the employment contract between the employee and the\n
# employer.\n
col_agr = employee.getCareerCollectiveAgreementTitle()\n col_agr = employee.getCareerCollectiveAgreementTitle()\n
if col_agr not in (None, \'\') and \'syntec\' in col_agr.lower():\n if col_agr not in (None, \'\') and \'syntec\' in col_agr.lower():\n
# set the syntec rate according to the employee marital status\n insurrances_base = 0.0\n
# Add "mutuelle" and "prevoyance" employer share to csg_base_salary when required\n
# Set the syntec rate according to the employee marital status\n
syntec_rate = 0.96\n syntec_rate = 0.96\n
if employee.getMaritalStatusId() == \'married\':\n if employee.getMaritalStatusId() == \'married\':\n
syntec_rate *= 2\n syntec_rate *= 2\n
...@@ -478,8 +478,47 @@ if col_agr not in (None, \'\') and \'syntec\' in col_agr.lower():\n ...@@ -478,8 +478,47 @@ if col_agr not in (None, \'\') and \'syntec\' in col_agr.lower():\n
, \'employee_share\': syntec_rate\n , \'employee_share\': syntec_rate\n
, \'base\' : ceiling_salary\n , \'base\' : ceiling_salary\n
}\n }\n
insurrances_base += r_(ceiling_salary * (syntec_rate / 100.0))\n
# Prevoyance insurance (part of SYNTEC requirements)\n
if salary_slices.has_key(\'A\'):\n
RATE = 0.70\n
BASE = salary_slices[\'A\']\n
kw[\'prevoyance/tranche_a\'] = \\\n
{ \'employer_share\': RATE\n
, \'employee_share\': None\n
, \'base\' : BASE\n
}\n
insurrances_base += r_(BASE * (RATE / 100.0))\n
if salary_slices.has_key(\'B\'):\n
RATE = 0.54\n
BASE = salary_slices[\'B\']\n
kw[\'prevoyance/tranche_b\'] = \\\n
{ \'employer_share\': RATE\n
, \'employee_share\': RATE\n
, \'base\' : BASE\n
}\n
insurrances_base += r_(BASE * (RATE / 100.0))\n
# Final tax on the contribution (!)\n
kw[\'taxe_prevoyance/variable\'] = \\\n
{ \'employer_share\': 8.0\n
, \'employee_share\': None\n
, \'base\' : insurrances_base\n
}\n
csg_base_salary += insurrances_base\n
\n
# CSG\n
kw[\'csg_deductible/salaire_brut_csg\'] = \\\n
{ \'employer_share\': None\n
, \'employee_share\': 5.10\n
, \'base\' : CSG_BASE_RATE * csg_base_salary\n
}\n
kw[\'csg_non_deductible/salaire_brut_csg\'] = \\\n
{ \'employer_share\': None\n
, \'employee_share\': 2.9\n
, \'base\' : CSG_BASE_RATE * csg_base_salary\n
}\n
\n \n
# Also add a brand new line for "Reduction Fillon", a negative contribution.\n # Also add a brand new line for "Reduction Fillon", a "negative" contribution.\n
# This tax can be calculated automaticcaly.\n # This tax can be calculated automaticcaly.\n
# Because of lack of time we just let the accountant do the work.\n # Because of lack of time we just let the accountant do the work.\n
# See coresponding service description for more details.\n # See coresponding service description for more details.\n
...@@ -543,6 +582,10 @@ for line_key in kw.keys():\n ...@@ -543,6 +582,10 @@ for line_key in kw.keys():\n
line_key.endswith(\'/forfait\'):\n line_key.endswith(\'/forfait\'):\n
# Defensive programming: be sure conventions are respected\n # Defensive programming: be sure conventions are respected\n
kw[line_key][\'base\'] = 1.0\n kw[line_key][\'base\'] = 1.0\n
# Round values\n
for (key, value) in kw[line_key].items():\n
if key in [\'employee_share\', \'employer_share\'] and value != None:\n
kw[line_key][key] = r_(kw[line_key][key])\n
# \'Variable\' contributions\n # \'Variable\' contributions\n
else:\n else:\n
# All rates in this script are written in percents, we must convert them in pure floats.\n # All rates in this script are written in percents, we must convert them in pure floats.\n
...@@ -551,6 +594,9 @@ for line_key in kw.keys():\n ...@@ -551,6 +594,9 @@ for line_key in kw.keys():\n
if share_value not in [\'\', None]:\n if share_value not in [\'\', None]:\n
# Fix percents\n # Fix percents\n
kw[line_key][share_type] = share_value / 100.0\n kw[line_key][share_type] = share_value / 100.0\n
# Round base\n
if line[\'base\'] not in [\'\', None]:\n
kw[line_key][\'base\'] = r_(line[\'base\'])\n
\n \n
return kw\n return kw\n
...@@ -563,12 +609,6 @@ return kw\n ...@@ -563,12 +609,6 @@ return kw\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -613,6 +653,8 @@ return kw\n ...@@ -613,6 +653,8 @@ return kw\n
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>precision</string>
<string>r_</string>
<string>paysheet</string> <string>paysheet</string>
<string>paysheet_type</string> <string>paysheet_type</string>
<string>employee</string> <string>employee</string>
...@@ -651,11 +693,18 @@ return kw\n ...@@ -651,11 +693,18 @@ return kw\n
<string>employee_share_rate</string> <string>employee_share_rate</string>
<string>employer_share_rate</string> <string>employer_share_rate</string>
<string>comp_date</string> <string>comp_date</string>
<string>CSG_BASE_RATE</string>
<string>csg_base_salary</string>
<string>col_agr</string> <string>col_agr</string>
<string>insurrances_base</string>
<string>syntec_rate</string> <string>syntec_rate</string>
<string>RATE</string>
<string>BASE</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>line_key</string> <string>line_key</string>
<string>line</string> <string>line</string>
<string>key</string>
<string>value</string>
<string>share_type</string> <string>share_type</string>
<string>share_value</string> <string>share_value</string>
</tuple> </tuple>
...@@ -687,25 +736,4 @@ return kw\n ...@@ -687,25 +736,4 @@ return kw\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
<key> <string>_keys</string> </key> <key> <string>_keys</string> </key>
<value> <value>
<list> <list>
<string>start_date</string> <string>start_date</string>
<string>stop_date</string> <string>stop_date</string>
<string>tax_category</string> <string>tax_category</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<key> <string>_keys</string> </key> <key> <string>_keys</string> </key>
<value> <value>
<list> <list>
<string>year</string> <string>year</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_description</string> </value> <value> <string>my_description</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_product_line</string> </value> <value> <string>my_product_line</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_quantity_unit</string> </value> <value> <string>my_quantity_unit</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_title</string> </value> <value> <string>my_title</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>validation_state</string> </value> <value> <string>validation_state</string> </value>
......
2006-11-24 Kevin
* Add "prevoyance" payroll service and related organisation.
2006-10-27 Kevin 2006-10-27 Kevin
* Calculate yearly sums. * Calculate yearly sums.
......
131 136
\ No newline at end of file \ No newline at end of file
...@@ -4,6 +4,7 @@ organisation_module/agirc ...@@ -4,6 +4,7 @@ organisation_module/agirc
organisation_module/arrco organisation_module/arrco
organisation_module/assedic organisation_module/assedic
organisation_module/etat organisation_module/etat
organisation_module/generali
organisation_module/henner organisation_module/henner
organisation_module/urssaf organisation_module/urssaf
payroll_service_module/** payroll_service_module/**
......
0.2.11 0.2.12
\ No newline at end of file \ 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