Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External 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
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
c849dcd4
Commit
c849dcd4
authored
7 years ago
by
Yenthe V.G
Committed by
Martin Trigaux
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] account: allow easier xpath expressions
Closes #20907
parent
c563013f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
addons/account/views/report_invoice.xml
+8
-8
8 additions, 8 deletions
addons/account/views/report_invoice.xml
with
8 additions
and
8 deletions
addons/account/views/report_invoice.xml
+
8
−
8
View file @
c849dcd4
...
...
@@ -24,23 +24,23 @@
</h2>
<div
class=
"row mt32 mb32"
>
<div
class=
"col-xs-2"
t-if=
"o.name"
>
<div
class=
"col-xs-2"
t-if=
"o.name"
name=
"description"
>
<strong>
Description:
</strong>
<p
t-field=
"o.name"
/>
</div>
<div
class=
"col-xs-2"
t-if=
"o.date_invoice"
>
<div
class=
"col-xs-2"
t-if=
"o.date_invoice"
name=
"invoice_date"
>
<strong>
Invoice Date:
</strong>
<p
t-field=
"o.date_invoice"
/>
</div>
<div
class=
"col-xs-2"
t-if=
"o.date_due and o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')"
>
<div
class=
"col-xs-2"
t-if=
"o.date_due and o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')"
name=
"due_date"
>
<strong>
Due Date:
</strong>
<p
t-field=
"o.date_due"
/>
</div>
<div
class=
"col-xs-2"
t-if=
"o.origin"
>
<div
class=
"col-xs-2"
t-if=
"o.origin"
name=
"origin"
>
<strong>
Source:
</strong>
<p
t-field=
"o.origin"
/>
</div>
<div
class=
"col-xs-2"
t-if=
"o.partner_id.ref"
>
<div
class=
"col-xs-2"
t-if=
"o.partner_id.ref"
name=
"customer_code"
>
<strong>
Customer Code:
</strong>
<p
t-field=
"o.partner_id.ref"
/>
</div>
...
...
@@ -141,13 +141,13 @@
</div>
</div>
</div>
<p
t-if=
"o.comment"
>
<p
t-if=
"o.comment"
name=
"comment"
>
<span
t-field=
"o.comment"
/>
</p>
<p
t-if=
"o.payment_term_id"
>
<p
t-if=
"o.payment_term_id"
name=
"payment_term"
>
<span
t-field=
"o.payment_term_id.note"
/>
</p>
<p
t-if=
"o.fiscal_position_id.note"
>
<p
t-if=
"o.fiscal_position_id.note"
name=
"note"
>
<span
t-field=
"o.fiscal_position_id.note"
/>
</p>
</div>
...
...
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