Repository navigation
[IMP] account_invoice_show_currency_rate: sync with OCA upstream + OCA/account-invoicing#2095 - #281
Open
AungKoKoLin1997 wants to merge 2 commits into
Open
AungKoKoLin1997 wants to merge 2 commits into
AungKoKoLin1997 wants to merge 2 commits into
Conversation
Takes OCA/account-invoicing@df7aef02a8c5 (16.0). Local i18n/ is kept.
…cy rate display format This commit adds an option to display the exchange rate either as company currency per unit or unit per company currency. Example (company currency: JPY; 1 USD = 150 JPY): - (Default) Unit per Company Currency → 0.0066 (USD/JPY) - Company Currency per Unit → 150 (JPY/USD)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
account_invoice_show_currency_rateup to OCA/account-invoicing@df7aef02a8c5 (16.0,16.0.1.0.8) and applies our open OCA PR on top:invoice_rate_display_type, the local patch we carry)The drift audit classified this module as unattributed: the local copy was vendored with #2095 already applied. The upstream change it was missing is OCA/account-invoicing#2401, "keep booked rate on reset to draft" (
posted_before). That fix keeps the real booked rate on a posted-then-reset move, so resetting a multi-line foreign-currency bill no longer raises a false "unbalanced entry" error. #2095 has already been rebased onto it, so its inverse-rate test now expects the booked rate to be kept after reset.Tested locally (
--test-enable, fresh DB withl10n_generic_coa): 5 of 5 tests pass. The locali18n/is kept.Refs https://github.com/qrtl/qrtl-dev-tools/issues/38
🤖 Generated with Claude Code