[%- LxERP.t8("Link to") %]: |
- [% L.select_tag('link_type', LINK_TYPES, default=DEFAULT_LINK_TYPE, style=style) %] |
+ [% L.select_tag('link_type', LINK_TYPES, default=DEFAULT_LINK_TYPE, style=style, id='record_links_add_filter_link_type') %] |
@@ -21,6 +21,11 @@
style=style) %]
+
+ [%- LxERP.t8("Record number") %]: |
+ [% L.input_tag('number', '', style=style) %] |
+
+
[%- LxERP.t8("Customer/Vendor Number") %]: |
[% L.input_tag('vc_number', is_sales ? SELF.object.customer.customernumber : SELF.object.vendor.vendornumber, style=style) %] |
@@ -31,13 +36,13 @@
[% L.input_tag('vc_name', is_sales ? SELF.object.customer.name : SELF.object.vendor.name, style=style) %] |
-
+
[%- LxERP.t8("Project") %]: |
- [% L.select_tag('project_id', PROJECTS, default=SELF.object.globalproject_id, with_empty=1, style=style) %] |
+ [% L.select_tag('globalproject_id', PROJECTS, default=SELF.object.globalproject_id, with_empty=1, style=style) %] |
- [%- LxERP.t8("Transaction description") %]: |
+ [%- LxERP.t8("Transaction description") %]: |
[% L.input_tag('transaction_description', '', style=style) %] |
@@ -45,8 +50,8 @@
[% L.button_tag('filter_record_links()', LxERP.t8("Search")) %]
[% L.button_tag('add_selected_record_links()', LxERP.t8("Add links"), id='add_selected_record_links_button', disabled=1) %]
- [%- LxERP.t8("Reset") %]
- [% LxERP.t8("Cancel") %]
+ [% L.button_tag('$("#record_links_add_filter_form").resetForm()', LxERP.t8('Reset')) %]
+ [% LxERP.t8("Cancel") %]