Skip to content

Commit

Permalink
Merge pull request #161 from dhongu/15.0-invoice-report
Browse files Browse the repository at this point in the history
[15.0][UPD] invoice_report: bank accounts from operating unit
  • Loading branch information
danila12 authored Mar 12, 2024
2 parents 5af2cee + 55285ac commit dff2a98
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_ro_invoice_report/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Romania - Invoice Report Terrabit
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4441dad5fd860ab11c325df07544eb77369dfc219db8df2d957478ec2b9728d2
!! source digest: sha256:af07bd5d6312e67f8e4a72e2c6d16a28df2e6cb8cf6bd2f1188157898efdb906
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_invoice_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Romania - Invoice Report Terrabit",
"summary": "Localizare Terrabit - Facturi, Chitanta",
"version": "15.0.3.2.5",
"version": "15.0.3.2.6",
"author": "Dorin Hongu," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-romania",
"license": "AGPL-3",
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_invoice_report/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Romania - Invoice Report Terrabit</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4441dad5fd860ab11c325df07544eb77369dfc219db8df2d957478ec2b9728d2
!! source digest: sha256:af07bd5d6312e67f8e4a72e2c6d16a28df2e6cb8cf6bd2f1188157898efdb906
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/dhongu/l10n-romania/tree/15.0/l10n_ro_invoice_report"><img alt="dhongu/l10n-romania" src="https://img.shields.io/badge/github-dhongu%2Fl10n--romania-lightgray.png?logo=github" /></a></p>
<dl class="docutils">
Expand Down
7 changes: 6 additions & 1 deletion l10n_ro_invoice_report/views/invoice_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@
/>
</t>
<div>
<t t-set="partner_id" t-value="res_company.partner_id" />
<t t-if="o.journal_id.operating_unit_id and o.journal_id.operating_unit_id.bank_ids">
<t t-set="partner_id" t-value="o.journal_id.operating_unit_id" />
</t>
<t t-else="">
<t t-set="partner_id" t-value="res_company.partner_id" />
</t>
<t t-call="l10n_ro_config.banks" />
</div>

Expand Down

0 comments on commit dff2a98

Please sign in to comment.