first import

This commit is contained in:
Valentin Lab
2015-01-28 11:59:35 +07:00
commit 36902ec12b
23 changed files with 489 additions and 0 deletions

28
{{name}}/models.py Normal file
View File

@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
import logging
from openerp.osv import orm, fields
from openerp.tools.translate import _
_logger = logging.getLogger(__name__)
##
## Models
##
# class mymodel(orm.Model):
#
# _name = '{{name}}.mymodel'
# _inherit = "res.company"
#
# _columns = {
# 'res_model': fields.char('Model'),
# 'file': fields.binary(i
# 'File', help="File to check"),
# 'partner_id': fields.many2one(
# 'res.partner',
# string="Attached Partner",
# domain="[('type', '=', 'other')]",),
# }
#