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
4c07fafe
Commit
4c07fafe
authored
8 years ago
by
Christophe Simonis
Browse files
Options
Downloads
Plain Diff
[MERGE] forward port of branch saas-6 up to
0de30f40
parents
509ce618
0de30f40
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
addons/hr_holidays/hr_holidays.py
+1
-1
1 addition, 1 deletion
addons/hr_holidays/hr_holidays.py
doc/cla/individual/lbaldi.md
+11
-0
11 additions, 0 deletions
doc/cla/individual/lbaldi.md
openerp/addons/base/res/res_currency.py
+0
-10
0 additions, 10 deletions
openerp/addons/base/res/res_currency.py
with
12 additions
and
11 deletions
addons/hr_holidays/hr_holidays.py
+
1
−
1
View file @
4c07fafe
...
...
@@ -478,7 +478,7 @@ class hr_holidays(osv.osv):
return
True
def
holidays_cancel
(
self
,
cr
,
uid
,
ids
,
context
=
None
):
for
record
in
self
.
browse
(
cr
,
uid
,
ids
):
for
record
in
self
.
browse
(
cr
,
uid
,
ids
,
context
=
context
):
# Delete the meeting
if
record
.
meeting_id
:
record
.
meeting_id
.
unlink
()
...
...
This diff is collapsed.
Click to expand it.
doc/cla/individual/lbaldi.md
0 → 100644
+
11
−
0
View file @
4c07fafe
Argentina, 19/05/2016
I hereby agree to the terms of the Odoo Individual Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Baldi Leandro baldileandro@gmail.com https://github.com/lbaldi
This diff is collapsed.
Click to expand it.
openerp/addons/base/res/res_currency.py
+
0
−
10
View file @
4c07fafe
...
...
@@ -104,16 +104,6 @@ class res_currency(osv.osv):
reads
=
self
.
read
(
cr
,
uid
,
ids
,
[
'
name
'
,
'
symbol
'
],
context
=
context
,
load
=
'
_classic_write
'
)
return
[(
x
[
'
id
'
],
tools
.
ustr
(
x
[
'
name
'
]))
for
x
in
reads
]
def
copy
(
self
,
cr
,
uid
,
id
,
default
=
None
,
context
=
None
):
if
context
is
None
:
context
=
{}
if
not
default
:
default
=
{}
default
.
update
(
name
=
_
(
"
%s (copy)
"
)
%
(
self
.
browse
(
cr
,
uid
,
id
,
context
=
context
).
name
))
return
super
(
res_currency
,
self
).
copy
(
cr
,
uid
,
id
,
default
=
default
,
context
=
context
)
@api.v8
def
round
(
self
,
amount
):
"""
Return `amount` rounded according to currency `self`.
"""
...
...
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