Add .template as extension of the template files because RPM packaging produces an error when trying to compile the python template files, which contains Jinja instructions. Include *.template files in MANIFEST.in to package them.
9 lines
184 B
Plaintext
9 lines
184 B
Plaintext
# -*- coding: utf-8 -*-
|
|
|
|
from openerp import models, fields, api
|
|
|
|
# class {{ name|snake }}(models.Model):
|
|
# _name = '{{ name|snake }}.{{ name|snake }}'
|
|
|
|
# name = fields.Char()
|