From 01defb03666e59af2821548d4cadab590181578a Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 28 Jan 2015 09:58:00 +0100 Subject: [PATCH] [ADD] Add extra demo data that generate display bug --- pos_product_template/__openerp__.py | 1 + .../demo/product_attribute_value.yml | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pos_product_template/demo/product_attribute_value.yml diff --git a/pos_product_template/__openerp__.py b/pos_product_template/__openerp__.py index b35eaf1b..2839605c 100644 --- a/pos_product_template/__openerp__.py +++ b/pos_product_template/__openerp__.py @@ -61,6 +61,7 @@ Copyright, Authors and Licence: 'static/src/xml/ppt.xml', ], 'demo': [ + 'demo/product_attribute_value.yml', 'demo/product_product.yml', 'demo/res_groups.yml', ], diff --git a/pos_product_template/demo/product_attribute_value.yml b/pos_product_template/demo/product_attribute_value.yml new file mode 100644 index 00000000..84548c32 --- /dev/null +++ b/pos_product_template/demo/product_attribute_value.yml @@ -0,0 +1,25 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Point Of Sale - Product Template module for Odoo +# Copyright (C) 2014-Today Akretion (http://www.akretion.com) +# @author Sylvain LE GAL (https://twitter.com/legalsylvain) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +- !record {model: product.attribute.value, id: attribute_wifi_extra}: + attribute_id: product.product_attribute_3 + name: 2.399GHz