summaryrefslogtreecommitdiff
path: root/addons/l10n_in_sale
diff options
context:
space:
mode:
authorJinal Patel <jip@odoo.com>2019-03-20 10:21:13 +0000
committerJinal Patel <jip@odoo.com>2019-04-19 05:18:01 +0000
commitbd4edfd5f1e7741dd5cfc0da831feacebfcf1182 (patch)
tree0ef4b802d8559b4ad9062c9d5d321a61f13e14fc /addons/l10n_in_sale
parent4c333ec57c97e1e82cb86cfb9ea747e2e6f0ba0a (diff)
[ADD] l10n_in(_pos,_sale,_stock): add demo data
- Add demo data in the field HSN/SAC Code and HSN Description into the products. Related Task : 1948171
Diffstat (limited to 'addons/l10n_in_sale')
-rw-r--r--addons/l10n_in_sale/__manifest__.py1
-rw-r--r--addons/l10n_in_sale/data/product_demo.xml9
2 files changed, 10 insertions, 0 deletions
diff --git a/addons/l10n_in_sale/__manifest__.py b/addons/l10n_in_sale/__manifest__.py
index 0926deb5c64..3512a6e3b0f 100644
--- a/addons/l10n_in_sale/__manifest__.py
+++ b/addons/l10n_in_sale/__manifest__.py
@@ -11,6 +11,7 @@
'sale',
],
'data': [
+ 'data/product_demo.xml',
'views/report_sale_order.xml',
'views/sale_views.xml'
],
diff --git a/addons/l10n_in_sale/data/product_demo.xml b/addons/l10n_in_sale/data/product_demo.xml
new file mode 100644
index 00000000000..ad3d590e968
--- /dev/null
+++ b/addons/l10n_in_sale/data/product_demo.xml
@@ -0,0 +1,9 @@
+<odoo>
+ <data noupdate="1">
+ <record id="sale.advance_product_0" model="product.product">
+ <field name="l10n_in_hsn_code">8303.00.00</field>
+ <field name="l10n_in_hsn_description">Armoured or reinforced safes, strong boxes and doors and safe deposit lockers for strong rooms, cash or deed boxes and the like, of base metal
+ </field>
+ </record>
+ </data>
+</odoo>