Commit Graph

6635 Commits

Author SHA1 Message Date
Carlos Ruiz 9bc32c1cd4 Fix several errors with Allocation:
- fix a wrong raise of exception when no organization (add throws keyword)
- when creating the allocation is taking the organization of log in, and it must take precedence the organization chosen by the user on the allocation window (login org still used in case no org is selected by user)
2011-03-08 11:45:59 -05:00
Carlos Ruiz 52ccb1f03c Just one record for personal lock or record access can be saved.
Steps to reproduce:
- Enable Personal Lock on a Role (i.e. GardenAdmin)
- Log in as GardenAdmin, open Payment Term window and lock the first record
- Then try to lock the second record, it's not possible, just one record can be saved on the same session
This commit fix the problem.
2011-03-08 11:43:49 -05:00
Carlos Ruiz 780725390a Fix a problem caused when pushing copy button (swing client) with no record on screen raises this exception:
===========> APanel.actionPerformed: Copy [11]
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at org.compiere.model.GridTable.getDataAtRow(GridTable.java:1020)
at org.compiere.model.GridTable.getDataAtRow(GridTable.java:1015)
at org.compiere.model.GridTable.dataNew(GridTable.java:2483)
at org.compiere.model.GridTab.dataNew(GridTab.java:1131)
at org.compiere.apps.APanel.cmd_new(APanel.java:1879)
at org.compiere.apps.APanel.actionPerformed(APanel.java:1690)
2011-03-08 11:42:27 -05:00
Carlos Ruiz 3df5962ed5 FR 3110127 - Null error when use Generate Invoice from Receipt
http://sourceforge.net/support/tracker.php?aid=3110127
Fix provided by Kitti U
2011-03-08 11:40:58 -05:00
Carlos Ruiz 36ac1b1102 Integrate Revision: 14479
http://adempiere.svn.sourceforge.net/adempiere/?rev=14479&view=rev
Author: trifonnt
Date: 2010-11-14 21:17:08 +0000 (Sun, 14 Nov 2010)
Typo corrections in USA CoA.

Added some improvements (fix on the spreadsheet and migration scripts to fix the current GW data)
2011-03-08 11:39:57 -05:00
Carlos Ruiz 2b150d7c16 FR 3090719 - Send BCC to From sending e-mail
Thanks to Marcelo Luiz Onhate (monhate) - OSEB project
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3090719

Extending idea as suggested by Steven Sackett - Adaxa
Send BCC to a client-wide defined address
Fixing according to suggestion from Marcelo Luiz Onhate (monhate)
2011-03-08 11:36:40 -05:00
Carlos Ruiz 5502bff9bd minor, fix wrong comment 2011-03-08 11:32:04 -05:00
Carlos Ruiz c2072ab61e Implement system configurator parameter ZK_ROOT_FOLDER_BROWSER to indicate the root for zk folder browser 2011-03-08 11:27:33 -05:00
Carlos Ruiz 2960ff204b Improve output message from translation import process 2011-03-08 11:03:32 -05:00
Carlos Ruiz cd24e36409 Implement best practice in some classes suppressing warning about serialVersionUID:
http://www.adempiere.com/index.php/Release_Commit_Rules#I9_-_Regenerate_serialVersionUID_when_required_.28B.29
2011-03-08 11:00:56 -05:00
Carlos Ruiz 5071651358 Fix bug on InvoiceGenerate:
- process is consolidating by order bill location, but was not ordering by the consolidating column
2011-03-08 10:53:33 -05:00
Carlos Ruiz af5bcc0a16 Script to fix some wrong entity types (affecting the way PackIn works on dictionary items) 2011-03-08 10:52:18 -05:00
Carlos Ruiz 00c71fc777 Fix problem detected with advanced zoom functionality: the zoom was not showing direct relations now (i.e. invoices directly related to orders via C_Invoice.C_Order_ID)
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2897194
2011-03-08 10:50:43 -05:00
Carlos Ruiz 411bbc02c3 Fix problem in MJournal - in the replacement of SQL code the transaction was dropped
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
2011-03-08 10:47:41 -05:00
Carlos Ruiz 6b9b4814e7 Fix zkwebui problem with mandatory read-only fields.
There is a case where a read-only field is set as mandatory (it's filled with a default value) - this is working ok in swing, but in zkwebui was not working because read-only fields were treated in a different way
----------------------
Fix problem caused by revision 14423:
http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=revision&revision=14423
Problem reported here:
https://sourceforge.net/projects/adempiere/forums/forum/610548/topic/3958171
* Fix zkwebui problem with mandatory read-only fields.
* Now it behaves like swing
* And lists are not filled for read-only fields (better performance)
2011-03-08 10:46:14 -05:00
Carlos Ruiz 6576167196 Integrate patch from jmpiloq
- Vertical Spacing in Swing Client
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3073406
2011-03-08 10:39:14 -05:00
Carlos Ruiz d87472ce7a Integrate revision 14385 from trifonnt:
FR [3100564] - Improve JasperReport image handling
https://sourceforge.net/tracker/?func=detail&aid=3100564&group_id=176962&atid=883808
2011-03-07 11:42:58 -05:00
Carlos Ruiz 19dded6c92 Fix bug in CalloutInvoice and CalloutOrder:
- variables PriceEntered and PriceActual are not correctly assigned, and they are used in some processes below -> result, calculate of taxamt and linenetamt is wrong
2011-03-07 11:06:27 -05:00
Carlos Ruiz dc9b7d5829 Improvements for zkwebui process parameter panel:
- show mandatory fields similar to windows (marked with a red * at the end)
- validate mandatory fields, inform the user and allow the user to fill them without cancelling the report/process (the user is notified immediately no need to push Parameter button to go back and fill the mandatory parameters - similar as swing client behaves)
2011-03-07 10:59:31 -05:00
Carlos Ruiz 67d11bfa3b fix in BrowserToken to avoid Null Pointer Exception 2011-03-07 10:25:32 -05:00
Carlos Ruiz 9da89f5101 Fix bug in generation allocation header, when payment has datetrx <> dateacct the allocation was being generated with wrong dateacct 2011-03-07 10:23:43 -05:00
Carlos Ruiz cc8e13b32f Fix problem in C_OrderLineTax_VT - product name was not printing attributes
https://sourceforge.net/tracker/index.php?func=detail&aid=3176222&group_id=176962&atid=879332
2011-03-07 10:19:08 -05:00
Carlos Ruiz 56f1f079d4 Synchronize InfoInvoice with InfoInvoicePanel (zkwebui)
- swing is showing DueDate and zk is not
- add DocumentNo to the order in case several documents fall on the same due date
2011-03-07 10:11:51 -05:00
Carlos Ruiz a37d586511 more Payroll dictionary fixes:
- Payroll Concept Sign cannot be Natural
- Filter payroll period by payroll in payroll process
2011-02-27 01:08:12 -05:00
Carlos Ruiz af49588c1d Error when ClientShare is defined as Client Only and the table is defined with access level All - Adempiere must enforce org=0 in these cases 2011-02-27 01:06:37 -05:00
Carlos Ruiz 38a5d1b420 Enable immediate accounting for Production Document
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2857289
2011-02-27 01:04:54 -05:00
Carlos Ruiz 3eb5515dd7 Integrate payroll movement importer in globalqss/adempiere361liberoHR
FR [2878276] - Importer for Payroll
https://sourceforge.net/tracker/index.php?func=detail&aid=2878276&group_id=176962&atid=879335
Pending posterior integration of liberoHR.jar
2011-02-27 01:01:53 -05:00
Carlos Ruiz d10314493d Fixes on dictionary for payroll tables and windows:
-- Make column payroll concept category updatable
-- Make column HR_Year.StartDate type Date instead of DateTime
-- Fix Error -> All periods of a year shown
-- Add security validation to HR_Process.AD_Org_ID
-- Change HR_Movement date columns from datetime to just date
2011-02-27 00:56:56 -05:00
Carlos Ruiz 11b3d0bcf2 Payroll improvement:
Allow to fill the Description field on movement assigning the variable description in the payroll rule.
Integrate fix from 361 - harmless addition to Scriptlet (backward compatible) to allow registering description in payroll.
2011-02-27 00:53:47 -05:00
Carlos Ruiz 37d2ee07f5 Brazilian addresses cannot be captured, regions were added to the database, but not defined in the capture sequence. This script fixes the problem. 2011-02-27 00:50:00 -05:00
Carlos Ruiz 0a937fb801 Every exception logged in AD_Issue are complaining because the length of ReleaseNo column - this script fixes that problem. 2011-02-27 00:49:01 -05:00
Carlos Ruiz 45a0d28cc5 Some "Used in" tabs cannot make zoom - for example zooming to columns from used in tab in Element window. This script implement the zoom. 2011-02-27 00:48:06 -05:00
Carlos Ruiz 01a936b63f Fix problems with old DataElementHandler
- NPE when the name of a record was null
- NPE when the key1name or key2name were null
- add client filter when looking for a record (it was reading records from other clients in multitenant environment)
Heng Sin, can you please review these potential errors against the structure of the new pipo2
2011-02-27 00:42:44 -05:00
Carlos Ruiz 4882320f29 Integrate fix advised by Heng Sin to solve a problem rendering images from AD_Client.Logo_ID on jasper reports 2011-02-27 00:33:34 -05:00
teo_sarca 45200670fb Lines Tab read only on new doc after completing
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3033485
globalqss -> Integrating fix for annoying bug from http://adempiere.svn.sourceforge.net/viewvc/adempiere?view=revision&revision=13343
2011-02-27 00:29:18 -05:00
Carlos Ruiz c58e6f00c0 Fix inconsistency in packout - the xml file encoding property is defined as ISO-8859-1 but the file stream is written with utf-8. I had problems importing the generated files, all accents and special characters were imported wrongly. 2011-02-27 00:07:26 -05:00
Carlos Ruiz 5ace44da03 Fix broken FR 3018857 - Importer the Inventory Move, and create sample file format in GardenWorld 2011-02-26 23:22:13 -05:00
Carlos Ruiz d066ed88c4 Renumber migration scripts to make room for the integration of bug fixings 2011-02-26 23:18:51 -05:00
Carlos Ruiz db838952ba Revert rev 12032 6140 02c37e74eefd - Implemented patch solves a critical problem, but open a new one
this means this bug is still open in swing and zkwebui, but requires a better approach to solve it:
BF [2987605] - Attribute Set Instance dialog: select existing ASI
2011-02-26 22:37:11 -05:00
Carlos Ruiz 4e143f09f2 Reverting revisions 12757, 12778, 12785 (6348, 6352, 6353)
This has suffered lot of modifications after the last commit in trunk:
svn revisions: 12968, 13190, 13206, 13208, 14172, 14175, 14200, 14201
hg changesets: 6356, 6360, 6361, 6362, 6394, 6395, 6396, 6397
It requires proper functional review and analysis of collaterals
We better revert from here and integrate later when it's more stable and we have proper description and QA over these new processes.
2011-02-26 22:25:50 -05:00
Carlos Ruiz 04579bc676 Revert 12710 Allow the entry the Tax amount manually the same way PO - 6345 b330695a3a58
It was reverted with revision 13840 because it's causing big issues
2011-02-26 20:55:17 -05:00
Carlos Ruiz bae99d6364 Revert rev 12671 6338 2c80d7a7a06c - unneeded migration script for
BF [3017942] - Version 3.6 lts is not importing accounts
2011-02-26 20:50:31 -05:00
Carlos Ruiz 3d4c5fb123 Revert rev 12643 - Invalid "Record on parent tab was changed" 6334 aa2da671ac3a
http://sourceforge.net/support/tracker.php?aid=3017560
According to the description of the tracker the test scenario is not valid because it could be possible that process completed the document and in this case the warning is valid.
Checking with the flag manualcmd is not good as this is used to indicate a navigation button was pushed.
I tested again the issue described in tracker 1985481 and it needs further work, the validation is raised when the user push the save button, but not when the user pushes next or previous record buttons.
http://sourceforge.net/support/tracker.php?aid=1985481
2011-02-26 20:46:37 -05:00
Carlos Ruiz 403ccaf162 Revert FR [2979756] - Touchscreen friendly POS
Although I like the new presentation of the touchscreen POS it removed some basic functionality.
* In previous POS you could select the business partner, here it assign the "Standard" partner and it cannot be changed (not sure if there is a "hidden" button to do it).
* The button "Preferences" do nothing.
* Credit Card Expiration cannot be set to 0911 - it's changed to 911 and then complaining about the format.
* The order was completed with an incomplete payment - an order of 200 - I entered a cash payment of 50 and it was completed with a change of -190
2011-02-26 19:27:57 -05:00
Carlos Ruiz fb7eb25653 Starting server.product is throwing exception:
java.lang.ClassNotFoundException: org.eevolution.model.LiberoValidator
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.compiere.model.ModelValidationEngine.loadValidatorClass(ModelValidationEngine.java:163)
	at org.compiere.model.ModelValidationEngine.<init>(ModelValidationEngine.java:104)
	at org.compiere.model.ModelValidationEngine.get(ModelValidationEngine.java:75)
	at org.compiere.Adempiere.startupEnvironment(Adempiere.java:526)
	at org.compiere.Adempiere.startup(Adempiere.java:503)
	at org.compiere.util.WebEnv.initWeb(WebEnv.java:170)
	at org.compiere.util.WebEnv.initWeb(WebEnv.java:129)
	at org.compiere.web.AdempiereMonitor.init(AdempiereMonitor.java:1007)
As a temporary measure in order to create a clean installer in future I brought an old script that disable the validator.
We can enable it again when integrated the jar files as packages.
2011-02-26 15:46:43 -05:00
Carlos Ruiz 51aea0759d add build directories to ignore 2011-02-26 14:52:05 -05:00
Heng Sin Low 745320642c PiPo2 - don't auto generate uuid for record with official id. 2011-02-21 19:30:21 +08:00
Heng Sin Low b1d1908f24 Add '\' escape character support for Oracle. 2011-02-21 19:21:35 +08:00
Heng Sin Low 87a93f946c PiPo2 - don't auto generate uuid during pack out as it is not safe to do so. 2011-02-21 19:16:16 +08:00
Heng Sin Low 02e4d1846a Fixed wrong number of parameters for sql statement. 2011-02-17 11:10:20 +08:00