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/res_partner.py
Normal file
12
web_note/web_note_test/res_partner.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 res_partner(orm.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
_columns = {
|
||||
'notes': fields.one2many('web.note', 'partner_id', 'Notes')
|
||||
}
|
||||
Reference in New Issue
Block a user