Skip to content

Instantly share code, notes, and snippets.

@bealdav
Created September 21, 2014 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bealdav/4651738146c6c2425a1c to your computer and use it in GitHub Desktop.
Save bealdav/4651738146c6c2425a1c to your computer and use it in GitHub Desktop.
dess
# -*- coding: utf-8 -*-
##############################################################################
#
# licence AGPL version 3 or later
# see licence in __openerp__.py or http://www.gnu.org/licenses/agpl-3.0.txt
# Copyright (C) 2014 Akretion (http://www.akretion.com).
# @author David BEAL <david.beal@akretion.com>
#
##############################################################################
from openerp.osv import orm
class ProductCategory(orm.Model):
_inherit = 'product.category'
def __init__(self, pool, cr):
super(ProductProduct, self).__init__(pool, cr)
self._columns['pricelist_builder_id'].string = 'Remise'
class ProductProduct(orm.Model):
_inherit = 'product.product'
def __init__(self, pool, cr):
super(ProductProduct, self).__init__(pool, cr)
self._columns['pricelist_builder_id'].string = 'Remise'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment