1234567891011121314 |
- # -*- coding: utf-8 -*-
- from openerp import models, fields, api
- class OdooModule(models.Model):
- _name = 'odoo.module'
- name = fields.Char(string='Nombre', size=100)
- technical_name = fields.Char(string='Nombre Técnico', size=100)
- author = fields.Char(string='Autor', size=160)
- @api.model
- def update_modules(self):
- print('read modules')
|