Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lefilament_account
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
lefilament_account
Commits
cabf5aa6
Commit
cabf5aa6
authored
6 years ago
by
Rémi - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
Fix according coding rules
parent
888e8437
Branches
10.0
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
__manifest__.py
+6
-1
6 additions, 1 deletion
__manifest__.py
views/lefilament_account_view.xml
+22
-24
22 additions, 24 deletions
views/lefilament_account_view.xml
with
28 additions
and
25 deletions
__manifest__.py
+
6
−
1
View file @
cabf5aa6
# -*- coding: utf-8 -*-
# © 2018 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'
name
'
:
'
Le Filament - Account
'
,
'
summary
'
:
"
Generic Account Invoice views update by Le Filament
"
,
'
version
'
:
'
10.0.1.0
'
,
'
version
'
:
'
10.0.1.0
.0
'
,
'
license
'
:
'
AGPL-3
'
,
'
author
'
:
'
LE FILAMENT
'
,
'
category
'
:
'
Account
'
,
...
...
This diff is collapsed.
Click to expand it.
views/lefilament_account_view.xml
+
22
−
24
View file @
cabf5aa6
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Account Invoice Form - Trigger validation -->
<record
model=
"ir.ui.view"
id=
"lf_invoice_form"
>
<field
name=
"inherit_id"
ref=
"account.invoice_form"
/>
<field
name=
"name"
>
account.invoice.form
</field>
<field
name=
"model"
>
account.invoice
</field>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//button[@name='action_invoice_open']"
position=
"attributes"
>
<attribute
name=
"confirm"
>
Do you want to confirm this invoice ?
</attribute>
</xpath>
</field>
</record>
<!-- Account Invoice Form - Trigger validation -->
<record
model=
"ir.ui.view"
id=
"lf_invoice_form"
>
<field
name=
"inherit_id"
ref=
"account.invoice_form"
/>
<field
name=
"name"
>
account.invoice.form
</field>
<field
name=
"model"
>
account.invoice
</field>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//button[@name='action_invoice_open']"
position=
"attributes"
>
<attribute
name=
"confirm"
>
Do you want to confirm this invoice ?
</attribute>
</xpath>
</field>
</record>
<!-- Customer Account Invoice Tree -->
<record
id=
"lf_view_invoice_tree"
model=
"ir.ui.view"
>
<field
name=
"inherit_id"
ref=
"account.invoice_tree"
/>
<field
name=
"name"
>
account.invoice.tree
</field>
<field
name=
"model"
>
account.invoice
</field>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='amount_total_signed']"
position=
"after"
>
<field
name=
"amount_untaxed_signed"
widget=
"monetary"
sum=
"Total Untaxed"
/>
</xpath>
</field>
</record>
<!-- Customer Account Invoice Tree -->
<record
id=
"lf_view_invoice_tree"
model=
"ir.ui.view"
>
<field
name=
"inherit_id"
ref=
"account.invoice_tree"
/>
<field
name=
"name"
>
account.invoice.tree
</field>
<field
name=
"model"
>
account.invoice
</field>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='amount_total_signed']"
position=
"after"
>
<field
name=
"amount_untaxed_signed"
widget=
"monetary"
sum=
"Total Untaxed"
/>
</xpath>
</field>
</record>
</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