-
Notifications
You must be signed in to change notification settings - Fork 118
[IMP] l10n_cl: enable copy invoice report with legal acknowledgment footer #4822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0-rd-accounting-onboarding-malb
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<template id="report_invoice_copy"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. usually we prefix the id with the module name |
||
<t t-set="is_copy" t-value="True"/> | ||
<t t-call="l10n_cl.report_invoice"/> | ||
</template> | ||
|
||
<template id="copy_footer"> | ||
<div class="mt32" style="border: 2px solid black; padding: 10px;"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inline styling is not the way to go for multiple reasons, i would even say that it should be avoided at all cost ahah
|
||
<div class="row"> | ||
<div class="col-6"> | ||
<p><strong>Nombre:</strong> ______________________________________________</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we generally avoid the strong balise and use the fw-bold from bootstap |
||
<p><strong>RUT:</strong> ______________________ <strong>FECHA:</strong> __________________</p> | ||
<p><strong>Recinto:</strong> __________________ <strong>FIRMA:</strong> ___________________</p> | ||
</div> | ||
<div class="col-6"> | ||
<p style="font-size: 10px;"> | ||
El acuse de recibo que se declara en este acto, de acuerdo a lo dispuesto en la letra b) del Art. 4º y la letra c) del Art. 5º de la Ley 19.983, acredita que la entrega de mercadería(s) o servicio(s) | ||
</p> | ||
Comment on lines
+18
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We usually write those in english and then do the translation with po and pot file |
||
</div> | ||
</div> | ||
</div> | ||
<div style="text-align: right;"> | ||
<strong>CEDIBLE</strong> | ||
</div> | ||
Comment on lines
+10
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
</template> | ||
</odoo> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of an xpath i think that solution is cleaner

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(print with cedible is your is_copy)