Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
PLOT
plot_partner
Commits
47e9ee9d
Commit
47e9ee9d
authored
10 years ago
by
Sebastian Kennedy
Browse files
Options
Downloads
Patches
Plain Diff
Bug fixed, faltaba el context en un onchange.
parent
5c9b5adb
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plot_partner.py
+2
-2
plot_partner.py
with
2 additions
and
2 deletions
plot_partner.py
+
2
−
2
View file @
47e9ee9d
...
...
@@ -74,9 +74,9 @@ class sale_order(osv.osv):
_inherit
=
'
sale.order
'
_name
=
'
sale.order
'
def
onchange_partner_id
(
self
,
cr
,
uid
,
ids
,
part
,
context
=
None
):
res
=
super
(
sale_order
,
self
).
onchange_partner_id
(
cr
,
uid
,
ids
,
part
,
context
=
N
on
e
)
res
=
super
(
sale_order
,
self
).
onchange_partner_id
(
cr
,
uid
,
ids
,
part
,
context
=
c
on
text
)
aux_partner
=
self
.
pool
.
get
(
'
res.partner
'
).
browse
(
cr
,
uid
,
part
,
context
=
N
on
e
)
aux_partner
=
self
.
pool
.
get
(
'
res.partner
'
).
browse
(
cr
,
uid
,
part
,
context
=
c
on
text
)
if
not
aux_partner
.
library
:
res
[
'
value
'
][
'
order_policy
'
]
=
'
manual
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets