[13.0][MIG] migration of module report_qweb_operating_unit - #255
Merged
OCA-git-bot merged 8 commits intoFeb 18, 2020
Merged
Conversation
alan196
force-pushed
the
13.0-mig-report_qweb_operating_unit
branch
from
February 13, 2020 18:05
6505419 to
1a376bc
Compare
alan196
force-pushed
the
13.0-mig-report_qweb_operating_unit
branch
from
February 13, 2020 18:26
1a376bc to
4a757e8
Compare
lmgr0312
approved these changes
Feb 13, 2020
Contributor
|
Nice improvement! ❤️ I will try to to backport it to v12 too. |
AaronHForgeFlow
approved these changes
Feb 14, 2020
AaronHForgeFlow
left a comment
Contributor
There was a problem hiding this comment.
👍 Works as expected
Contributor
|
This PR has the |
Contributor
|
/ocabot merge |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
OCA-git-bot
added a commit
that referenced
this pull request
Feb 18, 2020
Contributor
|
Congratulations, your PR was merged at 67111a5. Thanks a lot for contributing to OCA. ❤️ |
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.
Proposed changes
I've migrated the module report_qweb_operating_unit and it's functionalities from Odoo 12.0 to 13.0.
Types of changes
Checklist
Additional Comments
I adapted this module to print the data from the operating unit instead of the company if the operating unit is defined on the model and if the model doesn't have the field operating_unit_id it will use the company data.
I also adapt this to every type of report that you can choose in the system configuration in the following screen:
Here is an example of every report type.
The first image is an invoice with operating_unit_id defined and partner Azure Interior defined in the operating unit.
The second image is a sale order without the sale_operating_unit module installed.
Standard Design
Background Design
Boxed Design
Clean Design