Created
September 21, 2014 11:04
-
-
Save bealdav/4651738146c6c2425a1c to your computer and use it in GitHub Desktop.
dess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 <[email protected]> | |
# | |
############################################################################## | |
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