product.product
繼承自product.template
而不是直接在product.product
中定義所有字段會帶來什麼好處?OpenERP 7.0:爲什麼product.product從product.template繼承?
_name = "product.product"
_description = "Product"
_inherits = {'product.template': 'product_tmpl_id'}
我什麼時候可以在新代碼中使用這種技術?
它真的很有幫助 –