[fork-CI] [19.0][MIG] report_label: Migration to 19.0#3
Draft
dnplkndll wants to merge 25 commits into
Draft
Conversation
[IMP] allow to create report.paperformat.label without creating each time report.paperformat item [FIX] Remove useless data that are specific Label: Agipa 114016 [REF] simplify UI, removing custom entry for ir.actions.server [ADD] migration script to migrate name field [IMP] Add label_background_color to allow to easily define background-color for label. (That can be usefull to debug label positions) [DOC] update screenshots to new V16 versions [IMP] Set body and html margin to 0 to to able to be predictive when designing a label sheet [IMP] replace style by class in the label template, reducing the size of the html code generated. [IMP] replace label_template by label_template_view_id on the ir.actions.server model, removing useless xml and python code. (provide migration scripts) [REF] Split wizard file into wizard and wizard line file, following OCA guidelines
Currently translated at 100.0% (56 of 56 strings) Translation: reporting-engine-16.0/reporting-engine-16.0-report_label Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_label/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-16.0/reporting-engine-16.0-report_label Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_label/
…ers to print labels
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
- Rebuild the test fixture in setUp: OCA CI runs --without-demo=all, so the demo server action / paperformat / QWeb template the test referenced via env.ref are now created inline instead. - One2many default uses the lambda form (default=lambda self: self._default_line_ids()) for pylint-odoo E8148 (inheritable-method-lambda). Signed-off-by: Don Kendall <dkendall@ledoweb.com>
2bfd09a to
4c04dad
Compare
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.
Port of
report_labelfrom18.0to19.0. Follows the OCA migration guide.No runtime adaptations were required — the server-action dispatch (
_run_action_report_label_multi) andir.actions.report.get_paperformat()override points are unchanged in 19.0 core.Non-mechanical adaptations worth flagging
env.ref("report_label.actions_server_label_partner_address"), which doesn't resolve under OCA CI's--without-demo=all. The action, its paperformat-label and QWeb template are now created inline insetUp.demo/demo.xmlis unchanged (still useful for runboat/manual demo).line_idsdefault switched to the lambda form for pylint-odoo E8148 (inheritable-method-lambda), a check newly enforced on 19.0.