projects
/
odoo
/
odoo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[FIX] [WIP] website_sale: fix crash when having product templates without variant.
[odoo/odoo.git]
/
addons
/
web_tests_demo
/
__init__.py
1
from openerp.osv import orm, fields
2
3
class TestObject(orm.Model):
4
_name = 'web_tests_demo.model'
5
6
_columns = {
7
'name': fields.char("Name", required=True),
8
'thing': fields.char("Thing"),
9
'other': fields.char("Other", required=True)
10
}
11
_defaults = {
12
'other': "bob"
13
}
14