No description
  • Java 81.8%
  • JavaScript 11.7%
  • Fluent 2.5%
  • PLpgSQL 1.6%
  • HTML 1.1%
  • Other 1.1%
Find a file
igorpojzl 7784da13bf
IDEMPIERE-7146 Pass document type and payment rule to ITaxLookup (#3394)
* IDEMPIERE-7146 Pass document type and payment rule to ITaxLookup

Add two default ITaxLookup.get(...) overloads, with and without drop
ship location, taking C_DocType_ID and paymentRule before trxName. They
fall back to the existing methods, so existing lookups compile and
behave the same.

MOrderLine.setTax(), MInvoiceLine.setTax(), CalloutOrder.tax and
CalloutInvoice.tax pass the header's target document type and payment
rule, so a tax lookup can choose the tax by the kind of document and
the way it is paid.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* IDEMPIERE-7146 Add Javadoc to TaxSpiDefaultsTest helpers

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* IDEMPIERE-7146 Address review comments

- MOrderLine and MInvoiceLine pass the header's getDocTypeID() instead
  of the target document type.
- The ITaxLookup overload without drop ship location defaults to the
  overload with drop ship location (-1), so a lookup only needs to
  implement the latter.
- CalloutInvoiceBatch passes the batch line's document type (the invoice
  batch has no payment rule).
- CalloutRMA and MRMALine pass the document type and payment rule of the
  referenced invoice or order.
- TaxSpiDefaultsTest uses a static mock of Core instead of registering a
  tax lookup service and changing the TAX_LOOKUP_SERVICE configuration.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* IDEMPIERE-7146 Read invoice batch line document type from window context

Consistent with the other context reads in CalloutInvoiceBatch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* IDEMPIERE-7146 Callouts read the document type as getDocTypeID() does

- CalloutOrder.tax and CalloutInvoice.tax pass C_DocType_ID, or the
  target document type when it is not set, as MOrder.getDocTypeID() and
  MInvoice.getDocTypeID() do.
- CalloutInvoiceBatch reads the batch line's document type from the
  window context only.
- TaxSpiDefaultsTest checks that the callouts pass C_DocType_ID when it
  is set.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* IDEMPIERE-7146 Test the RMA and invoice batch tax lookups

- TaxSpiDefaultsTest checks that MRMALine (on save) and CalloutRMA.product
  pass the document type and payment rule of the original document: the
  order while it has no invoice, then the invoice.
- TaxSpiDefaultsTest checks that CalloutInvoiceBatch.tax passes the batch
  line's document type and no payment rule.
- ITaxLookup Javadoc: for an RMA line, the document type and payment rule
  are those of the original invoice or order.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 21:50:37 +08:00
