Skip to content

[18.0][IMP] template_content_swapper: add feature to use domain for applying some specific records in report pdfs#1214

Open
AungKoKoLin1997 wants to merge 1 commit intoOCA:18.0from
qrtl:18.0-imp_template_content_swapper_domain
Open

[18.0][IMP] template_content_swapper: add feature to use domain for applying some specific records in report pdfs#1214
AungKoKoLin1997 wants to merge 1 commit intoOCA:18.0from
qrtl:18.0-imp_template_content_swapper_domain

Conversation

@AungKoKoLin1997
Copy link
Contributor

Forward port of #1202

This PR adds an improvement to restrict the applying changes only for some specific records by adding domain in configuration.
With this changes, we can only adjust the content of report pdf depends on some condition, not globally.

@qrtl QT5088

@OCA-git-bot
Copy link
Contributor

Hi @yostashiro,
some modules you are maintaining are being modified, check this out!

Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add tests, or create a test module?

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch 6 times, most recently from 0d5cc3f to 441c897 Compare January 19, 2026 03:48
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch from 441c897 to 76aada0 Compare March 2, 2026 03:35
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch from 76aada0 to e0eb6c5 Compare March 2, 2026 03:53
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch 2 times, most recently from 9b4306c to 9f6d777 Compare March 2, 2026 04:35
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch from 9f6d777 to 50c252e Compare March 2, 2026 08:10
…g some specific records in report pdfs

Co-authored-by: Yoshi Tashiro <tashiro@quartile.co>
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 18.0-imp_template_content_swapper_domain branch from 0aafe6e to b06de95 Compare March 3, 2026 07:31
Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review and functional test. LGTM. 👍

Image

Would be good to add a form view to the template mapping as the list view is getting more cluttered.

@AungKoKoLin1997
Copy link
Contributor Author

Would be good to add a form view to the template mapping as the list view is getting more cluttered.

@yostashiro Yes, I will follow up with separate PR since it is not related with current changes and to be better for discussing separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants