Commit d14f68fd authored by Fabien Morin's avatar Fabien Morin

2009-02-26 fabien

* update PaySheetTransaction_view and PaySheetModel_view to display payment_condition_payment_date only if cutom payment_condition_trade_date is selected.
* fix typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25731 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e22ac3e2
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +55,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,6 +80,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_payment_date</string> </value>
......@@ -90,4 +102,20 @@
</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>python: here.getPaymentConditionTradeDate() == \'custom\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -60,10 +60,10 @@
if the line_number is None, return all the address lines\n
\'\'\'\n
\n
social_insurance_annotationi_line_value = \\\n
social_insurance_annotation_line_value = \\\n
context.getSocialInsuranceAnnotationLineValue()\n
if social_insurance_annotationi_line_value is not None:\n
organisation = social_insurance_annotationi_line_value.getSourceValue()\n
if social_insurance_annotation_line_value is not None:\n
organisation = social_insurance_annotation_line_value.getSourceValue()\n
else:\n
return \'\'\n
\n
......@@ -121,7 +121,7 @@ else:\n
<string>line_number</string>
<string>_getattr_</string>
<string>context</string>
<string>social_insurance_annotationi_line_value</string>
<string>social_insurance_annotation_line_value</string>
<string>None</string>
<string>organisation</string>
<string>street_address</string>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +55,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,6 +80,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_payment_date</string> </value>
......@@ -90,4 +102,20 @@
</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>python: here.getPaymentConditionTradeDate() == \'custom\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2009-02-26 fabien
* update PaySheetTransaction_view and PaySheetModel_view to display payment_condition_payment_date only if cutom payment_condition_trade_date is selected.
2009-02-04 fabien
* when a specialise model is defined on a paysheet, apply it automatically
* rewrite the apply model script
......
353
\ No newline at end of file
355
\ 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