[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:
parent
54ee20cbd0
commit
cd12832f9e
|
@ -12,5 +12,9 @@
|
||||||
<field name="journal_id" ref="analytic_journal"/>
|
<field name="journal_id" ref="analytic_journal"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="product.product_product_consultant" model="product.product">
|
||||||
|
<field name="sale_ok">True</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
|
@ -198,6 +198,7 @@ parameter) will see those record just disappear.
|
||||||
<field name="name">Service</field>
|
<field name="name">Service</field>
|
||||||
<field name="categ_id" ref="product.product_category_all"/>
|
<field name="categ_id" ref="product.product_category_all"/>
|
||||||
<field name="type">service</field>
|
<field name="type">service</field>
|
||||||
|
<field name="sale_ok">False</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Product Public Categories -->
|
<!-- Product Public Categories -->
|
||||||
|
|
|
@ -954,6 +954,8 @@
|
||||||
clean_for_save: function () {
|
clean_for_save: function () {
|
||||||
this.$target.removeAttr('contentEditable')
|
this.$target.removeAttr('contentEditable')
|
||||||
.find('*').removeAttr('contentEditable');
|
.find('*').removeAttr('contentEditable');
|
||||||
|
this.$target.removeAttr('attributeEditable')
|
||||||
|
.find('*').removeAttr('attributeEditable');
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue