Commit Graph

2 Commits

Author SHA1 Message Date
Stephane Wirtel f6c1b6bb86 [REF] Create a WorkflowItem object
bzr revid: stw@openerp.com-20131023135838-ix7x6mzui3i3wfbi
2013-10-23 15:58:38 +02:00
Stephane Wirtel c7afc04be3 [REF] First step, use the same vocabulary for the cr, uid, res_type and res_id
=> Session, Record.
* a Session is a container of one cursor and one user 
* a Record is a container for the res_type and res_id, in this object, the right
  names are model and id.

Examples:

session = Session(cr, uid)
record = Record(res_type, res_id)
record.mode, record.id

A new class named 'WorkflowService' is a wrapper for the instance.* functions.

bzr revid: stw@openerp.com-20131023125343-uo0bq52n86ae0fb0
2013-10-23 14:53:43 +02:00