write_record and write does not update and resets change
Asked by
codemonk
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?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- OERPLib Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sébastien Alix
- Solved:
- Last query:
- Last reply:
To post a message you must log in.