.agents/skills IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
.claude IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
.github IDEMPIERE-6437 - remove dup line in sonarqube.yml 2025-03-04 17:11:46 +01:00
.idea IDEMPIERE-5150 Support development with IntelliJ (#2788) 2025-05-09 14:56:16 +08:00
.mvn/wrapper IDEMPIERE-6618 added Maven 3.9.10 wrapper (#2853) 2025-07-14 16:48:50 +08:00
coverage-report IDEMPIERE-6955 - Move SOAP Web Services out of core (#3220) 2026-04-16 20:00:49 +08:00
db IDEMPIERE-6650 Performance - Implement support for using the uuid postgres datatype (FHCA-7074) (#3199) 2026-03-26 21:12:06 +08:00
doc IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
event.test IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
javax.websocket-api.fragment IDEMPIERE-6643 Refinement of WebSocket Server Push (#2873) 2025-08-22 13:50:18 +02:00
lib IDEMPIERE-2910:update.sh run with issue 2015-11-10 17:07:12 +07:00
migration IDEMPIERE-7150 Auto Produce: Add AD_SysConfig configuration for auto produce of nested BOM (#3399) 2026-10-13 15:02:36 +02:00
migration-historic IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / move old migration folders to migration-historic - just keep the folders > i4.1 in migration 2018-03-14 18:14:09 -03:00
org.adempiere.base IDEMPIERE-7146 Pass document type and payment rule to ITaxLookup (#3394) 2026-10-19 21:50:37 +08:00
org.adempiere.base-feature IDEMPIERE-7038 iDempiere master/release-13 not compatible with Eclipse 2026-06 (#3286) 2026-06-24 22:11:59 +02:00
org.adempiere.base.callout IDEMPIERE-7146 Pass document type and payment rule to ITaxLookup (#3394) 2026-10-19 21:50:37 +08:00
org.adempiere.base.process IDEMPIERE-6120: Bugged SQL in DunningRunCreate (#2329) 2026-10-02 12:30:52 +02:00
org.adempiere.eclipse.equinox.http.servlet IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.install IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.payment.processor IDEMPIERE-6908 Implement iDempiere Extension Management (#3207) 2026-04-01 10:24:28 +02:00
org.adempiere.payment.processor-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.pipo IDEMPIERE-7016 Add YAML and JSON as peer export/import formats for 2Pack (#3274) 2026-06-11 09:31:12 +08:00
org.adempiere.pipo-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.pipo.handlers IDEMPIERE-6224 Replace unique index on Import Format Row with beforeS… (#3178) 2026-09-29 10:55:29 +08:00
org.adempiere.plugin.utils IDEMPIERE-6990 Silent failure on Incremental2PackActivator (#3261) 2026-05-07 13:10:03 +02:00
org.adempiere.replication IDEMPIERE-6908 Implement iDempiere Extension Management (#3207) 2026-04-01 10:24:28 +02:00
org.adempiere.replication-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.replication.server IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.replication.server-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.report.jasper IDEMPIERE-7070 Make report content generation extensible through OSGi (#3318) 2026-08-29 15:47:04 +02:00
org.adempiere.report.jasper-feature IDEMPIERE-7016 Add YAML and JSON as peer export/import formats for 2Pack (#3274) 2026-06-11 09:31:12 +08:00
org.adempiere.report.jasper.library IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.adempiere.server IDEMPIERE-6661: Schedulers : reuse sessions (#3204) 2026-07-03 14:00:52 +02:00
org.adempiere.server-feature IDEMPIERE-6955 - Remove the SOAP web service runtime stack from core (#3333) 2026-09-09 16:25:56 +08:00
org.adempiere.ui IDEMPIERE-7091 Workflow Editor does not display all transition arrows (#3347) 2026-09-07 16:17:22 +08:00
org.adempiere.ui.zk - minor - control potential NPE on IDEMPIERE-6293 (#3406) 2026-10-14 10:48:46 +08:00
org.adempiere.ui.zk-feature IDEMPIERE-6899 Upgrade Zk to 10.3.0.1 (#3231) 2026-04-21 20:42:30 +08:00
org.apache.ecs IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.compiere.db.oracle.provider IDEMPIERE-7023 Add ISQLStatementRewriter extension point in Convert / DB providers (#3279) 2026-07-04 06:27:37 +08:00
org.compiere.db.postgresql.provider IDEMPIERE-7023 Add ISQLStatementRewriter extension point in Convert / DB providers (#3279) 2026-07-04 06:27:37 +08:00
org.compiere.db.provider-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.acct IDEMPIERE-7118 Make KeiKai spreadsheet in Report window configurably editable (#3368) 2026-10-06 14:22:27 +02:00
org.idempiere.bouncy.castle-feature IDEMPIERE-6649 add support for Bouncy Castle FIPS 140-3 Level 1 compliance bundles (#3240) 2026-04-22 12:56:41 +08:00
org.idempiere.eclipse.platform-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.equinox.p2.director-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.extension.manager IDEMPIERE-6997 Extension Management Form: Add File: URL support (#3265) 2026-05-12 11:17:43 +02:00
org.idempiere.felix.webconsole IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.felix.webconsole-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.hazelcast.service IDEMPIERE-7090 Add cluster-wide cache invalidation and reliability hardening to Redis service (#3345) 2026-09-30 18:23:14 +08:00
org.idempiere.hazelcast.service-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.javadoc IDEMPIERE-6955 - Move SOAP Web Services out of core (#3220) 2026-04-16 20:00:49 +08:00
org.idempiere.jetty.osgi.boot.fragment IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.keikai IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.maven.to.p2 IDEMPIERE-6955 - Move SOAP Web Services out of core (#3220) 2026-04-16 20:00:49 +08:00
org.idempiere.p2 IDEMPIERE-6989 Distributed Cache: Add Redis as alternative backend to Hazelcast (#3260) 2026-05-19 16:14:50 +08:00
org.idempiere.p2.profile IDEMPIERE-6955 - Remove the SOAP web service runtime stack from core (#3333) 2026-09-09 16:25:56 +08:00
org.idempiere.p2.repackaged IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.p2.targetplatform IDEMPIERE-6955 - Remove the SOAP web service runtime stack from core (#3333) 2026-09-09 16:25:56 +08:00
org.idempiere.parent IDEMPIERE-6899 Upgrade Zk to 10.3.0.1 (#3231) 2026-04-21 20:42:30 +08:00
org.idempiere.printformat.editor IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.redis.service IDEMPIERE-7090 Add cluster-wide cache invalidation and reliability hardening to Redis service (#3345) 2026-09-30 18:23:14 +08:00
org.idempiere.redis.service-feature IDEMPIERE-7090 Add cluster-wide cache invalidation and reliability hardening to Redis service (#3345) 2026-09-30 18:23:14 +08:00
org.idempiere.server.runtime-feature IDEMPIERE-6897 Create Maven Build Profiles for Framework and ERP Installers (#3187) 2026-04-23 17:11:06 +08:00
org.idempiere.tablepartition IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.test IDEMPIERE-7146 Pass document type and payment rule to ITaxLookup (#3394) 2026-10-19 21:50:37 +08:00
org.idempiere.test-feature IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.ui.sso.oidc IDEMPIERE-6551 Use client language for SSO login (#3312) 2026-08-11 12:42:03 +08:00
org.idempiere.webservices.client-feature IDEMPIERE-6955 - Move SOAP Web Services out of core (#3220) 2026-04-16 20:00:49 +08:00
org.idempiere.zk-feature IDEMPIERE-6908 Implement iDempiere Extension Management (#3207) 2026-04-01 10:24:28 +02:00
org.idempiere.zk.billboard IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.zk.billboard.chart IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.zk.breeze.theme IDEMPIERE-7100 - Fix letter cut-off. Added tooltip. Show role name in popup. (#3404) 2026-10-12 13:23:03 +02:00
org.idempiere.zk.datatable IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
org.idempiere.zk.extra IDEMPIERE-7141 Upgrade the GMAPS from 3.2.0 to 4.0.3 (#3386) 2026-10-06 14:34:03 +08:00
org.idempiere.zk.iceblue_c.theme IDEMPIERE-7100 - Fix letter cut-off. Added tooltip. Show role name in popup. (#3404) 2026-10-12 13:23:03 +02:00
org.idempiere.zk.pivot IDEMPIERE-6894 Move master to release-14 development build (#3179) 2026-03-09 20:01:06 +01:00
utils_dev IDEMPIERE-7133 - Replace wiki links with docusaurus (#3382) 2026-10-02 13:46:59 +02:00
.coderabbit.yaml Add base_branches configuration to coderabbit.yaml to review all branches 2026-03-02 14:17:14 +01:00
.gitignore IDEMPIERE-7147 Ignore idempiere-ks.properties and idempiere.ks for git (#3392) 2026-10-09 14:57:44 +08:00
adempiere-local-template.properties added adempiere properties file template 2010-07-20 13:48:24 +08:00
AGENTS.md IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
CLAUDE.md IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2019-12-12 19:55:19 +01:00
CONTRIBUTING.md IDEMPIERE-7133 - Replace wiki links with docusaurus (#3382) 2026-10-02 13:46:59 +02:00
GEMINI.md IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
generate-ds.sh IDEMPIERE-6604 Maven: add support for generation of OSGI component scr xml from OSGI component annotation (#2840) 2025-07-03 14:11:30 +02:00
idempiere.iml IDEMPIERE-5150 Support development with IntelliJ (#2721) 2025-04-18 11:00:10 +08:00
license.html Update LICENSE.md (#1132) 2022-01-14 10:02:43 +08:00
LICENSE.md Update LICENSE.md (#1132) 2022-01-14 10:02:43 +08:00
mvnw IDEMPIERE-6618 added Maven 3.9.10 wrapper (#2853) 2025-07-14 16:48:50 +08:00
mvnw.cmd IDEMPIERE-6618 added Maven 3.9.10 wrapper (#2853) 2025-07-14 16:48:50 +08:00
note.for.update.readme IDEMPIERE-3531: note 2018-09-12 00:55:12 +07:00
org.adempiere.install.app.xml IDEMPIERE-5150 Support development with IntelliJ (#2721) 2025-04-18 11:00:10 +08:00
org.adempiere.modelgenerator.app.xml IDEMPIERE-5150 Support development with IntelliJ (#2721) 2025-04-18 11:00:10 +08:00
org.adempiere.server.application.xml IDEMPIERE-5150 Support development with IntelliJ (#2721) 2025-04-18 11:00:10 +08:00
pom.xml IDEMPIERE-6989 Distributed Cache: Add Redis as alternative backend to Hazelcast (#3260) 2026-05-19 16:14:50 +08:00
pull_request_template.md IDEMPIERE-7133 - Replace wiki links with docusaurus (#3382) 2026-10-02 13:46:59 +02:00
QWEN.md IDEMPIERE-7109 - Add skills for core contributions (#3388) 2026-10-10 23:20:19 +08:00
README.md Update installation guide link in README (#3181) 2026-03-12 14:27:30 +01:00
RUN_ImportIdempiereDev.sh IDEMPIERE-6648 Ensure all scripts can run with an alternate db admin user (DAD-62) (#2886) 2025-08-14 10:27:06 +08:00
RUN_SyncDBDev.sh IDEMPIERE-6269 Enable iDempiere to run on Oracle Autonomous Database (ADB) in Oracle Cloud Infrastructure (OCI) (#3112) 2026-02-19 15:12:11 +01:00
SECURITY.md IDEMPIERE-7133 - Replace wiki links with docusaurus (#3382) 2026-10-02 13:46:59 +02:00
testTemplate.properties Fix notation of template file 2010-03-26 18:28:42 +00:00
zk.xml IDEMPIERE-3552:update to zk 8.5.0 2017-11-17 02:42:14 +07:00

iDempiere. Community Powered Enterprise

Website Build Status Chat Forum License

iDempiere is an open-source Enterprise Resource Planning (ERP), Customer Relationship Management (CRM), and Supply Chain Management (SCM) solution built by the community, for the community.

Empowering organizations through open collaboration, proven business logic, and enterprise-grade technology.


🚀 Try iDempiere

Experience iDempiere instantly. No installation required! 👉 Live Cloud Test Sites

Want to install it locally? 📘 Follow our official Installation Guide for step-by-step setup instructions.


🧩 What Makes iDempiere Different?

  • 💡 Truly community-driven: Developed by SMEs, implementors, and end-users worldwide.
  • ⚙️ Modular Architecture: Flexible plugin system powered by OSGi.
  • 🧱 Stable & Scalable: Java + PostgreSQL/Oracle foundation built for enterprise reliability.
  • 🕰️ Decades of business logic: evolved from ADempiere and Compiere refined by years of real-world use.

💬 Join the Community

We believe in collaboration. Whether you’re an implementor, developer, or business user. Your contribution matters.


🐛 Bugs & Feature Requests

Before opening an issue, please discuss your idea or problem in our forums or Mattermost channels.
Once confirmed, submit your ticket to our JIRA Tracker.


🔧 Continuous Integration

All continuous integration and automated testing are managed with Jenkins CI:
🔗 https://jenkins.idempiere.org/


❤️ Contributing

iDempiere thrives because of our global community.
You can help by:

  • 🧠 Improving documentation
  • 🧪 Testing and reporting issues
  • 💻 Developing new features or fixes
  • 💖 Support the project financially through Donations

Follow our Contribution Guide to get started.


📚 Learn More