odoo_module_package.py 302 B

123456789
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields
  3. class OdooModulePackage(models.Model):
  4. _name = 'odoo.module.package'
  5. name = fields.Char(string='Nombre', size=100)
  6. module_ids = fields.Many2many(string='Módulos', comodel_name='odoo.module', relation='odoo_module_package_rel')