다음 코드와 같이 그냥 PARAM 컨텍스트를 추가 할 필요가 엔드 포인트가 API를 인의 말을하자 문맥을 param로서 추가한다.
이
api.execute_kw(db, uid, password, 'res.partner', 'create', [{'name: Atul'}], {'context' :{'tag': 1}})
검색
api.execute_kw(db, uid, pwd, 'res.partner', 'search_read', [[('name', '=', "Atul")]], {'context' :{'tag': 1}})
검색
api.execute_kw(db, uid, password, 'res.partner', 'read', [ids], {'context' :{'tag': 1}})
api.execute_kw(db, uid, pwd, 'res.partner', 'search_read', [[('name', '=', "Atul")]], {'fields': ['id', 'name'], 'context' :{'tag': 1}})
읽기 읽기 만들기는
api.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {'name': "Atul Arvind"}], {'context' :{'tag': 1}})
연결 해제이 도움이
api.execute_kw(db, uid, password, 'res.partner', 'unlink', [[id]], {'context' :{'tag': 1})
희망을 쓰기!