<td></td>
<td></td>
<td align="right">[% 'Customer' | $T8 %]</td>
- <td rowspan="2">[% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input") %]</td>
+ <td rowspan="2">[% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input", action={commit_one='kivi.Part.add_customerprice_row'}) %]</td>
<td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
</tr>
</tbody>
</td>
</tr>
[% L.sortable_element('#customerprice_rows') %]
-
- <script type="text/javascript">
- $(function() {
-
- $('#customerprice_rows').on('sortstop', function(event, ui) {
- kivi.Part.customerprice_renumber_positions();
- });
-
- })
- </script>