-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX]stock_voucher_ux: reeamde in 17.0
closes #574 Signed-off-by: Juan Carreras <[email protected]>
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 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
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,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<template id="report_delivery_document" inherit_id="l10n_ar_stock.report_delivery_document"> | ||
<xpath expr="//t[@t-set='pre_printed_report']" position="replace"> | ||
<t t-set="pre_printed_report" t-value="not o.autoprinted"/> | ||
</xpath> | ||
<xpath expr="//div[@name='footer_right_column']" position="replace"> | ||
<div name="footer_right_column" class="col-4 text-right"> | ||
<div t-if="o.book_id.autoprinted and o.book_id.l10n_ar_cai"> | ||
CAI: <span t-field="o.book_id.l10n_ar_cai"/> | ||
</div> | ||
<div t-if="o.book_id.autoprinted and o.book_id.l10n_ar_cai_due"> | ||
CAI Due Date: <span t-field="o.book_id.l10n_ar_cai_due"/> | ||
</div> | ||
<div name="pager" t-if="report_type == 'pdf'"> | ||
Page: <span class="page"/> | ||
/ <span class="topage"/> | ||
</div> | ||
</div> | ||
</xpath> | ||
</template> | ||
</odoo> |
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