Wed, 18 Mar 2015 17:17:38 +0100related to issue 29147
Sandra Huguet <sandra.huguet@openbravo.com> [Wed, 18 Mar 2015 17:17:38 +0100] rev 26207
related to issue 29147

the validation only has to be considered when overpayment combo is visible

Wed, 18 Mar 2015 14:37:23 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 18 Mar 2015 14:37:23 +0000] rev 26206
CI: merge back from main

Wed, 18 Mar 2015 14:22:00 +0000CI: update AD_MODULE to version 26202
RM packaging bot <staff.rm@openbravo.com> [Wed, 18 Mar 2015 14:22:00 +0000] rev 26205
CI: update AD_MODULE to version 26202

Wed, 18 Mar 2015 10:50:25 +0100fixed bug 29329: can't download attachments for 2 rows with same name & no ext
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 18 Mar 2015 10:50:25 +0100] rev 26204
fixed bug 29329: can't download attachments for 2 rows with same name & no ext

When trying to download at once attachemnts for different records that have the
same name and it does not have extension, it fails.

The problem is in case of duplicated names to be included within the zipped file,
a number is appended to the file name before the extension. Extesion is present
is assumed, failing if not.

Fix: don't assume file name has extension.

Tue, 17 Mar 2015 20:08:08 +0100Related to bug 29265: Delete obaprmAllRecordsSelectedByUser in OrderInvoice Load
Unai Martirena <unai.martirena@openbravo.com> [Tue, 17 Mar 2015 20:08:08 +0100] rev 26203
Related to bug 29265: Delete obaprmAllRecordsSelectedByUser in OrderInvoice Load

While executing invalidateCache() function to reload OrderInvoice grid it internally calls to 'OB.APRM.AddPayment.deselectAllRecords' overriden method that sets obaprmAllRecordsSelectedByUser property to true. This property is only needed when manually the select/unselect all checkbox is clicked.

This was causing on certain scenarios that methods to update totals were not being called:
* OB.APRM.AddPayment.updateInvOrderTotal(view.theForm, orderInvoice);
* OB.APRM.AddPayment.updateActualExpected(view.theForm);
* OB.APRM.AddPayment.updateDifference(view.theForm);

So, in order to avoid this in OrderInvoiceOnLoad function, if the property 'obaprmAllRecordsSelectedByUser' exists, it will be deleted.

Wed, 18 Mar 2015 09:26:06 +0100fixed bug 29326: multi record attachment download does not check org access
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 18 Mar 2015 09:26:06 +0100] rev 26202
fixed bug 29326: multi record attachment download does not check org access

When downloading attachemnts from different records at once, attachment's
record's organization was not checked to be accessible. The problem was it tried
to get a single record with id as concatenation of all ids.

The fix iterates over all the records and check org access for each of them
individually.

Wed, 18 Mar 2015 09:10:10 +0100related to bug 29313: code cleanup
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 18 Mar 2015 09:10:10 +0100] rev 26201
related to bug 29313: code cleanup

removed unneeded code

Wed, 18 Mar 2015 09:08:59 +0100fixed bug 29313: attachment download of different records at once fails
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 18 Mar 2015 09:08:59 +0100] rev 26200
fixed bug 29313: attachment download of different records at once fails

It generated an invalid zip file.

The problem was it tried to find the attachment directory based on the whole
list of ids to download instead of splitting it.

Tue, 17 Mar 2015 23:03:03 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Tue, 17 Mar 2015 23:03:03 +0000] rev 26199
CI: merge back from main

Tue, 17 Mar 2015 22:47:56 +0000CI: update AD_MODULE to version 26196
RM packaging bot <staff.rm@openbravo.com> [Tue, 17 Mar 2015 22:47:56 +0000] rev 26198
CI: update AD_MODULE to version 26196