Commit d5afe8f4 authored by Aurel's avatar Aurel

date in file is now in comment, start date is the now the current date

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d843bd10
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
<item>CashDeliveryLine</item> <item>CashDeliveryLine</item>
</portal_type> </portal_type>
<portal_type id="Monetary Reception"> <portal_type id="Monetary Reception">
<item>Comment</item>
<item>CashContainer</item> <item>CashContainer</item>
</portal_type> </portal_type>
<portal_type id="Monetary Survey"> <portal_type id="Monetary Survey">
......
...@@ -33,6 +33,25 @@ ...@@ -33,6 +33,25 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item> <item>
<key> <string>_roles</string> </key> <key> <string>_roles</string> </key>
<value> <value>
...@@ -97,6 +116,10 @@ ...@@ -97,6 +116,10 @@
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string>MonetaryReception_init</string> </value> <value> <string>MonetaryReception_init</string> </value>
</item> </item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>property_sheet_list</string> </key> <key> <string>property_sheet_list</string> </key>
<value> <value>
...@@ -110,4 +133,44 @@ ...@@ -110,4 +133,44 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -94,11 +94,15 @@ def isSameSet(a, b):\n ...@@ -94,11 +94,15 @@ def isSameSet(a, b):\n
\n \n
reference_currency_id = context.Baobab_getPortalReferenceCurrencyID()\n reference_currency_id = context.Baobab_getPortalReferenceCurrencyID()\n
\n \n
from DateTime import DateTime\n
today_date = DateTime()\n
\n
def create_movement(CD_head_dict, CD_line_list):\n def create_movement(CD_head_dict, CD_line_list):\n
# Head creation\n # Head creation\n
movement_head = context.newContent( portal_type = \'Monetary Reception\'\n movement_head = context.newContent( portal_type = \'Monetary Reception\'\n
, reindex_object = 1\n , reindex_object = 1\n
, start_date = CD_head_dict[\'start_date\']\n , start_date = today_date\n
, comment = CD_head_dict[\'start_date\']\n
, destination = CD_head_dict[\'destination\']\n , destination = CD_head_dict[\'destination\']\n
)\n )\n
# Container Creation\n # Container Creation\n
...@@ -432,6 +436,8 @@ return url_redirection(message_dict[\'message\' ],delivery_id=message_dict[\'del ...@@ -432,6 +436,8 @@ return url_redirection(message_dict[\'message\' ],delivery_id=message_dict[\'del
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>reference_currency_id</string> <string>reference_currency_id</string>
<string>DateTime</string>
<string>today_date</string>
<string>create_movement</string> <string>create_movement</string>
<string>split_head</string> <string>split_head</string>
<string>split_lines</string> <string>split_lines</string>
......
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
<string>my_source_reference</string> <string>my_source_reference</string>
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_destination</string> <string>my_destination</string>
<string>my_comment</string>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StringField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_comment</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Comment</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
310 312
\ No newline at end of file \ No newline at end of file
Account Incident Module | list_ui Account Incident Module | list_ui
Account Incident Module | print_pdf Account Incident Module | print_pdf
Account Incident Module | sort_on Account Incident Module | sort_on
......
Account Incident Module | Account Incident Account Incident Module | Account Incident
Account Incident | Banking Operation Line Account Incident | Banking Operation Line
Account Incident | Incoming Account Incident Line Account Incident | Incoming Account Incident Line
......
Account Incident | source_decision Account Incident | source_decision
Bank Account | site Bank Account | site
Cash Container Item | aggregate Cash Container Item | aggregate
......
Account Incident | Incoming Account Incident Line Account Incident | Incoming Account Incident Line
Account Incident | Outgoing Account Incident Line Account Incident | Outgoing Account Incident Line
Cash Balance Regulation | Incoming Cash Balance Regulation Line Cash Balance Regulation | Incoming Cash Balance Regulation Line
......
Account Incident Account Incident
Account Incident Module Account Incident Module
Cash Balance Regulation Cash Balance Regulation
......
Account Incident | Amount Account Incident | Amount
Account Incident | Price Account Incident | Price
Cash Balance Regulation | Amount Cash Balance Regulation | Amount
...@@ -69,6 +68,7 @@ Monetary Recall Line | CashDeliveryLine ...@@ -69,6 +68,7 @@ Monetary Recall Line | CashDeliveryLine
Monetary Recall | Amount Monetary Recall | Amount
Monetary Recall | Price Monetary Recall | Price
Monetary Reception | CashContainer Monetary Reception | CashContainer
Monetary Reception | Comment
Monetary Survey | Amount Monetary Survey | Amount
Monetary Survey | Task Monetary Survey | Task
Money Deposit Rendering | Amount Money Deposit Rendering | Amount
......
Account Incident | account_incident_workflow Account Incident | account_incident_workflow
Account Incident | edit_workflow Account Incident | edit_workflow
Cash Balance Regulation | cash_balance_regulation_workflow Cash Balance Regulation | cash_balance_regulation_workflow
......
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