Skip to Content

Contributors

Re: Operating unit details for Qweb reports

Hi Admed, the information should be taken from the partner of the operating unit.

If this does not answer the question, please create an issue in the github repository: https://github.com/OCA/operating-unit/issues

On Tue, 26 Sept 2023 at 11:36, Ahmed@HAAT <notifications@odoo-community.org> wrote:
Hi 
The module https://github.com/OCA/operating-unit/tree/15.0/report_qweb_operating_unit says to use custom operating unit headers for any report in Odoo.
When I go to report_qweb_operating_unit-15.0.1.0.0\report_qweb_operating_unit\views\report_qweb_operating_unit.xml , I the code talking about logo, phone, email and web ... etc of the Operating Unit to be used instead of the company details
But actually I can not see where to add these 'operating unit' custom details?
If I go to Settings>operating units. to show any operating unit,  I can not find any extra fields except Name, Code , Partner and Company

image.png
It seems there is something I miss.
I'm asking because I want to use a custom header for the invoice pdf for every operating unit
I hope you give me advice.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by "Aarón Henríquez Quintana" <aaron.henriquez@forgeflow.com> - 02:11 - 26 Sep 2023

Reference

  • Operating unit details for Qweb reports
    Hi 
    The module https://github.com/OCA/operating-unit/tree/15.0/report_qweb_operating_unit says to use custom operating unit headers for any report in Odoo.
    When I go to report_qweb_operating_unit-15.0.1.0.0\report_qweb_operating_unit\views\report_qweb_operating_unit.xml , I the code talking about logo, phone, email and web ... etc of the Operating Unit to be used instead of the company details
    But actually I can not see where to add these 'operating unit' custom details?
    If I go to Settings>operating units. to show any operating unit,  I can not find any extra fields except Name, Code , Partner and Company

    image.png
    It seems there is something I miss.
    I'm asking because I want to use a custom header for the invoice pdf for every operating unit
    I hope you give me advice.

    by "Ahmed@HAAT" <a.ragab@haat.com.sa> - 01:36 - 26 Sep 2023