Skip to content

Commit

Permalink
[IMP] viin_brand_account: debranding print report
Browse files Browse the repository at this point in the history
  • Loading branch information
SonCrits committed Jul 26, 2024
1 parent 0fdf0b8 commit f4c3cd2
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 2 deletions.
2 changes: 2 additions & 0 deletions viin_brand_account/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
'views/account_move_views.xml',
'views/account_bank_statement_views.xml',
'views/partner_view.xml',
'views/report_invoice.xml',
'views/report_statement.xml',
'views/terms_template.xml',
'wizard/account_tour_upload_bill.xml'
],
Expand Down
6 changes: 5 additions & 1 deletion viin_brand_account/i18n/vi_VN.po
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ msgstr ""
msgid "Alias"
msgstr "Bí danh"

#. module: viin_brand_account
#: model_terms:ir.ui.view,arch_db:viin_brand_account.report_statement
msgid "Bank of Viindoo"
msgstr "Ngân hàng của Hệ thống"

#. module: viin_brand_account
#: model_terms:ir.ui.view,arch_db:viin_brand_account.account_default_terms_and_conditions
msgid ""
Expand Down Expand Up @@ -193,7 +198,6 @@ msgstr "kích hoạt đơn vị tiền tệ của hóa đơn"
#: model_terms:ir.ui.view,arch_db:viin_brand_account.view_move_form
msgid "activate the currency of the invoice"
msgstr "kích hoạt đơn vị tiền tệ của hóa đơn"

#. module: account
#: model_terms:ir.actions.act_window,help:account.action_bank_statement_tree
msgid ""
Expand Down
6 changes: 5 additions & 1 deletion viin_brand_account/i18n/viin_brand_account.pot
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ msgstr ""
msgid "Alias"
msgstr ""

#. module: viin_brand_account
#: model_terms:ir.ui.view,arch_db:viin_brand_account.report_statement
msgid "Bank of Viindoo"
msgstr ""

#. module: viin_brand_account
#: model_terms:ir.ui.view,arch_db:viin_brand_account.account_default_terms_and_conditions
msgid ""
Expand Down Expand Up @@ -166,7 +171,6 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:viin_brand_account.view_move_form
msgid "activate the currency of the invoice"
msgstr ""

#. module: account
#: model_terms:ir.actions.act_window,help:account.action_bank_statement_tree
msgid ""
Expand Down
11 changes: 11 additions & 0 deletions viin_brand_account/static/img/Viindoo-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions viin_brand_account/views/report_invoice.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//img[@id='qrcode_odoo_logo']" position="attributes">
<attribute name="src">/viin_brand_account/static/img/Viindoo-logo.svg</attribute>
</xpath>
</template>

</data>
</odoo>
9 changes: 9 additions & 0 deletions viin_brand_account/views/report_statement.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<odoo>

<template id="report_statement" inherit_id="account.report_statement">
<xpath expr="//span[@t-out='line.partner_bank_id.partner_id.name']" position="replace" mode="inner">
Bank of Viindoo
</xpath>
</template>

</odoo>

0 comments on commit f4c3cd2

Please sign in to comment.