-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5193][IMP] account_move_contact_attribute: Display attribute on invo…
…ice (#6) Co-authored-by: Yoshi Tashiro <[email protected]>
- Loading branch information
1 parent
ff7f697
commit 6a59fc9
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
account_move_contact_attribute/reports/invoice_templates.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<template id="report_invoice_document" inherit_id="account.report_invoice_document"> | ||
<xpath expr="//p[@name='payment_communication']" position="before"> | ||
<div t-if="o.contact_person"> | ||
<strong>Contact Person:</strong> | ||
<span t-esc="o.contact_person" /> | ||
</div> | ||
<div t-if="o.site_name"> | ||
<strong>Site Name:</strong> | ||
<span t-esc="o.site_name" /> | ||
</div> | ||
</xpath> | ||
</template> | ||
</odoo> |