Add xml_id_get function on model. This allows to do :
comp = model('res.company').xml_id_get('base.main_company')
comp.name
'Your Company'
Add test for xml_id_get
xml_id_get refactoring as disscused with project manager.
model('res.company').xml_id_get('base.main_company')
becomes:
model('res.company').get(xml_id='base.main_company')
fix whitespace
Remove deprecated test of xml_id_get
extend Model.get to retrieve a record by xml_id; issue 17
add tests for the various flavours of Model.get