diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-10-07 16:45:26 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-10-07 16:45:26 +0700 |
| commit | fd6af0fbd83042c8471c3c58ff459f52bed45938 (patch) | |
| tree | 6347ce189fddfb37e2ab0d0c14751075ba2ca870 /indoteknik_custom/views/product_template.xml | |
| parent | dd8f35133c24f84896a90dda343978d893ce5c4c (diff) | |
| parent | 6290e0e7a935c5084459843f8ba345ab9528d44c (diff) | |
Merge branch 'master' of bitbucket.org:altafixco/indoteknik-addons
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
| -rwxr-xr-x | indoteknik_custom/views/product_template.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml index 78aac34a..d4fa8d57 100755 --- a/indoteknik_custom/views/product_template.xml +++ b/indoteknik_custom/views/product_template.xml @@ -36,5 +36,16 @@ </xpath> </field> </record> + <record id="product_template_product_form_inherit" model="ir.ui.view"> + <field name="name">Product Template</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="website_sale.product_template_form_view"/> + <field name="arch" type="xml"> + <field name="website_ribbon_id" position="after"> + <field name="last_calculate_rating" attrs="{'readonly': [('type', '=', 'product')]}"/> + <field name="product_rating" attrs="{'readonly': [('type', '=', 'product')]}"/> + </field> + </field> + </record> </data> </odoo>
\ No newline at end of file |
