I have 2 Bank accounts in my company. Odoo Automatically adds both in the footer. Is there a way to select/exclude on of the accounts?
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
Hi,
Please refer to the following links:
1. https://www.cybrosys.com/blog/how-to-customize-header-footer-for-all-reports-in-odoo-16-erp
2. https://www.cybrosys.com/blog/how-to-customize-headerfooter-for-all-reports-in-odoo-18
Hope it helps.
Either use any other Document Layout than DIN5008 (Settings -> General Settings --> Companies --> Document Layout -> Configure Document Layout), or extend l10n_din5008.external_layout_din5008 so it doesn't loop over the first two but only the first bank, i.e.
<t t-foreach="company.partner_id.bank_ids[:1]" t-as="bank">
instead of
<t t-foreach="company.partner_id.bank_ids[:2]" t-as="bank">
(https://github.com/odoo/odoo/blob/18.0/addons/l10n_din5008/report/din5008_report.xml#L140)
Note: You could change the template in Settings -> Technical --> User Interface -> Views - but, any upgrade of the module l10n_din5008 will reset it to its original state again (hence, the template should be extended in a custom module rather than directly in Odoo).
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
4
dez. 23
|
15480 | ||
|
1
mar. 15
|
5313 | ||
|
2
jun. 25
|
2669 | ||
Invoice Report Layout on Odoo 12
Resolvido
|
|
5
nov. 24
|
32662 | |
|
4
mai. 24
|
6564 |