* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
- Fix scrolling of center content.
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
- add Feature group support
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
- Fix rounding error
* IDEMPIERE-5063 Improve Unit Tests
- revert -> Close DB connections after each unit test class
- implement a different approach to close the transactions on tearDown even when not active
* Remove Adempiere.stop as suggested by Heng Sin
* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone
* minor fix for oracle/202203240830_IDEMPIERE-5093.sql
* IDEMPIERE-5093 cheduler cron pattern scheduling is always using server time zone
- add time zone comment for cronpattern field
- use fix format for elapsed time (day'hour:minutes:seconds.millisecond)
- use time zone formatting at server monitor
- include etc/gmt* timezone id. fix handling of invalid user input
- fix wrong editor (date) use for timestamp with time zone field
* IDEMPIERE-5093 cheduler cron pattern scheduling is always using server time zone
- Fix MSchedule.getNextRunMS call.
* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone
- add T_Timestamp to Test table and window.
- fix date time editor doesn't capture seconds for timestamp with time
zone.
- date time editor: use tenant time zone (if set), fallback to browser
time zone.
- date time editor: fix processing of timestamp with time zone value.
- time zone editor: drop the confusing etc/gmt* entries and support
entry of GMT(+/-)hh:mm custom zone id.
* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone
Fix NPE
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5056 Order and Invoice: Tax lookup interface
* IDEMPIERE-5056 Order and Invoice: Tax lookup interface
- add default value for MSysConfig.getValue call.
* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items
* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / add reset(int id) for the cache
* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / change cache key from String to StringBuilder
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema when currency blank on header
- also add check to unit test
* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema
- add currency id check to minventory before save
* IDEMPIERE-5173 fix Accounting fact quantity incorrect
- also add unit tests
* IDEMPIERE-5173 remove c_uom_id check
* IDEMPIERE-5173 Use MMatchInv.isReversal() in preference to MMatch.getReversal_ID() > 0
* IDEMPIERE-5173 Update isReversal() method
- add new test for is Reversal() when reversing a credit memo
- Add MatchInv test using standard costing and check Invoice Price Variance
- General improvements using assertEquals where appropriate and
comparing actual values rather than just >0
- minor fixes to MProduct test
* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial
* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial
add unit test
Regression for problem solved at IDEMPIERE-4465 Native Postgres - Error on Convert Layer
Revert the changes on Convert_PostgreSQL and Convert_PostgreSQLTest
Fix the Convert_PostgreSQLTest to allow testing native and non-native cases
- set mulch product category to Standard Costing category, so that the standard cost of the component is compared to the standard cost of the parent, mulchx.
* IDEMPIERE-5126 Virtual column lazy loading
Virtual columns are now loaded only whenever their respective getters are invoked. This functionality works irrespective of the PO constructor used.
Query class now uses lazy loading by default as well.
* IDEMPIERE-5126 Virtual column lazy loading
Have the model generator ignore virtual columns with the @SQL prefix, as
their generated getters would always return null.
* IDEMPIERE-5126 Virtual column lazy loading
Added quoting to virtual column names
* IDEMPIERE-5126 Virtual column lazy loading
Reload virtual columns if the record was reloaded.
* IDEMPIERE-5126 Virtual column lazy loading
Fixed class cast exception in unit test.
* IDEMPIERE-5126 Virtual column lazy loading
Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.
* IDEMPIERE-5126 Virtual column lazy loading
Fine-grained virtual column loading support for Query.
* IDEMPIERE-5126 Virtual column lazy loading
Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.
* IDEMPIERE-5126 Virtual column lazy loading
Improved support for the constructor PO.PO(Properties, int, String,
String...).
* IDEMPIERE-5126 Virtual column lazy loading
Refactoring. Reduced size of messages sent and received from database
engine when lazy loading virtual columns. Other minor changes.
* IDEMPIERE-5126 Virtual column lazy loading
Added testing assertions.
* IDEMPIERE-5126 Virtual column lazy loading
Silenced Eclipse warnings.
* iIDEMPIERE-4214 Javadoc: correct warnings on newest java version / fix problem to generate javadoc again
* IDEMPIERE-4214 Javadoc: correct warnings on newest java version / Fix javadoc warnings
* IDEMPIERE-4836 Adding Access tab on Document Status (Activity) / fix unit test
* IDEMPIERE-4836 Adding Access tab on Document Status (Activity) / fix condition for access (must be AND instead of OR for role and user)
* IDEMPIERE-4186 allow workflow to be suspended until after commit of actual transaction / fix Split Join = AND
* Add unit test for Split AND
* Fix test case - commit and cleanup the changes to workflow
* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO
* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO
Fix unit test
* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO
Remove unreliable and potentially dangerous match po consolidation
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working
Fix reversal and add more unit test
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working
Use constant for movement type checking
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working
- added MTransaction
- added reversal handling
* IDEMPIERE-5039 Negative Lost Sales Quantity
* IDEMPIERE-5039 Negative Lost Sales Quantity
* IDEMPIERE-5039 Negative Lost Sales Quantity
add unit test
* IDEMPIERE-5031 Implement auto produce upon shipment for mfg light
* IDEMPIERE-5031 Implement auto produce upon shipment for mfg light
Fix clean up of unit test
* IDEMPIERE-4842 Easier model registration
- Change from https://github.com/atteo/classindex to
https://github.com/classgraph/classgraph, remove annotation processor
config.
- Change service.ranking of DefaultModelFactory to -1 and
service.ranking of AnnotationBasedModelFactory to 0. This give
AnnotationBasedModelFactory higher priority over DefaultModelFactory and
allow plugins to have higher priority over AnnotationBasedModelFactory
with server.ranking of 1 (the common practise before the introduction of
AnnotationBasedModelFactory).
- Added resultset constructor to MTree. This is to allow the use of
MTree with model factory.
- Remove classindex annotation from org.adempiere.base.Model and X_*
model classes.
- Added unit test for table to model class mapping
- AnnotationBasedModelFactory: Change from using annotation processor to
runtime annotation scanning using the classgraph library. The default
setting scans all the X_* model class and travels the inheritance
hierarchy to discover the M* model class. Plugin needs to create a
subclass of AnnotationBasedModelFactory and register it as an OSGi
component to scan the plugin's annotated model classes (the plugin's
custom AnnotationBasedModelFactory component should have service.ranking
> 0).
* IDEMPIERE-4842 Easier model registration
minor refinement
* Minor changes
Co-authored-by: hengsin <hengsin@gmail.com>
* Preliminary support for automatic model class registration
Model classes can be tagged with a new @Model annotation that allows for
easy/fast class scanning/registration, based on the ClassIndex library.
The list of annotated model classes is generated at compile time, thus
reducing reflection reliance to a bare minimum.
NOTE: Eclipse uses its own Java compiler which is not strictly standard
compliant and requires extra configuration. In Java Compiler ->
Annotation Processing -> Factory Path you need to add ClassIndex jar
file
* Annotation based model factory
* Improve classloader determination for annotation scanning
ClassIndex default annotation scanning method determines the classloader
to be used by calling Thread.currentThread().getContextClassLoader(),
which should not be used in an OSGi environment.
* Enable ClassIndex's annotation processor under Eclipse
Make sure annotation processing is enabled at Module Properties -> Java
Compiler -> Annotation Processing
* Refactoring annotation-based model class detection
Eliminated the need of annotating M* classes, by using ClassIndex's
@IndexSubclasses annotation.
* Minor change
* Minor changes
* Creation of AbstractModelFactory
* Documentation
* Make AnnotationBasedModelFactory extend AbstractModelFactory
* IDEMPIERE-4842 Easier model registration
- add annotation processor jdt settings
- fix @Component annotation for AnnotationBasedModelFactory
- fix generated x_* class missing "org.atteo.classindex.IndexSubclasses"
import
* Expose ClassIndex lib to other bundles
* Updated model classes
Co-authored-by: hengsin <hengsin@gmail.com>
Fix regression (empty expression evaluation) introduce by previous
patch.
Pushing this through as the previous change set introduce a significant regression.
* IDEMPIERE-4828-posting of Allocation with a AR Credit Memos with discount, the tax-correction has the wrong sign
* IDEMPIERE-4828 - posting of Allocation with a AR Credit Memos with discount, the tax-correction has the wrong sign
check for DocBaseType
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)
Implement suggestions from Heng Sin
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)
Fix security warning advised by github/CodeQL
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)
Implement an incremental delay in zk when the validation code is wrong (to avoid brute-force attacks)
As suggested by Ricardo Santana:
* ensures one-time only use of an OTP
* Log failures in AuthFailure.log
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)
* Log failures in AuthFailure.log - add case for login with email
* Implement incremental delay also for login panel