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 @@
<item>CashDeliveryLine</item>
</portal_type>
<portal_type id="Monetary Reception">
<item>Comment</item>
<item>CashContainer</item>
</portal_type>
<portal_type id="Monetary Survey">
......
......@@ -33,6 +33,25 @@
<none/>
</value>
</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>
<key> <string>_roles</string> </key>
<value>
......@@ -97,6 +116,10 @@
<key> <string>init_script</string> </key>
<value> <string>MonetaryReception_init</string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
<value>
......@@ -110,4 +133,44 @@
</dictionary>
</pickle>
</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>
......@@ -94,11 +94,15 @@ def isSameSet(a, b):\n
\n
reference_currency_id = context.Baobab_getPortalReferenceCurrencyID()\n
\n
from DateTime import DateTime\n
today_date = DateTime()\n
\n
def create_movement(CD_head_dict, CD_line_list):\n
# Head creation\n
movement_head = context.newContent( portal_type = \'Monetary Reception\'\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
)\n
# Container Creation\n
......@@ -432,6 +436,8 @@ return url_redirection(message_dict[\'message\' ],delivery_id=message_dict[\'del
<string>_getattr_</string>
<string>context</string>
<string>reference_currency_id</string>
<string>DateTime</string>
<string>today_date</string>
<string>create_movement</string>
<string>split_head</string>
<string>split_lines</string>
......
......@@ -109,6 +109,7 @@
<string>my_source_reference</string>
<string>my_resource_title</string>
<string>my_destination</string>
<string>my_comment</string>
</list>
</value>
</item>
......
310
\ No newline at end of file
312
\ No newline at end of file
Account Incident Module | list_ui
Account Incident Module | print_pdf
Account Incident Module | sort_on
......
Account Incident Module | Account Incident
Account Incident | Banking Operation Line
Account Incident | Incoming Account Incident Line
......
Account Incident | source_decision
Bank Account | site
Cash Container Item | aggregate
......
Account Incident | Incoming Account Incident Line
Account Incident | Outgoing Account Incident Line
Cash Balance Regulation | Incoming Cash Balance Regulation Line
......
Account Incident
Account Incident Module
Cash Balance Regulation
......
Account Incident | Amount
Account Incident | Price
Cash Balance Regulation | Amount
......@@ -69,6 +68,7 @@ Monetary Recall Line | CashDeliveryLine
Monetary Recall | Amount
Monetary Recall | Price
Monetary Reception | CashContainer
Monetary Reception | Comment
Monetary Survey | Amount
Monetary Survey | Task
Money Deposit Rendering | Amount
......
Account Incident | account_incident_workflow
Account Incident | edit_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