- Java 81.8%
- JavaScript 11.7%
- Fluent 2.5%
- PLpgSQL 1.6%
- HTML 1.1%
- Other 1.1%
* 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> |
||
|---|---|---|
| .agents/skills | ||
| .claude | ||
| .github | ||
| .idea | ||
| .mvn/wrapper | ||
| coverage-report | ||
| db | ||
| doc | ||
| event.test | ||
| javax.websocket-api.fragment | ||
| lib | ||
| migration | ||
| migration-historic | ||
| org.adempiere.base | ||
| org.adempiere.base-feature | ||
| org.adempiere.base.callout | ||
| org.adempiere.base.process | ||
| org.adempiere.eclipse.equinox.http.servlet | ||
| org.adempiere.install | ||
| org.adempiere.payment.processor | ||
| org.adempiere.payment.processor-feature | ||
| org.adempiere.pipo | ||
| org.adempiere.pipo-feature | ||
| org.adempiere.pipo.handlers | ||
| org.adempiere.plugin.utils | ||
| org.adempiere.replication | ||
| org.adempiere.replication-feature | ||
| org.adempiere.replication.server | ||
| org.adempiere.replication.server-feature | ||
| org.adempiere.report.jasper | ||
| org.adempiere.report.jasper-feature | ||
| org.adempiere.report.jasper.library | ||
| org.adempiere.server | ||
| org.adempiere.server-feature | ||
| org.adempiere.ui | ||
| org.adempiere.ui.zk | ||
| org.adempiere.ui.zk-feature | ||
| org.apache.ecs | ||
| org.compiere.db.oracle.provider | ||
| org.compiere.db.postgresql.provider | ||
| org.compiere.db.provider-feature | ||
| org.idempiere.acct | ||
| org.idempiere.bouncy.castle-feature | ||
| org.idempiere.eclipse.platform-feature | ||
| org.idempiere.equinox.p2.director-feature | ||
| org.idempiere.extension.manager | ||
| org.idempiere.felix.webconsole | ||
| org.idempiere.felix.webconsole-feature | ||
| org.idempiere.hazelcast.service | ||
| org.idempiere.hazelcast.service-feature | ||
| org.idempiere.javadoc | ||
| org.idempiere.jetty.osgi.boot.fragment | ||
| org.idempiere.keikai | ||
| org.idempiere.maven.to.p2 | ||
| org.idempiere.p2 | ||
| org.idempiere.p2.profile | ||
| org.idempiere.p2.repackaged | ||
| org.idempiere.p2.targetplatform | ||
| org.idempiere.parent | ||
| org.idempiere.printformat.editor | ||
| org.idempiere.redis.service | ||
| org.idempiere.redis.service-feature | ||
| org.idempiere.server.runtime-feature | ||
| org.idempiere.tablepartition | ||
| org.idempiere.test | ||
| org.idempiere.test-feature | ||
| org.idempiere.ui.sso.oidc | ||
| org.idempiere.webservices.client-feature | ||
| org.idempiere.zk-feature | ||
| org.idempiere.zk.billboard | ||
| org.idempiere.zk.billboard.chart | ||
| org.idempiere.zk.breeze.theme | ||
| org.idempiere.zk.datatable | ||
| org.idempiere.zk.extra | ||
| org.idempiere.zk.iceblue_c.theme | ||
| org.idempiere.zk.pivot | ||
| utils_dev | ||
| .coderabbit.yaml | ||
| .gitignore | ||
| adempiere-local-template.properties | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| GEMINI.md | ||
| generate-ds.sh | ||
| idempiere.iml | ||
| license.html | ||
| LICENSE.md | ||
| mvnw | ||
| mvnw.cmd | ||
| note.for.update.readme | ||
| org.adempiere.install.app.xml | ||
| org.adempiere.modelgenerator.app.xml | ||
| org.adempiere.server.application.xml | ||
| pom.xml | ||
| pull_request_template.md | ||
| QWEN.md | ||
| README.md | ||
| RUN_ImportIdempiereDev.sh | ||
| RUN_SyncDBDev.sh | ||
| SECURITY.md | ||
| testTemplate.properties | ||
| zk.xml | ||
iDempiere. Community Powered Enterprise
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.
- 🗨️ Forum: Google Groups
- 💬 Chat: Mattermost Community Channel
- 🤝 Contribution Guide: How to Contribute
- 🌐 Code of Conduct: Read Here
🐛 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.