Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Custom Repair
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
imoberdof
Custom Repair
Commits
b01e5523
Commit
b01e5523
authored
1 month ago
by
nicolas.russo
Browse files
Options
Downloads
Patches
Plain Diff
[FIX][T8390] Invoices custom mods
parent
33f54541
No related branches found
Branches containing commit
No related tags found
1 merge request
!51
[FIX][T8390] Invoices custom mods
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
__manifest__.py
+1
-0
1 addition, 0 deletions
__manifest__.py
report/custom_reports.xml
+76
-0
76 additions, 0 deletions
report/custom_reports.xml
with
77 additions
and
0 deletions
__manifest__.py
+
1
−
0
View file @
b01e5523
...
...
@@ -55,6 +55,7 @@
'
views/stock_picking_type_view.xml
'
,
'
wizard/repair_wizard_views.xml
'
,
'
wizard/product_label_layout_views.xml
'
,
'
report/custom_reports.xml
'
,
'
report/repair_reports.xml
'
,
'
report/repair_templates_repair_order.xml
'
,
'
report/mail_template_data.xml
'
,
...
...
This diff is collapsed.
Click to expand it.
report/custom_reports.xml
0 → 100644
+
76
−
0
View file @
b01e5523
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template
id=
"custom_account_move_report_qweb"
inherit_id=
"l10n_ar_eynes.weblearns_layout"
>
<xpath
expr=
"//div[@class='denomination-render']"
position=
"before"
>
<h1
style=
"text-align: center; font-weight: bold; font-size: 25px;"
>
ORIGINAL
</h1>
</xpath>
<xpath
expr=
"//table[@class='company-table']//td[@class='right']/p"
position=
"replace"
>
<p>
Tel.:
<span
t-esc=
"o.journal_id.warehouse_id.partner_id.mobile"
/>
<br
/>
<span>
Email:
<span
t-esc=
"o.journal_id.warehouse_id.partner_id.email"
/>
</span>
</p>
</xpath>
<xpath
expr=
"//table[@class='company-table']//td[@class='left']"
position=
"replace"
>
<td
class=
"left"
>
<span
t-if=
"denomination_name == 'E'"
style=
"font-size: 20px;"
>
FACTURA DE EXPORTACION
</span>
<span
t-elif=
"o.voucher_type_id.afip_code in ['203', '208']"
style=
"font-size: 16px;"
>
NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span
t-elif=
"o.move_type in ['out_refund', 'in_refund']"
style=
"font-size: 20px;"
>
NOTA DE CREDITO
</span>
<span
t-elif=
"o.voucher_type_id.afip_code in ['202', '207']"
style=
"font-size: 16px;"
>
NOTA DE DÉBITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span
t-elif=
"o.is_debit_note"
style=
"font-size: 20px;"
>
NOTA DE DEBITO
</span>
<span
t-elif=
"o.voucher_type_id.afip_code in ['201', '206']"
style=
"font-size: 16px;"
>
FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span
t-elif=
"o.denomination in ['a', 'b', 'c']"
style=
"font-size: 20px;"
>
FACTURA
</span>
<br
/>
<span>
N°
<span
t-esc=
"denomination"
/></span>
<br
/>
<span>
Fecha:
<t
t-if=
"o.invoice_date"
>
<span
t-esc=
"o.invoice_date.strftime('%d/%m/%Y')"
/>
</t>
</span>
<br
/>
<span>
C.U.I.T:
<span
t-esc=
"o.company_id.vat"
/>
</span>
<br
/>
<span>
Condición frente al IVA:
<span
t-esc=
"o.journal_id.warehouse_id.partner_id.property_account_position_id.name"
/>
</span>
<br
/>
<t
t-if=
"o.company_id.partner_id.nro_insc_iibb"
>
<span
class=
"partner-info"
>
Ing. Brutos:
</span><span
t-esc=
"o.company_id.partner_id.nro_insc_iibb"
/>
<br
/>
</t>
<span>
Inic. Activ.:
<t
t-if=
"o.journal_id.activity_start_date"
>
<span
t-esc=
"o.journal_id.activity_start_date.strftime('%d/%m/%Y')"
/>
</t>
</span>
<t
t-if=
"denomination_name == 'E'"
>
<br
/>
<span>
IVA EXENTO OPERACIÓN DE EXPORTACION
</span>
</t>
</td>
</xpath>
</template>
</data>
</odoo>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment