Commit 704d1e6a by root

#4213 : set indicative_package = True as default value for product_supplierinfo

parent e1eb9bac
# -*- coding: utf-8 -*-
from . import product_product, product_template
from . import product_product, product_template, product_supplierinfo
# -*- encoding: utf-8 -*-
from openerp import models, fields, api
class ProductSupplierInfo(models.Model):
_inherit = "product.supplierinfo"
@api.model
def default_get(self, fields):
res = super(ProductSupplierInfo, self).default_get(fields)
res['indicative_package'] = True
return res
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment