bank-payment icon indicating copy to clipboard operation
bank-payment copied to clipboard

[ENH][14.0] bank-payment Fallback to payment_ref if ref is undefined

Open driehuis opened this issue 2 years ago • 2 comments

The payment order report in PDF format has a field "Invoice Ref", which user the move.ref. In my use case, the move.ref is always blank for a vendor bill, as I prefer not duplicating information in the vendor bill import. This pull request uses the payment_reference if the ref field is absent. A case might even be made to prefer the payment_reference over the ref if both are available but that might cause regressions.

Current report:

Partner                        Bank account        Invoice Ref             Value Date      Amount   Currency
Deco Addict                    NL01BANK012345                              2022-03-17      100.00   100.00

Desired report:

Partner                        Bank account        Invoice Ref             Value Date      Amount   Currency
Deco Addict                    NL01BANK012345      X/220002                2022-03-17      100.00   100.00

driehuis avatar Mar 18 '22 17:03 driehuis

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

OCA-git-bot avatar Apr 14 '22 12:04 OCA-git-bot

/ocbot merge minor

dreispt avatar Aug 10 '22 21:08 dreispt

hi @dreispt , I think you ran the wrong command, should be with an A ;-) /ocabot merge minor

flotho avatar Sep 17 '22 16:09 flotho

Sorry @flotho you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

OCA-git-bot avatar Sep 17 '22 16:09 OCA-git-bot

/ocabot merge minor

adrienpeiffer avatar Sep 20 '22 12:09 adrienpeiffer

On my way to merge this fine PR! Prepared branch 14.0-ocabot-merge-pr-911-by-adrienpeiffer-bump-minor, awaiting test results.

OCA-git-bot avatar Sep 20 '22 12:09 OCA-git-bot

It looks like something changed on 14.0 in the meantime. Let me try again (no action is required from you). Prepared branch 14.0-ocabot-merge-pr-911-by-adrienpeiffer-bump-minor, awaiting test results.

OCA-git-bot avatar Sep 20 '22 12:09 OCA-git-bot

Congratulations, your PR was merged at 47a22cc86f28dc030dd786989afd63c9b7b97ef3. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar Sep 20 '22 12:09 OCA-git-bot