-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from augustodinizl/14.0
[14.0][IMP] egd_purchase_custom: add payment_term_id field to report_purchasequotation_document and report_purchaseorder_document
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" ?> | ||
<odoo> | ||
<template | ||
id="report_purchaseorder_document_egd" | ||
inherit_id="purchase.report_purchaseorder_document" | ||
name="report_purchaseorder_document_payment_term_egd" | ||
> | ||
<xpath expr="//div[@id='informations']" position="inside"> | ||
<div t-if="o.payment_term_id" class="col-3 bm-2"> | ||
<strong>Payment Terms:</strong> | ||
<p t-field="o.payment_term_id.name" class="m-0" /> | ||
</div> | ||
</xpath> | ||
</template> | ||
</odoo> |
15 changes: 15 additions & 0 deletions
15
egd_purchase_custom/views/purchase_quotation_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" ?> | ||
<odoo> | ||
<template | ||
id="report_purchasequotation_document_egd" | ||
inherit_id="purchase.report_purchasequotation_document" | ||
name="report_purchasequotation_document_payment_term_egd" | ||
> | ||
<xpath expr="//div[@id='informations']" position="inside"> | ||
<div t-if="o.payment_term_id" class="col-3 bm-2"> | ||
<strong>Payment Terms:</strong> | ||
<p t-field="o.payment_term_id.name" class="m-0" /> | ||
</div> | ||
</xpath> | ||
</template> | ||
</odoo> |