Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Tryton
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tryton
Tryton
Commits
fdd8d616d0c1
Commit
fdd8d616d0c1
authored
5 years ago
by
Maxime Richez
Browse files
Options
Downloads
Patches
Plain Diff
Add confirmation on all buttons that can not be undone
issue5258 review271141002
parent
167fe4b9d089
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
payment.xml
+3
-1
3 additions, 1 deletion
payment.xml
with
3 additions
and
1 deletion
payment.xml
+
3
−
1
View file @
fdd8d616
...
...
@@ -121,7 +121,7 @@
<record
model=
"ir.model.button"
id=
"mandate_cancel_button"
>
<field
name=
"name"
>
cancel
</field>
<field
name=
"string"
>
Cancel
</field>
<field
name=
"confirm"
>
Are you sure to cancel the mandate?
</field>
<field
name=
"confirm"
>
Are you sure
you want
to cancel the mandate?
</field>
<field
name=
"model"
search=
"[('model', '=', 'account.payment.sepa.mandate')]"
/>
</record>
...
...
@@ -265,6 +265,7 @@
<record
model=
"ir.model.button"
id=
"message_cancel_button"
>
<field
name=
"name"
>
cancel
</field>
<field
name=
"string"
>
Cancel
</field>
<field
name=
"confirm"
>
Are you sure you want to cancel the messages?
</field>
<field
name=
"model"
search=
"[('model', '=', 'account.payment.sepa.message')]"
/>
</record>
...
...
@@ -286,6 +287,7 @@
<record
model=
"ir.model.button"
id=
"message_do_button"
>
<field
name=
"name"
>
do
</field>
<field
name=
"string"
>
Do
</field>
<field
name=
"confirm"
>
Are you sure you want to process the messages?
</field>
<field
name=
"model"
search=
"[('model', '=', 'account.payment.sepa.message')]"
/>
</record>
...
...
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