[14.0][MIG] report_label#502
Conversation
ivantodorovich
left a comment
There was a problem hiding this comment.
Code review LGTM 👍
gh is complaining about pre-commit though, would you check?
04cb516 to
3d924cc
Compare
|
@ivantodorovich fixed now. Thanks for the nice module BTW! |
Thank you for migrating it ❤️ |
b776e40 to
8d08f00
Compare
| "category": "Reporting", | ||
| "maintainers": ["ivantodorovich"], | ||
| "depends": [ | ||
| "base", |
There was a problem hiding this comment.
@StefanRijnhart I have a problem launching an update --all after having installed report_label.
Adding 'base_automation' here solves the problem, but I haven't found the root problem.
There was a problem hiding this comment.
Thanks, I'll have a look
There was a problem hiding this comment.
There you have it: https://github.com/odoo/odoo/blob/14.0/addons/base_automation/views/base_automation_view.xml#L8-L9. Base automation extends the view from ir.actions.server but report_label's button is invalid for that model unless report_label depends on base_automation so that the button's action is also available on the base.automation model (which also inherits from the ir.actions.server model, by delegation)
I added the module dependency because I can't think of a less hacky way around it at this moment.
742c7c1 to
35ae1bf
Compare
|
This PR has the |
|
@StefanRijnhart can you rebase please ? |
|
@rousseldenis merge ? |
35ae1bf to
0418334
Compare
|
@elvise rebase done. |
|
@StefanRijnhart error in precommit prevents module installation in runboat, would you have some time to try to fix it? |
@sbidoul any hint on this behavior? |
|
I see no additional information on the cluster. So it looks like the installation indeed exited with code 0 before having finished... this might be reproducible locally. |
francesco-ooops
left a comment
There was a problem hiding this comment.
on the functional side: I followed configuration + usage instructions and tried to use demo data from the module itself, but after launching the server action a document layout page that seems out of context pops up, and label is not printed
not sure if the problem lies with demo data or code as I cannot compare behavior with v.12 as runboat has issues
|
That would be the standard document layout popout that you need to go through on every new Odoo database. What happens if you go through that wizard and then try again? |
Which option should be selected for the module to work?
"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." |
francesco-ooops
left a comment
There was a problem hiding this comment.
good for me then, maybe it's due to the runboat not building completely in the first place
who can we ask for merge?
|
This PR has the |
|
Ah, you installed the module manually on runboat. In that case I can fetch the error from the logs there, and it's Let me try to fix it here. |
|
@francesco-ooops I Just checked on runboat, after manual installation of the module and selection of the company reporting style, you can now print the demo labels from the module in this PR. |
confirmed, LGTM now! |
|
@OCA/reporting-engine-maintainers can we proceed with merge? |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at f8a77f8. Thanks a lot for contributing to OCA. ❤️ |
|
Do we have ver 15? |


No description provided.