mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[7.0] [ADD] web_note and web_note_test (#216)
This commit is contained in:
committed by
Pedro M. Baeza
parent
09ee5fd70c
commit
e73038b836
12
web_note/web_note_test/web_note.py
Normal file
12
web_note/web_note_test/web_note.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © initOS GmbH 2014
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from openerp.osv import orm, fields
|
||||
|
||||
|
||||
class WebNote(orm.Model):
|
||||
_inherit = 'web.note'
|
||||
_columns = {
|
||||
'partner_id':
|
||||
fields.many2one('res.partner', 'Partner Id', invisible=True),
|
||||
}
|
||||
Reference in New Issue
Block a user