2022-01-18 00:00:19 +01:00
|
|
|
import remote
|
|
|
|
|
|
|
|
remote.autolog()
|
2022-01-18 00:05:11 +01:00
|
|
|
print( remote.search('res.users', [('id','=',7)]) )
|
2022-01-18 00:00:19 +01:00
|
|
|
print( remote.fields('product.uom', []) )
|
2022-01-18 00:07:34 +01:00
|
|
|
print( remote.lookup('product.uom', [('id','=',24)], recurse='product.uom,product.uom.categ') )
|
|
|
|
print( remote.save('product.uom', [('id','=',24)], recurse='product.uom,product.uom.categ') )
|