Commit Graph

2871 Commits

Author SHA1 Message Date
Carlos Ruiz 350e9efe65
IDEMPIERE-4503 Hide non-working things in Window Customization (#310) 2020-10-21 14:49:02 +02:00
Deepak Pansheriya 78f388d450
IDempiere-2999: on Attribute adding all reference type support except… (#287)
* IDempiere-2999: on Attribute adding all reference type support except path, images.

* IDEMPIERE-2999 : Removing isQuickForm reference from migration script and fixing url issue.
2020-10-21 13:58:23 +02:00
Deepak Pansheriya 08f6fb17d3
IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Va… (#249)
* IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Validation Rule overwrite for Find window, Extended search and advanced hiding options.

* IDEMPIERE-3981: Correcting migration script as per Carlos' code review finding

* IDEMPIERE-3981: Fixing as per code review comment
Co-authored-by: muriloht muriloht@devcoffee.com.br

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-21 13:32:25 +02:00
Carlos Ruiz 00153d7c8d
IDEMPIERE-4494 Security - Tenant customization must be advanced (#304) 2020-10-18 11:47:34 +02:00
hengsin 2b9cb9bb2e
IDEMPIERE-4497 Mobile: Update PDF.JS (#306)
* IDEMPIERE-4497 Mobile: Update PDF.JS

* IDEMPIERE-4497 Mobile: Update PDF.JS

archive and simple pdf viewer

* IDEMPIERE-4497 Mobile: Update PDF.JS

change ZK_USE_PDF_JS_VIEWER sysconfig level to Client level (C)
2020-10-17 17:55:11 +02:00
Carlos Ruiz c0867c01ee
IDEMPIERE-4297 Improve test data (#303)
The GardenWorld Admin Not Advanced role was added as advanced by mistake
2020-10-17 07:16:06 +08:00
igorpojzl 3246bb8b1e
IDEMPIERE-4459 Info Window Customization (#259)
* IDEMPIERE-4459 Info Window Customization - Added Java Models

* IDEMPIERE-4459 Update Model AD_UserDef_Info_Column

* IDEMPIERE-4459 Added Migration scripts

* IDEMPIERE-4459 User Definition Info Column Added

Added Business Logic for Info Window Customization for Info Columns. Added InfoColumnVO for storing InfoColumn Data filtered with User Definition.

* IDEMPIERE-4459 Added Migration Scripts to Update Columns

Allow Update AD_Role_ID, AD_Language, AD_User_ID in AD_UserDef_Info table.

* IDEMPIERE-4459 Info Window Customisation - Updated Migration scripts

* IDEMPIERE-4459 Migration Script Fix

* IDEMPIERE-4459 Info Window Customization - Update Java Models

* IDEMPIERE-4459 Apply Migration Patch

* IDEMPIERE-4459 Info Window Customization - Update Models

* IDEMPIERE-4459 Apply Patch 2 fix.

* IDEMPIERE-4459 Info Related Cust. Added, Info Window Cust. Implementation..

* IDEMPIERE-4459 Info Related isDisplay added

* IDEMPIERE-4459 Added Display Logic for Info Related

* IDEMPIERE-4459 Fix SeqNo for InfoColumns

* IDEMPIERE-4459 Fix Patch 3
2020-10-16 11:41:50 +02:00
hengsin 91c72fd978
IDEMPIERE-4482 Mobile Improvements (#297)
* IDEMPIERE-4482 Mobile Improvements

* IDEMPIERE-4482 Mobile Improvements

minor line height fix for process dialog's message area

* IDEMPIERE-4482 Mobile Improvements

- fix issue with grid view column header height
- add customize grid view button to detail pane
- always show message as notifications for mobile
- fix some mobile layout issues
- default desktop font size to 14px
2020-10-14 11:07:18 +02:00
Diego Ruiz edf407614f
IDEMPIERE-4490 Set default Contact/User in SO, Invoice, M_InOut (#289)
* IDEMPIERE-4490 Set default Contact/User in SO, Invoice, M_InOut

* Ran modelgenerator again with the new field = null

* IDEMPIERE 4490 - Update the migration scripts to 7.1 and set Bill_User_ID to null

* IDEMPIERE 4490 - Update the migration scripts to 7.1

* Change field name from Invoice Address to Invoice Contact / Ship Address to Ship Contact

* IDEMPIERE-4490 Add logic to CalloutOrder.bpartnerBill
2020-10-08 12:17:07 +02:00
Carlos Ruiz e3dc0349ad
IDEMPIERE-4297 Improve test data (#282)
* IDEMPIERE-4297 Improve test data

Create a new accounting schema in Euros
Solve problems with documents not posting:
- Fix date for test conversion rates
- Reactivate price list
- Create required purchase order for matching
Create a default query for Unposted window to show Not Drafted documents
Set accounting to immediate (sync seed DBs - postgresql was immediate, oracle was not)
Reset accounting for GardenWorld, delete all facts and reset posted status of all documents
Inactivate cash journals not used anymore

* IDEMPIERE-4297 Improve test data

Leave the user query for unposted window shared - but not default
2020-10-04 17:15:18 +08:00
Carlos Ruiz c837ef28f0
IDEMPIERE-4481 Fix problem with oracle script lines starting with @ (#285) 2020-10-04 14:52:53 +08:00
Carlos Ruiz 0b35edfacf IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2
Fix view to avoid compilation errors
2020-10-03 20:23:48 +02:00
Carlos Ruiz f106a61be3 IDEMPIERE-4083 currency rate by document or by transaction
Fix wrong pl/sql functions
2020-10-03 20:14:15 +02:00
Ricardo Santana 2199aa078c
IDEMPIERE-1604 - Extend features for Window Customization (#274)
* IDEMPIERE-1604 - Extend features for Window Customization

* change oracle data type

* oracle replace at sign to chr 64

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-09-28 14:53:33 +02:00
Carlos Ruiz 6ff5fed0ec
IDEMPIERE-4474 Automatic calculation of freight charges (#277)
* IDEMPIERE-4474 Automatic calculation of freight charges

* IDEMPIERE-4474 Keep the getShippingProcessor private - avoid NPE in all getters

* IDEMPIERE-4474 Improve error messages and error management
2020-09-28 14:50:58 +02:00
Carlos Ruiz 41513ba3b1
IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2 (#276)
Minor required change detected testing on a custom database
2020-09-28 12:31:54 +02:00
Deepak Pansheriya 965048d168
IDEMPIERE-2955: Adding Attribute Set Type to use attribute set for di… (#264)
* IDEMPIERE-2955: Adding Attribute Set Type to use attribute set for different purpose

* IDEMPIERE-2955: Fixing migration files swept between Oracle and postgresql folder.

* IDEMPIERE-2955: Fixing oracle migration script having mistakenly deleted comments
2020-09-24 17:17:51 +02:00
Diego Ruiz 02a450a660
IDEMPIERE-4084 - Reposition default toolbar buttons (#272) 2020-09-22 16:48:53 +02:00
muriloht d875208a00
IDEMPIERE-3336 - Tables missing EntityType column (#258)
* IDEMPIERE-3336 - Tables missing EntityType column

* IDEMPIERE-3336 - fix PR review comments

* IDEMPIERE-3336 - fix PR review default value for entityType
2020-09-21 10:25:23 +02:00
Deepak Pansheriya e72dfd66c0
IDEMPIERE-4067 : Support for Under/Over line and Blank line in finaci… (#244)
* IDEMPIERE-4067 : Support for Under/Over line and Blank line in finacial report line.

* IDEMPIERE-4067 : Adding support for blank line export in CSV, HTML, Excel. Also allowing to show description if provided. fixed all review comments fron Carlos Ruiz
2020-09-08 12:59:19 +02:00
Deepak Pansheriya ee48ef2be4
Idempiere 4066 (#235)
* IDEMPIERE-4066: Adding 'Relative Period To' on financial report column which allow to specify period range to produce YoY. QoQ like comparision report.

* IDEMPIERE-4066: Fixing defaulting RelativePeriodTo to Null issue

* IDEMPIERE-4066: Fix as per Carlos review.
1. Fixing compilation issue
2. Moving Column ID constants to systemIDs
3. Updating serial version for MReportColumn.

* IDEMPIERE-4066: Reverted GridField class changes and configured defailt for RelativePeriodTo to be 'NULL'
2020-09-05 12:17:40 +02:00
Nicolas Micoud 3384819c49
IDEMPIERE-4435 : GL Distribution - add ValidFrom / ValidTo (#238)
* IDEMPIERE-4435 : GL Distribution - add ValidFrom / ValidTo

* IDEMPIERE-4435 : GL Distribution - add ValidFrom / ValidTo (javadoc)
2020-08-28 16:14:45 +02:00
hengsin ab910e0dd2
IDEMPIERE-4430 Process_Production workflow missing transition node fro… (#232)
* IDEMPIERE-4430 rocess_Production workflow missing transition node from start to docprepare

add missing workflow transition node

* IDEMPIERE-4430 rocess_Production workflow missing transition node from start to docprepare

incorporate additonal fix from Carlos
2020-08-24 15:02:06 +02:00
Carlos Ruiz e9338353c8
IDEMPIERE-4426 Fix add_months and adddays functions (#220)
Fix add_months function in postgresql to make it consistent with its oracle version
Fix adddays function to behave consistent as the add_months in both oracle and postgresql
Fix adddays in postgresql to add managing fractional days (same as oracle does), so it can add hours, minutes, seconds
Fix subtractdays performance making it immutable
2020-08-21 13:08:07 +02:00
Carlos Ruiz a68c5f1968
IDEMPIERE-4425 Find Window improvements (#219) 2020-08-21 13:07:01 +02:00
Nicolas Micoud 2322a79dda
IDEMPIERE-4422 : GL Distribution - add SeqNo (#217)
* IDEMPIERE-4422 : GL Distribution - add SeqNo

Add SeqNo column on GL Distribution to allow users to choose the lowest one when several records are retrieved.
Fix typo

* IDEMPIERE-4422 : GL Distribution - add SeqNo

Fix a missed typo
2020-08-21 11:20:33 +02:00
Carlos Ruiz 24e9fe8402
IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2 (#207)
There are two scripts in this commit:
* 202008040100_IDEMPIERE-3862.sql - updates the whole core as of today, changing the columns VARCHAR2...BYTE and NVARCHAR2 to VARCHAR2...CHAR
* 202008040114_IDEMPIERE-3862.sql - updates the non-core tables, same algorithm, the first script was generated using this second for the core
** in case somebody doesn't want the second script to run on their database can simply change the line 39 to ->dryrun varchar2(1) := 'Y';
2020-08-13 12:34:00 +08:00
Carlos Ruiz 99c8d11f96
IDEMPIERE-4407 Reset Accounting showing Views in the table list (#213) 2020-08-12 17:25:38 +08:00
Carlos Ruiz 29239b651b
IDEMPIERE-4404 Wrong characters + typos in Brazilian regions (#208)
This was probably caused years ago (2007) because off applying the script from commit 89c9a3b4 migration-historic/320-330/postgresql/001_add_brazilian_states.sql without the proper NLS_LANG variable set in oracle
It is important, when applying this script to set the NLS_LANG properly, suggested value is:
export NLS_LANG=AMERICAN_AMERICA.UTF8
2020-08-11 09:48:52 +02:00
Carlos Ruiz 7894bd9ef4
IDEMPIERE-4398 Database inconsistency with dictionary for types CHAR (#209) 2020-08-07 16:16:43 +08:00
Carlos Ruiz 0fa717cf0a
IDEMPIERE-4083 currency rate by document or by transaction (#182)
Integrating a contribution from TrekGlobal developed by Heng Sin
2020-07-30 15:46:43 +08:00
Carlos Ruiz f2a8de6779
IDEMPIERE-3413 Multi Select List and table reference (#185)
Configure most of the report parameters to allow multi selection
2020-07-28 11:00:47 +08:00
Carlos Ruiz 10d578e372
IDEMPIERE-2094 Wrong organization in m_transaction, organization doesnt fit locator (#186)
Filter locator from to show just locators from the organization
2020-07-28 10:39:45 +08:00
Carlos Ruiz 087b6e62d0
IDEMPIERE-4339 Web Services : Automatically fill records on Parameters table (#175)
peer review and tests
2020-07-21 11:41:11 +02:00
Nicolas Micoud b473111bab
Idempiere 4339 (#125)
* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

After saving a new record in WS Security window, linked records in Parameters table are automatically inserted according to the type of the WS.

* IDEMPIERE-4339 : enhancement of the WS security window layout

The 'Method' field has same width as others and Active is on top
When adding records in sub tabs, they remains in detail mode
Columns fields allow to select only 'unused' columns

* Revert "IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table"

This reverts commit 780c6777877eceeec71554eb524977fdc28e3b65.

* IDEMPIERE-4339 : InsertParameter Process

* IDEMPIERE-4339 : move scripts to 7.1z

* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

following Carlos's advices

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

* IDEMPIERE-4339 (remove specific columns from migration scripts)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-07-21 11:38:52 +02:00
igorpojzl dd2b24aafa
IDEMPIERE-4368: Allow Define Default Saved Query for User (#169)
* Update AD_UserQuery models

* Implementation of initializing Default User Queries

* Added Migration Scripts

* Update 202007161400_IDEMPIERE-4368.sql

Added missing register_migration_script.

* IDEMPIERE-4368 Added missing script.

* IDEMPIERE-4368 Allow Define Default Saved Query for User

Fix Load defaults only on Initialization.

* IDEMPIERE-4368

Move Migration Script to 7.1 folder

* IDEMPEIRE-4368

Apply of patch.
2020-07-20 14:51:48 +02:00
Carlos Ruiz 2d70a1a169
IDEMPIERE-1117 Attachment -> Disable preview over certain size (#145)
* IDEMPIERE-1117 Attachment -> Disable preview over certain size

New SysConfig key ZK_MAX_ATTACHMENT_PREVIEW_SIZE

* IDEMPIERE-1117 move scripts to 7.1
2020-07-14 21:51:17 +08:00
Carlos Ruiz eaba03cd42
IDEMPIERE-4355 Wrong DATE/INTEGER columns in postgresql (#153) 2020-07-14 21:34:20 +08:00
Carlos Ruiz e954df2abe
IDEMPIERE-4358 Processes to drop some objects from database (#161) 2020-07-09 19:50:29 +02:00
Nicolas Micoud c59f550293
IDEMPIERE-4359 : EMailTest process : customization of email sent (#162)
Ability to define a dedicated mail template for the EMailTest process (via a client level SysConfig).
Output of the process was wrong (always successful even when the email was not sent)
2020-07-07 16:44:44 +02:00
Carlos Ruiz 6e2cf15fa9
IDEMPIERE-966 When Order document(Both PO and SO) close, I think that MOrder.closeIt() method should calculate tax again. (#136) 2020-06-30 13:40:38 +02:00
Carlos Ruiz 6cf7fbfe5a
IDEMPIERE-1052 Performance - Script to set reference to Search for 2531 columns with reference Table/TableDirect (#134) 2020-06-26 07:44:05 +02:00
Diego Ruiz f50425334f
IDEMPIERE-1026 Button on table to create automatically the window (#128)
* IDEMPIERE-1026 Button on table to create automatically the window

* IDEMPIERE-1026 Button on table to create automatically the window - Fixed script

* IDEMPIERE-1026 Button on table to create automatically the window - Header update

* IDEMPIERE-1026 Button on table to create automatically the window - Follow best practices, no hardcoded IDs, no mixed cache and transaction

* IDEMPIERE-1026 Button on table to create automatically the window - Carlos PR
2020-06-24 16:43:11 +02:00
Carlos Ruiz f5518a9b64
IDEMPIERE-4282 Error creating a Price List - using -DPostgreSQLNative=Y (#131)
Starting point is the open source version of Compiere org/compiere/process/PriceListCreate.java
This version adds column M_DiscountSchemaLine.Description and rounding options for Hundred and Thousand
Then added to this version the iDempiere changes related to use correctly the T_Selection with AD_PInstance_ID,
and the changes related to Ticket #1002354: Price List Enhancement - which added Product Costs as an option for getting the initial price
2020-06-24 11:53:49 +02:00
Carlos Ruiz 204b00c6f2
IDEMPIERE-4334 Fixed Assets wrong dictionary (#117)
Fixed many wrongly defined columns #resolve IDEMPIERE-4334
Added a fix to DisplayType - running synchronize column in C_Conversion_Rate.C_Currency_ID_To and A_Asset_Split.A_Asset_ID_To was throwing error
2020-06-16 14:06:11 +02:00
Carlos Ruiz 7099e9d24e
IDEMPIERE-4335 AD_EntityType_ID is not defined as unique #resolve IDEMPIERE-4335 (#118) 2020-06-16 14:06:01 +02:00
Carlos Ruiz 940885c38c
IDEMPIERE-3358 Dictionary fixes (#101)
* Exclude Image fields from being copied for C_BPartner.Logo_ID and C_POSKey.AD_Image_ID
* Move AD_SessionInfo_V view definition to dictionary
* Add LDAPUser and Description to AD_SessionInfo_V
2020-06-09 12:44:41 +02:00
Carlos Ruiz a3dca1b6a3
IDEMPIERE-3358 Dictionary fixes (#93)
correct definition for Colombia to allow capturing addresses by default
add Colombia Regions
2020-06-01 16:52:39 +02:00
Carlos Ruiz e0980645d7
IDEMPIERE-4315 Allow showing Change Log for extension tables #resolves IDEMPIERE-4315 (#92) 2020-06-01 16:07:43 +02:00
hengsin e9e7486473
IDEMPIERE-1540 Autocomplete for field type "Search" (#79)
* IDEMPIERE-1540 Autocomplete for field type "Search"

Implement auto complete for search field

* IDEMPIERE-1540 Autocomplete for field type "Search"

Add support for isAutoComplete flag (default is off).
Add isAutoComplete to AD_UserDef_Field, AD_InfoColumn and
AD_Process_Para.
Performance improvement - reduce number of queries for autocomplete and
added some cache.

* IDEMPIERE-1540 Autocomplete for field type "Search"

add constant for auto complete query timeout
use union all to further reduce the number of queries
2020-05-29 13:25:24 +02:00