Crud used to creates a new record for the model.
The new record is initialized using the values from vals and if necessary those from default_get(). .
browse([ids]) records:
Returns a recordset for the ids provided as parameter in the current environment.
And can take no ids, a single id or a sequence of ids.
Syntax:
unlink()
Deletes the records of the current set
1. Raises-- used to raise or get the value of function.
2. AccessError --
if user has no unlink rights on the requested object
if user tries to bypass access rules for unlink on the requested object
3. UserError -- if the record is default property for other records
0 Comment(s)