You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
299 B

  1. # -*- coding: utf-8 -*-
  2. # © initOS GmbH 2014
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from openerp.osv import orm, fields
  5. class res_partner(orm.Model):
  6. _inherit = 'res.partner'
  7. _columns = {
  8. 'notes': fields.one2many('web.note', 'partner_id', 'Notes')
  9. }