123456789101112131415 |
- # -*- coding: utf-8 -*-
- from openerp.http import request as r
- _MODEL = 'res.company'
- def get_company_logo():
- # domain = [
- # ('expense','=', True)
- # ]
- return [
- {
- 'id': company.id,
- 'logo': company.image_medium,
- } for company in r.env[_MODEL].search()
- ]
|