12345678910111213 |
- # -*- coding: utf-8 -*-
- from openerp.http import request as r
- _MODEL = 'res.store'
- def get_res_store_baco():
- return [
- {
- 'id': store.id,
- 'name': store.name,
- 'company_id': store.company_id.id,
- } for store in r.env[_MODEL].search([])
- ]
|