Commit 3f92cbe6 authored by Moises Lopez - https://www.vauxoo.com/'s avatar Moises Lopez - https://www.vauxoo.com/
Browse files

[ADD] test_module

parent be215770
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
Test module
===========
This module was written to check the test of rst syntax.
This is a rst file without syntax error.
# -*- coding: utf-8 -*-
from . import dummy_model
# -*- coding: utf-8 -*-
{
'name': 'Empty module for tests',
'license': 'AGPL-3',
'author': 'Odoo Community Association (OCA)',
'version': '1.0',
'depends': [
'base',
],
'data': [
'security/ir.model.access.csv',
],
}
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
Test module
===========
This module was written to check the test of rst syntax.
This is a rst file without syntax error.
# -*- coding: utf-8 -*-
from openerp.osv import fields, orm
import sys
class DummyModel(orm.Model):
# expect "no access rules" error
_name = 'dummy.model'
_columns = {
'name': fields.char('Dummy', size=100),
}
# printout non-ASCII text to check unicode issues
# (from Monty Python's "Italian Lesson"...)
sys.stdout.write("Eeeeeee! Milano è tanto meglio di Napoli. "
"Milano è la citta la più bella di tutti ... nel mondo...\n")
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_dummy_model","access_dummy_model","model_dummy_model","base.group_user",1,1,1,1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment