Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLN] *: clean data fields #72

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions art_craft/data/product_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,19 +281,16 @@
<field name="name">Gold Membership - 10% off</field>
<field name="list_price">0.0</field>
<field name="detailed_type">service</field>
<field name="categ_id" ref="product.product_category_all"/>
</record>
<record id="product_template_26" model="product.template" context="{'create_product_product': False}">
<field name="name">Silver Membership - 5% Off</field>
<field name="list_price">0.0</field>
<field name="detailed_type">service</field>
<field name="categ_id" ref="product.product_category_all"/>
</record>
<record id="product_template_6" model="product.template" context="{'create_product_product': False}">
<field name="name">Gift Card</field>
<field name="list_price">0.0</field>
<field name="detailed_type">service</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="image_1920" type="base64" file="art_craft/static/src/binary/product_template/4-image_1920"/>
</record>
<record id="product_template_8" model="product.template" context="{'create_product_product': False}">
Expand Down
1 change: 0 additions & 1 deletion automobile/data/product_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
</record>
<record id="product_template_8" model="product.template" context="{'create_product_product': False}">
<field name="name">Gift Card</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">service</field>
<field name="list_price" eval="False"/>
<field name="sale_ok" eval="False"/>
Expand Down
17 changes: 0 additions & 17 deletions automobile/demo/purchase_order_line.xml
Original file line number Diff line number Diff line change
@@ -1,52 +1,35 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="purchase_order_line_1" model="purchase.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="price_unit">150.0</field>
<field name="product_qty">10.0</field>
<field name="order_id" ref="purchase_order_1"/>
</record>
<record id="purchase_order_line_2" model="purchase.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_qty">5.0</field>
<field name="price_unit">150.0</field>
<field name="order_id" ref="purchase_order_2"/>
</record>
<record id="purchase_order_line_3" model="purchase.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_qty">1.0</field>
<field name="price_unit">150.0</field>
<field name="order_id" ref="purchase_order_3"/>
</record>
<record id="purchase_order_line_4" model="purchase.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_qty">3.0</field>
<field name="price_unit">150.0</field>
<field name="order_id" ref="purchase_order_4"/>
</record>
<record id="purchase_order_line_5" model="purchase.order.line">
<field name="name">Drum Brake</field>
<field name="product_id" ref="product_product_10"/>
<field name="product_qty">2.0</field>
<field name="price_unit">12.0</field>
<field name="order_id" ref="purchase_order_4"/>
</record>
<record id="purchase_order_line_6" model="purchase.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_qty">1.0</field>
<field name="price_unit">150.0</field>
<field name="order_id" ref="purchase_order_5"/>
</record>
<record id="purchase_order_line_7" model="purchase.order.line">
<field name="name">Drum Brake</field>
<field name="product_id" ref="product_product_10"/>
<field name="product_qty">1.0</field>
<field name="price_unit">12.0</field>
<field name="order_id" ref="purchase_order_5"/>
</record>
</odoo>
10 changes: 0 additions & 10 deletions automobile/demo/sale_order_line.xml
Original file line number Diff line number Diff line change
@@ -1,55 +1,45 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="sale_order_line_1" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_uom_qty">5.0</field>
<field name="order_id" ref="sale_order_1"/>
</record>
<record id="sale_order_line_10" model="sale.order.line">
<field name="name">Rear Brake Pads</field>
<field name="product_id" ref="product_product_11"/>
<field name="product_uom_qty">12.0</field>
<field name="order_id" ref="sale_order_9"/>
</record>
<record id="sale_order_line_2" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="order_id" ref="sale_order_2"/>
</record>
<record id="sale_order_line_3" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="order_id" ref="sale_order_3"/>
</record>
<record id="sale_order_line_4" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="order_id" ref="sale_order_4"/>
</record>
<record id="sale_order_line_5" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="order_id" ref="sale_order_5"/>
</record>
<record id="sale_order_line_6" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="order_id" ref="sale_order_6"/>
</record>
<record id="sale_order_line_7" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_uom_qty">2.0</field>
<field name="order_id" ref="sale_order_7"/>
</record>
<record id="sale_order_line_8" model="sale.order.line">
<field name="name">Drum Brake</field>
<field name="product_id" ref="product_product_10"/>
<field name="order_id" ref="sale_order_7"/>
</record>
<record id="sale_order_line_9" model="sale.order.line">
<field name="name">AC Compressor</field>
<field name="product_id" ref="product_product_13"/>
<field name="product_uom_qty">12.0</field>
<field name="order_id" ref="sale_order_8"/>
Expand Down
2 changes: 0 additions & 2 deletions bar_and_lounge/data/product_product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
</record>
<record id="product_product_15" model="product.product">
<field name="name">Beer 125ml</field>
<field name="categ_id" ref="product.product_category_all" />
<field name="detailed_type">product</field>
<field name="list_price">2.0</field>
<field name="image_1920" type="base64" file="bar_and_lounge/static/src/binary/product_template/15-image_1920" />
Expand All @@ -58,7 +57,6 @@
</record>
<record id="product_product_16" model="product.product">
<field name="name">Beer 500 ml</field>
<field name="categ_id" ref="product.product_category_all" />
<field name="detailed_type">product</field>
<field name="uom_id" ref="uom_uom_29" />
<field name="uom_po_id" ref="uom_uom_29" />
Expand Down
13 changes: 1 addition & 12 deletions cake_shop/data/product_product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<field name="website_sequence">10015</field>
<field name="list_price">4.0</field>
<field name="standard_price">2.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="available_in_pos" eval="True"/>
</record>
<record id="product_product_49" model="product.product">
Expand All @@ -19,7 +18,6 @@
<field name="website_sequence">10040</field>
<field name="list_price">5.0</field>
<field name="standard_price">3.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="available_in_pos" eval="True"/>
</record>
<record id="product_product_50" model="product.product">
Expand All @@ -30,7 +28,6 @@
<field name="website_sequence">10025</field>
<field name="list_price">7.0</field>
<field name="standard_price">5.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="available_in_pos" eval="True"/>
</record>
<record id="product_product_51" model="product.product">
Expand All @@ -41,7 +38,6 @@
<field name="website_sequence">10020</field>
<field name="list_price">8.0</field>
<field name="standard_price">5.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="available_in_pos" eval="True"/>
</record>
<record id="product_product_52" model="product.product">
Expand All @@ -63,7 +59,6 @@
<field name="website_sequence">10030</field>
<field name="uom_id" ref="uom.product_uom_gram"/>
<field name="standard_price">3.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
</record>
<record id="product_product_54" model="product.product">
Expand All @@ -73,7 +68,6 @@
<field name="website_sequence">10010</field>
<field name="sale_ok" eval="False"/>
<field name="standard_price">1.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
</record>
<record id="product_product_55" model="product.product">
Expand All @@ -83,7 +77,6 @@
<field name="website_sequence">10055</field>
<field name="standard_price">1.0</field>
<field name="sale_ok" eval="False"/>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
</record>
<record id="product_product_56" model="product.product">
Expand All @@ -94,7 +87,6 @@
<field name="uom_id" ref="uom.product_uom_gram"/>
<field name="sale_ok" eval="False"/>
<field name="standard_price">1.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
</record>
<record id="product_product_57" model="product.product">
Expand All @@ -104,19 +96,16 @@
<field name="website_sequence">10060</field>
<field name="sale_ok" eval="False"/>
<field name="standard_price">1.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
</record>
<record id="product_product_58" model="product.product">
<field name="name">Choclate Bar</field>
<field name="name">Chocolate Bar</field>
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="image_1920" type="base64" file="cake_shop/static/src/binary/product_template/58-image_1920"/>
<field name="website_sequence">10065</field>
<field name="sale_ok" eval="False"/>
<field name="standard_price">4.0</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="detailed_type">product</field>
<field name="categ_id" ref="product.product_category_all"/>
</record>
<record id="product_product_61" model="product.product">
<field name="name">Tips</field>
Expand Down
14 changes: 2 additions & 12 deletions cake_shop/demo/purchase_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,25 @@
</record>

