Commit Graph

515 Commits

Author SHA1 Message Date
hengsin 1afe4fe0c6
IDEMPIERE-4652 Remove Eclipse warnings (#533) 2021-01-18 17:32:25 +01:00
hengsin d96199a2b6
IDEMPIERE-4251 Constant definition for all Env Context (#519)
* IDEMPIERE-4251 Constant definition for all Env Context

replace "#Date" with Env.DATE

* IDEMPIERE-4251 Constant definition for all Env Context

replace "#.." with constant at Env

* IDEMPIERE-4251 Constant definition for all Env Context

Merge patch from Carlos
2021-01-12 21:29:50 +08:00
Nicolas Micoud 326d210665
IDEMPIERE-4616 : Lead : add IsVendorLead (#500)
* IDEMPIERE-4616 : Lead : add IsVendorLead

* IDEMPIERE-4616 : Lead : add IsVendorLead

Fix description for Lead window
Add Display Logic for Opportunity parameters (now hidden if no opportunity)
Set BPartner.IsCustomer/IsVendor according to Lead.IsSales/VendorLead

* IDEMPIERE-4616 : Lead : add IsVendorLead

Move scripts from 8.2 to 8.2z
2021-01-07 18:48:25 +01:00
Carlos Ruiz 8103ab0732 IDEMPIERE-4604 Release 8.2
Change references to new version
Create new migration folder
2020-12-20 10:15:20 +01:00
Carlos Ruiz 6390ce20cd IDEMPIERE-4604 Release 8.2
Fix warnings on MANIFEST.MF
2020-12-20 09:53:21 +01:00
hengsin b80ed34d9c
IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface (#473)
* IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface

* IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface

remove warning.
2020-12-18 14:52:11 +01:00
Nicolas Micoud d9f0c43af8
IDEMPIERE-4597 : Make sure ConvertLead process generates an active BPartner (#464) 2020-12-14 14:56:32 +01:00
Carlos Ruiz 56237276ad
IDEMPIERE-4557 Order document by DateTrx and Created on Auto Allocation process (#395)
- change the order by for payments from "DateTrx" to "DateTrx, Created, C_Payment_ID"
- change the order by for invoices from "DateInvoiced" to "DateInvoiced, Created, C_Invoice_ID"
- refactor four JDBC managed queries to use the Query function
2020-11-26 10:10:31 +08:00
Carlos Ruiz cac7ff913d
IDEMPIERE-4547 Request EMail Processor - Unknown Parameter: p_NestInbox (#379) 2020-11-13 04:58:10 +08:00
Diego Ruiz 0801820545
IDEMPIERE-4540 Translate generated mail from Send Mail Text according to the Business Partner Language (#374) 2020-11-12 11:02:49 +08:00
Diego Ruiz ed7a7dcbde
IDEMPIERE-4525 Translate MailText in Print Invoices to the corresponding BP Language (#356) 2020-11-05 17:12:53 +01:00
Carlos Ruiz 210e54b05f IDEMPIERE-4521 Release 8.1 - RC
Change versions in pom and manifest files
2020-11-03 21:59:12 +01:00
Martin Schönbeck b8225276a2
Idempiere 4452 (#271)
* IDEMPIERE-4452 Allow pricelist schema lines to be dependent of vendor categories and to use entries in m_product_po not marked as current vendor if vendor is selected.

* IDEMPIERE-4452 modified update removed
* don't check for accidently set IsIgnoreIsCurrentVendor where it doesn't change anything.

* IDEMPIERE-4452 set IsIgnoreIsCurrentVendor to false ('N') when no business partner given.
2020-10-28 22:15:01 +08:00
Martin Schönbeck 1f2d760ed2
IDEMPIERE-4469 when recalculating price on price list generation all T_Selection entries are used independently of AD_PInstance_ID (#273)
* IDEMPIERE-4469 when recalculating price on price list generation all T_Selection entries are used independently of AD_PInstance_ID

* IDEMPIERE-4469 when recalculating price on price list generation all T_Selection entries are used independently of AD_PInstance_ID
2020-09-24 17:13:30 +02:00
hengsin dd2ef468b0
IDEMPIERE 4287 (#247)
* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
add support to make PO immutable

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added thread safe Immutable and Copy cache implementation for PO.
- migrate most of PO cache to immutable and copy cache.
- added pos sales order test.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- add test case for initial client setup and bank statement
- fix error for image editor, location editor, locator editor, initial
client setup, complete bank statement and migrate storage provider.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added ImmutablePOSupport interface. Model class implement this
interface for immutable PO support.
- remove usage of cache for transaction table (rfq, invoice, inventory).
- add getCopy method to some model class to support getting an
updateable copy of PO from the otherwise immutable PO cache.
- the added getCopy method is use to return updateable PO for indirect
PO reference, for e.g MColumn.getAD_Table() and MOrderLine.getProduct.
2020-09-21 14:03:00 +08:00
Carlos Ruiz 75dcde96b3
IDEMPIERE-1482 Invoice with Payment Schedule is not displayed in Invoice Not Realized Gain/Loss (#225)
Fix problem reported by Anozi Mada
Fix issue found when testing - postgresql was failing with error
   org.postgresql.util.PSQLException: ERROR: la columna «c_doctypereval_id» es de tipo numeric pero la expresión es de tipo text
Avoid creating empty journal
2020-08-26 14:50:10 +08:00
Martin Schönbeck 2b12ef3362
Idempiere 4162 (#171)
* IDEMPIERE-4162 ignore inactive products when looking for duplicate upc, handle errors on update without disturbing the import run.

* IDEMPIERE-4162 ignore inactive products when looking for duplicate upc, handle errors on update without disturbing the import run. 
changed ImportProduct to save errors even if the next product is in error, too.

* IDEMPIERE-4162 ignore inactive products when looking for duplicate upc, handle errors on update without disturbing the import run. 
changed ImportProduct to save errors even if the next product is in error, too.

* IDEMPIERE-4162 ignore inactive products when looking for duplicate upc, handle errors on update without disturbing the import run. 
Check for duplicate UPC in m_product

* IDEMPIERE-4162 ignore inactive products when looking for duplicate upc, handle errors on update without disturbing the import run. 
check for inactive products added
2020-08-12 16:53:14 +08:00
Carlos Ruiz e7ebf98117
IDEMPIERE-1387 ImportBankStatement - Error during import related to missing TRX in Account (#192)
Implement suggestion from Jan Thielemann
2020-07-30 23:18:25 +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
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
hieplq 4f09cc5a7a
IDEMPIERE-4329:Cleanup eclipse warnings (un-use import and deprecate function) (#158) 2020-07-03 12:19:56 +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 03fda36934
IDEMPIERE-4340 NPE in Auto Allocation (#129) 2020-06-24 11:51:52 +02:00
Carlos Ruiz 37e82005b5
IDEMPIERE-4329 Cleanup eclipse warnings (#107)
* IDEMPIERE-4329 Cleanup eclipse warnings

Clean unused imports

* IDEMPIERE-4329 Cleanup eclipse warnings

Clean some additional warnings
Make org.adempiere.base to respect the Warnings/Errors level configuration from workspace

* IDEMPIERE-4329 Cleanup eclipse warnings

One more unused import caused by the previous commit
2020-06-09 12:26:36 +02:00
hieplq 9a35f2054d
IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
Diego Ruiz 4c22d862be
IDEMPIERE-1376 Error message not translated in Validate Business Partner (#45) 2020-05-09 15:40:27 +02:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
Martin Schönbeck f156a01676 IDEMPIERE-4119 Importing products hangs on many products
Signed-off-by: Martin Schönbeck <ms.git@schoenbeck.de>
2020-04-22 23:47:43 +02:00
Carlos Ruiz 455ed28e92 IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder 2020-04-13 14:47:46 +02:00
hengsin d5a82db8b1 IDEMPIERE-4232 Remove code for Media and Knowledge management 2020-04-06 16:45:52 +08:00
Carlos Ruiz 790d96148f Merge release-7.1 into master 2020-03-29 14:37:39 +02:00
hengsin 41aa4102cd IDEMPIERE-4223 Model class generated with wrong datatype for Column with displaytype=button and columname ends with _ID 2020-03-27 11:35:47 +08:00
Carlos Ruiz b6898a8f99 Merge release-7.1 into master 2020-03-21 17:45:25 +01:00
Carlos Ruiz 3efc30368b IDEMPIERE-3936 - minor harmless fix - delete doesn't need to be saved 2020-03-21 17:35:28 +01:00
Carlos Ruiz 4e6794b0a1 IDEMPIERE-4178 Add NVL PostgreSQL function 2020-03-15 10:03:50 +01:00
Carlos Ruiz 02647cc5ee Merge release-7.1 into master 2020-03-13 17:46:17 +01:00
Carlos Ruiz a1a0aad125 IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 and CHAR(>1) to VARCHAR2
Fix Column Encryption broken in oracle - it was changing the column to
NVARCHAR - modified to preserve the type, and fixed an error when
encrypting columns from AD_Client
2020-03-13 13:37:45 +01:00
Carlos Ruiz 2d647c520a IDEMPIERE-4178 Replace NVL with Coalesce / partial revert of commit 2c639f - just the java part 2020-03-13 11:32:27 +01:00
Carlos Ruiz 3a0f1d36b0 Merge release-7.1 into master 2020-03-07 12:08:07 +01:00
Carlos Ruiz 86a483eec8 IDEMPIERE-4191 Process to migrate storage provider (FHCA-1165) 2020-03-04 16:28:57 +01:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
Carlos Ruiz a2ade6340a Merge release-7.1 into master 2020-02-29 11:22:06 +01:00
mschnbeck 71138cdef9 IDEMPIERE-4189 skip empty product anyway to avoid null pointer exceptions; 2020-02-24 19:23:18 +01:00
Carlos Ruiz 5952da8f97 Revert "IDEMPIERE-4189 Fix potential NPE in generate shipment - based on patch from Martin Schönbeck"
This reverts commit 04001e1055.
2020-02-24 19:21:34 +01:00
Carlos Ruiz 04001e1055 IDEMPIERE-4189 Fix potential NPE in generate shipment - based on patch from Martin Schönbeck 2020-02-24 14:14:34 +01:00
hengsin 2c639f7a69 IDEMPIERE-4178 Replace NVL with Coalesce 2020-02-21 09:54:57 +08:00
hengsin c388716835 IDEMPIERE-4176 Replace DELETE with DELETE FROM 2020-02-19 10:46:23 +08:00
Carlos Ruiz 6ab7fff658 Merge release-7.1 into master 2020-02-08 13:19:03 +01:00