Commit 48a25e2b authored by Aurel's avatar Aurel

on the listbox of paysheet view, base column is part of 'editable field' so...

on the listbox of paysheet view, base column is part of 'editable field' so that it uses properties defined on listbox_base field

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33505 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6c128616
...@@ -66,14 +66,15 @@ editable_column_list = [(\'int_index\', \'PaySheet Order\'),\n ...@@ -66,14 +66,15 @@ editable_column_list = [(\'int_index\', \'PaySheet Order\'),\n
(\'title\', \'Title\'),]\n (\'title\', \'Title\'),]\n
\n \n
not_editable_column_list = [(\'source_section_title\', \'Service Provider\'),\n not_editable_column_list = [(\'source_section_title\', \'Service Provider\'),\n
(\'slice\', \'Slice\'),\n (\'slice\', \'Slice\'),]\n
(\'base\', \'Base\'),]\n
\n \n
column_list.extend(editable_column_list)\n column_list.extend(editable_column_list)\n
\n \n
if not editable:\n if not editable:\n
column_list.extend(not_editable_column_list)\n column_list.extend(not_editable_column_list)\n
\n \n
column_list.append((\'base\', \'Base\'))\n
\n
\n \n
# this following columns are add for both edibales and not\n # this following columns are add for both edibales and not\n
for model_line in context.contentValues(portal_type=\'Pay Sheet Line\'):\n for model_line in context.contentValues(portal_type=\'Pay Sheet Line\'):\n
......
553 554
\ 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