'OERP.write_record()' and 'OERP.unlink_record()' methods does not use the user context by default
Bug #1325421 reported by
Sébastien Alix
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPLib |
Fix Released
|
High
|
Sébastien Alix |
Bug Description
I am trying to update a product record, but on write_record it is always reversed to the original entry:
>>> import oerplib
>>> oerp = oerplib.
>>> user = oerp.login(
>>> m = oerp.get(
>>> product = oerp.browse(
>>> product.name
'Dienstleistung'
>>> product.name = "FOO"
>>> product.name
'FOO'
>>> oerp.write_
True
>>> product.name
'Dienstleistung'
What is happening here?
Changed in oerplib: | |
milestone: | none → 0.8.2 |
assignee: | nobody → Sébastien Alix (sebastien-alix) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in oerplib: | |
status: | In Progress → Fix Released |
To post a comment you must log in.