[IMP] product: Service (product.product_product_consultant) is sale_ok=False by default and overwrite in hr_timesheet to True

bzr revid: chm@openerp.com-20140115152526-dptyljv7yxdkmis0
This commit is contained in:
Christophe Matthieu 2014-01-15 16:25:26 +01:00
parent 54ee20cbd0
commit cd12832f9e
3 changed files with 7 additions and 0 deletions

View File

@ -12,5 +12,9 @@
<field name="journal_id" ref="analytic_journal"/>
</record>
<record id="product.product_product_consultant" model="product.product">
<field name="sale_ok">True</field>
</record>
</data>
</openerp>

View File

@ -198,6 +198,7 @@ parameter) will see those record just disappear.
<field name="name">Service</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="type">service</field>
<field name="sale_ok">False</field>
</record>
<!-- Product Public Categories -->

View File

@ -954,6 +954,8 @@
clean_for_save: function () {
this.$target.removeAttr('contentEditable')
.find('*').removeAttr('contentEditable');
this.$target.removeAttr('attributeEditable')
.find('*').removeAttr('attributeEditable');
},
});