<record id="purchase_order_line_1" model="purchase.order.line">
<field name="name">All Purpose Flour </field>
<field name="product_id" ref="product_product_53"/>
<field name="product_qty">10.0</field>
<field name="price_unit">3.0</field>
<field name="order_id" ref="purchase_order_1"/>
</record>

<record id="purchase_order_line_2" model="purchase.order.line">
<field name="name">Baking Powder</field>
<field name="product_id" ref="product_product_56"/>
<field name="product_qty">1.0</field>
<field name="price_unit">1.0</field>
<field name="order_id" ref="purchase_order_1"/>
</record>

<record id="purchase_order_line_3" model="purchase.order.line">
<field name="name">Choclate Bar</field>
<field name="product_id" ref="product_product_58"/>
<field name="product_qty">100.0</field>
<field name="price_unit">4.0</field>
<field name="order_id" ref="purchase_order_1"/>
</record>

<record id="purchase_order_line_4" model="purchase.order.line">
<field name="name">Egg</field>
<field name="product_id" ref="product_product_57"/>
<field name="product_qty">10.0</field>
<field name="price_unit">1.0</field>
<field name="order_id" ref="purchase_order_1"/>
</record>

Expand All @@ -43,7 +34,6 @@
</record>

<record id="purchase_order_line_5" model="purchase.order.line">
<field name="name">Baking Powder</field>
<field name="product_id" ref="product_product_56"/>
<field name="product_qty">20.0</field>
<field name="price_unit">3.0</field>
Expand All @@ -53,8 +43,8 @@

<function model="purchase.order" name="button_confirm">
<value eval="[
ref('cake_shop.purchase_order_1'),
ref('cake_shop.purchase_order_2')]"
ref('purchase_order_1'),
ref('purchase_order_2')]"
/>
</function>

Expand Down
12 changes: 0 additions & 12 deletions cake_shop/demo/sale_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
</record>

<record id="sale_order_line_1" model="sale.order.line">
<field name="name">Chicken Puffs</field>
<field name="product_id" ref="product_product_49"/>
<field name="order_id" ref="sale_order_1"/>
<field name="price_unit">5.0</field>
</record>


Expand All @@ -17,22 +15,16 @@
</record>

<record id="sale_order_line_2" model="sale.order.line">
<field name="name">Black Forest 1 kG Cake</field>
<field name="product_id" ref="product_product_52"/>
<field name="order_id" ref="sale_order_2"/>
<field name="price_unit">10.0</field>
</record>
<record id="sale_order_line_3" model="sale.order.line">
<field name="name">Chicken Cutlate</field>
<field name="product_id" ref="product_product_50"/>
<field name="order_id" ref="sale_order_2"/>
<field name="price_unit">7.0</field>
</record>
<record id="sale_order_line_4" model="sale.order.line">
<field name="name">Chicken Puffs</field>
<field name="product_id" ref="product_product_49"/>
<field name="order_id" ref="sale_order_2"/>
<field name="price_unit">5.0</field>
</record>

<function model="sale.order" name="action_confirm">
Expand Down Expand Up @@ -69,17 +61,13 @@
</record>

<record id="sale_order_line_5" model="sale.order.line">
<field name="name">Chicken Puffs</field>
<field name="product_id" ref="product_product_49"/>
<field name="order_id" ref="sale_order_3"/>
<field name="price_unit">5.0</field>
</record>

<record id="sale_order_line_6" model="sale.order.line">
<field name="name">Veg Puffs</field>
<field name="product_id" ref="product_product_48"/>
<field name="order_id" ref="sale_order_3"/>
<field name="price_unit">4.0</field>
</record>

<record id="sale_order_line_7" model="sale.order.line">
Expand Down
1 change: 0 additions & 1 deletion certification_organism/data/product_product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<odoo noupdate="1">
<record id="product_product_3" model="product.product">
<field name="name">Charging Station Certification</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="list_price">500.0</field>
<field name="standard_price">150.0</field>
<field name="type">service</field>
Expand Down
Loading