-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
[16.0] brand_external_report_layout : can't be used in multi-company context and conflicts with other modules #179
Comments
There is an extra consequence of this. It is impossible to generate invoices for printing in "batch" (i.e. invoicing->customers->invoices; select a bunch of invoices; print->invoices) this triggers and error for users that are not part of group Administration/Settings because of the missing access to the resources:
Any chance the associated pull requests gets any attention? |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Closing bugs like this is not appropriate. Please disable the bot or increase the timeout, it already closed other valid bugs. There is no activity on this because it is awaiting an aswer from the maintaner, not because the reporter didn't do his part. The pull request is there. Keep open and merge that instead. |
@diniciacci is right, bug is still there... Original PR #180 as been superseded by #201 but we're still waiting for a merge... |
This module has never been tested properly! @sbejaoui Can you please do the necessary? |
@OCA/brand-maintainers We need some feedback from maintainers here... please. |
Hi, |
Any progress on this issue? |
Module
brand_external_report_layout
Describe the bug
brand.document.layout
is definingcompany_details
(and should defineis_company_details_empty
also, as declared in [16.0][BUG][brand_external_report_layout] is_company_details_empty missing #167 ) so it's not possible to use the same brand for different companiescompany
Qweb variable is replaced by ares.brand
object in reports, so every module inheriting company to add information in reports is conflicting (for example,l10n_ca
from Odoo withaccount_fiscal_country_id
andl10n_ca_pst
fields)To Reproduce
16.0:
Steps to reproduce the behavior:
brand_external_report_layout
installed and demo datacompany details
by default)Brand use level
=optional
Expected behavior
I think only "style" fields should be overridden by brands.
Additional context
I'll propose a PR that keeps the original company object and temporarily modify it with data from brand then go back to original after the report is generated.
The text was updated successfully, but these errors were encountered: