mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update color widget
This commit is contained in:
@@ -20,26 +20,19 @@
|
|||||||
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
# http://www.sunpop.cn/odoo10_developer_document_offline/
|
# http://www.sunpop.cn/odoo10_developer_document_offline/
|
||||||
|
|
||||||
# Odoo, Open Source Web Widget Color
|
|
||||||
# Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
|
|
||||||
# Copyright (C) 2014 Anybox <http://anybox.fr>
|
|
||||||
# Copyright (C) 2015 Taktik SA <http://taktik.be>
|
|
||||||
# Copyright (C) 2018 Alexandre Díaz <dev@redneboa.es>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).#
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Product Attribute Color",
|
'name': "App Product Attribute Color",
|
||||||
'category': "Sales",
|
'category': "Sales",
|
||||||
'version': "12.19.1.04",
|
'version': "12.19.1.04",
|
||||||
"author": "Sunpop.cn",
|
"author": "Sunpop.cn",
|
||||||
'price': 0.00,
|
'price': 18.00,
|
||||||
'currency': 'EUR',
|
'currency': 'EUR',
|
||||||
'summary': """
|
'summary': """
|
||||||
Use for quick select color. can be use in product attribute and other color variant. color widget. color picker.
|
Use for quick select color. can be use in product attribute and other color variant. color widget. color picker.
|
||||||
""",
|
""",
|
||||||
'images': ['static/description/banner.png'],
|
'images': ['static/description/banner.png'],
|
||||||
'depends': [
|
'depends': [
|
||||||
'app_web_widget_color',
|
'web_widget_colorpicker',
|
||||||
'sale',
|
'sale',
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<field name="inherit_id" ref="sale.product_attribute_view_form"/>
|
<field name="inherit_id" ref="sale.product_attribute_view_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='html_color']" position="attributes">
|
<xpath expr="//field[@name='html_color']" position="attributes">
|
||||||
<attribute name="widget">color</attribute>
|
<attribute name="widget">colorpicker</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<field name="priority" eval="8"/>
|
<field name="priority" eval="8"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='html_color']" position="attributes">
|
<xpath expr="//field[@name='html_color']" position="attributes">
|
||||||
<attribute name="widget">color</attribute>
|
<attribute name="widget">colorpicker</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<field name="inherit_id" ref="sale.product_template_attribute_value_view_tree_inherit"/>
|
<field name="inherit_id" ref="sale.product_template_attribute_value_view_tree_inherit"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='html_color']" position="attributes">
|
<xpath expr="//field[@name='html_color']" position="attributes">
|
||||||
<attribute name="widget">color</attribute>
|
<attribute name="widget">colorpicker</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
<field name="inherit_id" ref="sale.product_template_attribute_value_view_form_inherit"/>
|
<field name="inherit_id" ref="sale.product_template_attribute_value_view_form_inherit"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='html_color']" position="attributes">
|
<xpath expr="//field[@name='html_color']" position="attributes">
|
||||||
<attribute name="widget">color</attribute>
|
<attribute name="widget">colorpicker</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<field name="inherit_id" ref="sale.variants_tree_view"/>
|
<field name="inherit_id" ref="sale.variants_tree_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='html_color']" position="attributes">
|
<xpath expr="//field[@name='html_color']" position="attributes">
|
||||||
<attribute name="widget">color</attribute>
|
<attribute name="widget">colorpicker</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user