[7.0] [ADD] web_note and web_note_test (#216)

This commit is contained in:
Nikolina Todorova
2016-10-25 21:41:38 +02:00
committed by Pedro M. Baeza
parent 09ee5fd70c
commit e73038b836
12 changed files with 325 additions and 0 deletions

View 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),
}