Commit a7d3e8dc authored by Jérome Perrin's avatar Jérome Perrin

rename field resource, added a "magic" field to redirect to parent when a line...

rename field resource, added a "magic" field to redirect to parent when a line is created (accounting transaction are easyier to edit than lines)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4720 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93e72235
......@@ -14,7 +14,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_resource</string> </value>
<value> <string>my_resource_id</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -187,7 +187,7 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
<value> <int>14</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
......@@ -209,6 +209,14 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
......
......@@ -187,7 +187,7 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
<value> <int>14</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
......@@ -209,6 +209,14 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
......
......@@ -283,7 +283,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.getSourceValue() is not None and here.getSourceValue().getAccountTypeId() == \'cash\'</string> </value>
<value> <string>python:here.getSourceValue(portal_type = \'Account\') is not None and here.getSourceValue(portal_type = \'Account\').isMemberOf(\'account_type/asset/bank\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -245,6 +245,14 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>allow_creation</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>allow_jump</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
......@@ -273,7 +281,7 @@
</item>
<item>
<key> <string>default_module</string> </key>
<value> <string>account</string> </value>
<value> <string>organisation_module</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
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