Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.0][IMP] l10n_nl_xaf_auditfile_export: ease extensions #182

Merged

Conversation

astirpe
Copy link
Member

@astirpe astirpe commented Jul 24, 2018

With this PR I'm proposing some small changes to ease the extention of l10n_nl_xaf_auditfile_export module.

  • extract method _get_auditfile_template(), to allow to extend this module by modules making use of different qweb templates (forward port of [IMP][8.0] Extract method in l10n_nl_xaf_auditfile_export #78);
  • make the computed field auditfile_name stored, to allow the old generated exports to keep their original name;
  • add group in view, to easily allow other modules to add extra options;
  • add basic tests to increase the coverage.

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

I see this will make it easier if you want to replace the whole template.
Can you increase coverage, otherwise 👍

@astirpe
Copy link
Member Author

astirpe commented Jul 25, 2018

Yes, this module does not contain tests yes. I could add some tests in this PR.

@astirpe astirpe force-pushed the 11_imp_l10n_nl_xaf_auditfile_export branch from f3229fc to caf2725 Compare July 27, 2018 06:52
@astirpe astirpe changed the title [11.0][IMP] l10n_nl_xaf_auditfile_export: extract method to ease extensions [11.0][IMP] l10n_nl_xaf_auditfile_export: ease extensions Jul 27, 2018
@StefanRijnhart StefanRijnhart merged commit 2d39c4e into OCA:11.0 Jul 31, 2018
@astirpe astirpe deleted the 11_imp_l10n_nl_xaf_auditfile_export branch July 31, 2018 13:00
@astirpe
Copy link
Member Author

astirpe commented Jul 31, 2018

Thanks!

astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Oct 1, 2018
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Oct 18, 2018
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
hbrunn pushed a commit that referenced this pull request Nov 29, 2018
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
thomaspaulb pushed a commit to sunflowerit/l10n-netherlands that referenced this pull request Dec 3, 2019
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
thomaspaulb pushed a commit to sunflowerit/l10n-netherlands that referenced this pull request Dec 18, 2019
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Jan 17, 2020
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Feb 14, 2020
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Mar 19, 2020
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
jeroen-vet pushed a commit to jeroen-vet/l10n-netherlands that referenced this pull request Feb 25, 2021
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
NL66278 pushed a commit to Therp/l10n-netherlands that referenced this pull request Oct 11, 2022
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
astirpe added a commit to onesteinbv/l10n-netherlands that referenced this pull request Jan 17, 2023
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
NL66278 pushed a commit to Therp/l10n-netherlands that referenced this pull request Feb 22, 2023
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
Wodran14 pushed a commit to DynAppsNV/l10n-netherlands that referenced this pull request Mar 25, 2024
* Extract method to ease extensions

* Add basic tests

* Make filename field stored + code review

* Add group in view for extra options
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