Commit Graph

3713 Commits

Author SHA1 Message Date
Carlos Ruiz 5994292dbb IDEMPIERE-6160 Remove Eclipse warnings (#2379) 2024-05-30 12:46:07 +02:00
Carlos Ruiz 69995b178b IDEMPIERE-6150 NON-DB attachments are disappearing when a DB deletion fails (#2377)
* IDEMPIERE-6150 NON-DB attachments are disappearing when a DB deletion fails

- delete AD_Attachment and AD_Archive after commit of deletion Trx

* - add patch from Heng Sin to convert string concatenation to text block

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2024-05-28 16:30:01 +02:00
Carlos Ruiz 9740f2bf18 IDEMPIERE-5849 Fix PackOut broken with GenericPO after Cache Reset (#2382) 2024-05-28 16:30:01 +02:00
Carlos Ruiz 6f4686f9db IDEMPIERE-6158 Warehouse Purchase Order cannot be completed after change of product (#2376)
* IDEMPIERE-6158 Warehouse Purchase Order cannot be completed after change of product

* - fix callouts to avoid setting M_Product_ID to null
2024-05-28 16:29:52 +02:00
Carlos Ruiz fb594a5f56 IDEMPIERE-6102 Performance: avoid SQL on AD_TreeNode when the table doesn't have a custom tree (#2309) 2024-05-22 12:41:01 +02:00
Carlos Ruiz 7cd0c88e3a IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2371)
- avoid calling delete cascade for ID when is UUID table
2024-05-21 19:41:28 +02:00
Carlos Ruiz a5a1ce3050 IDEMPIERE-6144 Can't export a report if the name has less than 3 characters (#2363) 2024-05-21 19:41:28 +02:00
Carlos Ruiz 88a9d3eb3a IDEMPIERE-6137 Payment Rule does not appear in reports from Sales Order (#2364) 2024-05-21 19:41:28 +02:00
Carlos Ruiz 2aa7215e2c IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) + IDEMPIERE-6143 (#2367)
- fix export and import for UUID based tables
- fix ExportAction creating temporary files with the wrong extension
- fix export and import of multi-selection fields IDEMPIERE-6143
2024-05-21 19:41:28 +02:00
Carlos Ruiz a3fb6f5b9c IDEMPIERE-6149 Model[Class|Interface]Generator must have a predictable order independent of the developer language (collation) (#2368) 2024-05-21 19:41:28 +02:00
Nicolas Micoud ecfb71bd7d IDEMPIERE-5796: Generate Model Template for several tables in a row (#2244)
* IDEMPIERE-5796: for several tables in a row

https://idempiere.atlassian.net/browse/IDEMPIERE-5796

* IDEMPIERE-5796: for several tables in a row - changes done in ModelInterfaceGenerator / ModelClassGenerator

Implement suggesion from @hengsin

* IDEMPIERE-5796: for several tables in a row - changes done in ModelInterfaceGenerator / ModelClassGenerator

Implement suggesion from @hengsin

* IDEMPIERE-5796: for several tables in a row - changes done in ModelInterfaceGenerator / ModelClassGenerator

Implement suggestion from @CarlosRuiz-globalqss removing duplicated code

* IDEMPIERE-5796: for several tables in a row - changes done in ModelInterfaceGenerator / ModelClassGenerator

fix error
2024-05-21 19:41:28 +02:00
hengsin c47db344e8 IDEMPIERE-6142 Can't add new column to partitioned table (#2358)
* IDEMPIERE-6142 Can't add new column to partitioned table

* IDEMPIERE-6142 Can't add new column to partitioned table

- Fix issue with foreign key

* IDEMPIERE-6142 Can't add new column to partitioned table

- Fix issue with foreign key
2024-05-21 19:41:07 +02:00
Carlos Ruiz 4409415d55 IDEMPIERE-6123 Query in search window causing slowness and load spikes in the database (FHCA-5356) (#2354)
* IDEMPIERE-6123 Query in search window causing slowness and load spikes in the database (FHCA-5356)

- make also configurable the timeout and number of records from windows
- improve timing of reports avoiding unncessary load of array when not jasper

* - implement suggestions from Heng Sin
2024-05-13 17:32:06 +02:00
Carlos Ruiz a86a73c391 IDEMPIERE-6137 Payment Rule does not appear in reports from Sales Order (#2351)
- safer approach
2024-05-13 17:28:06 +02:00
hengsin 47f1336df4 IDEMPIERE-6136 ModelEventDelegate doesn't works with DocAction, PostCreate, PostUpdate and PostDelete annotation (#2346) 2024-05-13 17:28:06 +02:00
Carlos Ruiz 39fff47de6 IDEMPIERE-6137 Payment Rule does not appear in reports from Sales Order (#2347) 2024-05-13 17:28:06 +02:00
Carlos Ruiz 42e998ff7d IDEMPIERE-6123 Query in search window causing slowness and load spikes in the database (FHCA-5356) (#2340)
* IDEMPIERE-6123 Query in search window causing slowness and load spikes in the database (FHCA-5356)

* - create SysConfig
- add Dialog when reaching max query records

* - minor fix comment
- add timeout management to MLookup query

* - Fix for the GridTable.Loader.Open issue

* - add SysConfig and Messages
- add showing error message when the number of records loaded in background exceed the allowed
- add timeout to GridTable.fillBuffer

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2024-05-13 17:28:06 +02:00
Zuhri Utama 95fee2623b IDEMPIERE-6118 : Missing resources on idempiere server monitor (#2326)
* IDEMPIERE-6118 : Missing resources on idempiere server monitor

* remove unused class and add table style

* rename css file and remove javaclient condition
2024-05-13 17:28:06 +02:00
Carlos Ruiz f82c6a9468 IDEMPIERE-6128 make org.idempiere.db.debug show just native Postgresql by default (#2335) 2024-05-13 17:24:09 +02:00
Carlos Ruiz 44688e37a1 IDEMPIERE-6044 CLogMgt.enable not working properly after InitialClientSetup (#2328)
* IDEMPIERE-6044 CLogMgt.enable not working properly after InitialClientSetup

* - add deprecation comment
2024-05-13 17:24:09 +02:00
Carlos Ruiz 8e08cb5cc8 IDEMPIERE-6125 Allow monitoring null transactions on idempiereMonitor (#2332)
* IDEMPIERE-6125 Allow monitoring null transactions on idempiereMonitor

* - add warning
2024-05-13 17:24:09 +02:00
Peter Takács ac5f84f48d IDEMPIERE-6107 Improve Table Partitioning API (#2315)
* IDEMPIERE-6107 - Improve Table Partitioning API
2024-05-13 17:23:35 +02:00
hengsin e577f45770 IDEMPIERE-6114 Eclipse 2024-03 create false changes for org.adempiere.base.AnnotationBasedModelFactory.xml (#2321)
trivial fix
2024-05-13 17:11:02 +02:00
hengsin 0eabdd9d08 IDEMPIERE-6105 Implement recently access menu items (#2311) 2024-05-13 17:11:02 +02:00
Vitor Henrique Dos Santos e4e27f4ee5 IDEMPIERE-6110 New Error Message (#2318)
* IDEMPIERE-6110 New Error Message

* IDEMPIERE-6110 - Added script in iD11

* IDEMPIERE - 6110 Change validation to beforeSave

* IDEMPIERE-6110 Improve messsage

* IDEMPIERE-6110 - Adjust message
2024-05-13 17:11:02 +02:00
hengsin 81660c7fc7 IDEMPIERE-6085 HTMLExtension doesn't handle HTML_REPORT_THEME that starts with "~./" (#2288) 2024-04-15 17:52:15 +02:00
Carlos Ruiz 4af5caf944 IDEMPIERE-6040 Improvements for CSV import template (#2292)
- improve beforeSave validation of CSVHeader using SuperCSV library
- add validation for the CSVAliasHeader
2024-04-05 11:38:27 +02:00
hengsin 29b36f84e2 IDEMPIERE-6081 Import Csv by Template: Allow import from a detail tab into different parents (#2289) 2024-04-05 11:38:27 +02:00
Carlos Ruiz 5d04cc7728 IDEMPIERE-6064 Error when creating a table with a long name through CreateTable process (#2290)
* IDEMPIERE-6064: Error when creating a table with a long time through CreateTable process

* IDEMPIERE-6064: Error when creating a table with a long name through CreateTable process

* - set the length of tablename to 60 char, and other database object names to 63

* - minor javadoc clarification

* - Increase size of other columns and process parameters

* - fix wrong value for Old MAX_OBJECT_NAME_LENGTH

---------

Co-authored-by: Nicolas Micoud <58596990+nmicoud@users.noreply.github.com>
2024-04-05 11:38:27 +02:00
Carlos Ruiz d16538ae38 IDEMPIERE-6040 Improvements for CSV import template (#2279)
* IDEMPIERE-6040 Improvements for CSV import template

- Delimiter (Field Separator) configurable
- Quote delimiter configurable
- Fix issue when the UTF-8 file comes with BOM character

* - add support for preprocessing excel files

* - convert Excel to CSV in a proper format according to the column types
2024-04-05 11:37:28 +02:00
hengsin af10c3a674 IDEMPIERE-5847 Wrong Posting in Shipment (#2280)
* IDEMPIERE-5847 Wrong Posting in Shipment

* IDEMPIERE-5847 Wrong Posting in Shipment

- minor unit test refinement

* IDEMPIERE-5847 Wrong Posting in Shipment

- Fix intermittent unit test error
2024-04-05 11:37:28 +02:00
Nicolas Micoud 0ffcc794b3 IDEMPIERE-6077: Translation of QueryMoreThanOneRecordsFound (#2282)
https://idempiere.atlassian.net/browse/IDEMPIERE-6077
2024-04-05 11:37:28 +02:00
Carlos Ruiz 53e9c7161b IDEMPIERE-6068 Add C_UOM.UNCEFACT column (#2275) 2024-03-22 13:55:40 +01:00
hengsin 2f0baacfa0 IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs (#2273)
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- use safer approach
2024-03-22 13:55:40 +01:00
Carlos Ruiz 96898995ec IDEMPIERE-5578 Data corruption when copying order lines from a closed order (#2269)
- fix new problem reported by Martin Schönbeck
- fix issue found when rounding the unit price of UOM articles
2024-03-22 13:55:40 +01:00
Carlos Ruiz af00731696 IDEMPIERE-6046 Updates on C_Order via REST or webservices is leaving corrupted data (#2262)
* IDEMPIERE-6046 Updates on C_Order via REST or webservices is leaving corrupted data

* - improve performance
2024-03-15 17:38:44 +01:00
hengsin b8947f1f06 IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
hengsin 2d18c90738 IDEMPIERE-5949 Datatables.js and Pivot.js Report Viewer (#2221)
- Fix NPE
2024-03-04 21:24:04 +01:00
hengsin 33c8210618 IDEMPIERE-5949 Datatables.js and Pivot.js Report Viewer (#2211)
* IDEMPIERE-5949 Datatables.js and Pivot.js Report Viewer

* IDEMPIERE-5949 Datatables.js and Pivot.js Report Viewer

* IDEMPIERE-5949 Datatables.js and Pivot.js Report Viewer

- fix launch configuration
2024-03-04 21:24:04 +01:00
Carlos Ruiz 7b210dbfbb IDEMPIERE-6062 Wrong query when importing translations / IDEMPIERE-5567 (#2259) 2024-03-04 21:21:38 +01:00
Carlos Ruiz 69121c5794 IDEMPIERE-6061 Performance - MPrintFormatItem loading MPrintFormat on constructor (#2258) 2024-03-04 21:21:38 +01:00
Carlos Ruiz 7ff0f2f2b9 IDEMPIERE-6052 Print Format: Format Pattern is not Applied on Grouping/Summary SCRIPT rows (#2252) 2024-03-04 21:21:38 +01:00
hieplq 4f3c18730d IDEMPIERE-4677: get client id from MRole instead of from context (#2250)
Calling Env.getAD_Client_ID(getCtx()) within the loadOrgAccessUser function can cause issues if the context is not yet logged in. To avoid this, it's recommended to use getAD_Client_ID() directly instead.
2024-03-04 21:21:38 +01:00
Carlos Ruiz 0a779db755 IDEMPIERE-5790 Improve Report Refresh functionality (#2246) 2024-03-04 21:19:09 +01:00
Carlos Ruiz b9736de0eb IDEMPIERE-4819 Private Lock - Allow Unlock other users Private Records (#2202)
* IDEMPIERE-4819 Private Lock - Allow Unlock other users Private Records

* - move scripts to r11
2024-03-04 21:19:09 +01:00
Carlos Ruiz fa09eb5187 IDEMPIERE-6013 Implement a way to filter dinamically records on MRole.addAccessSQL (#2209)
* IDEMPIERE-6013 Implement a way to filter dinamically records on MRole.addAccessSQL

* - do not create sequence

* - move scripts to r11
2024-03-04 21:19:09 +01:00
Nicolas Micoud 7f951ccd70 IDEMPIERE-5795: DeveloperMode context variable - System Property (#2243)
* IDEMPIERE-5795: DeveloperMode context variable - System Property

https://idempiere.atlassian.net/browse/IDEMPIERE-5795

* IDEMPIERE-5795: DeveloperMode context variable - System Property - simplify

Suggested by @hengsin

Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2024-03-04 21:17:31 +01:00
Carlos Ruiz 16074d80ee IDEMPIERE-6039 MBPartnerLocation returning Location wrongly from cache when asked to requery (#2240) 2024-03-04 21:17:31 +01:00
Carlos Ruiz 26bdfc276f IDEMPIERE-6036 Apply same approach to MLotCtl (#2237) 2024-03-04 21:17:30 +01:00
hengsin 6302f6f5fd IDEMPIERE-6029 Extract @SQL= and @SQLFIND= to constant (#2230) 2024-03-04 21:17:30 +01:00