Skip to content

Commit 634338e

Browse files
author
odoo
committed
fix: Update product type fields from 'type' to 'detailed_type' for consistency in product templates
1 parent 733f89c commit 634338e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

records_management/data/products.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- Product Template for Document Storage Box -->
55
<record id="product_template_box" model="product.template">
66
<field name="name">Document Storage Box</field>
7-
<field name="type">product</field>
7+
<field name="detailed_type">product</field>
88
<field name="categ_id" ref="product.product_category_all"/>
99
<field name="default_code">REC-BOX</field>
1010
<field name="list_price">15.00</field>
@@ -27,7 +27,7 @@
2727
<!-- Product Template for Document File -->
2828
<record id="product_template_file" model="product.template">
2929
<field name="name">Document File</field>
30-
<field name="type">product</field>
30+
<field name="detailed_type">product</field>
3131
<field name="tracking">serial</field>
3232
<field name="categ_id" ref="product.product_category_all"/>
3333
<field name="default_code">REC-FILE</field>
@@ -51,7 +51,7 @@
5151
<!-- Storage Service Product -->
5252
<record id="product_template_storage_service" model="product.template">
5353
<field name="name">Document Storage Service</field>
54-
<field name="type">service</field>
54+
<field name="detailed_type">service</field>
5555
<field name="categ_id" ref="product.product_category_all"/>
5656
<field name="default_code">REC-STOR-SVC</field>
5757
<field name="list_price">25.00</field>
@@ -72,7 +72,7 @@
7272
<!-- Shredding Service Product -->
7373
<record id="product_template_shredding_service" model="product.template">
7474
<field name="name">Document Shredding Service</field>
75-
<field name="type">service</field>
75+
<field name="detailed_type">service</field>
7676
<field name="categ_id" ref="product.product_category_all"/>
7777
<field name="default_code">REC-SHRED-SVC</field>
7878
<field name="list_price">50.00</field>

0 commit comments

Comments
 (0)