Browse Source

Migration of web_tree_dynamic_colored_field to 10.0

pull/638/head
jesusVMayor 8 years ago
parent
commit
0ab69ebc04
  1. 2
      web_tree_dynamic_colored_field/__manifest__.py
  2. 6
      web_tree_dynamic_colored_field/demo/res_users.xml
  3. 6
      web_tree_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml

2
web_tree_dynamic_colored_field/__manifest__.py

@ -5,7 +5,7 @@
'name': 'Colorize field in tree views', 'name': 'Colorize field in tree views',
'summary': 'Allows you to dynamically color fields on tree views', 'summary': 'Allows you to dynamically color fields on tree views',
'category': 'Hidden/Dependency', 'category': 'Hidden/Dependency',
'version': '9.0.2.0.0',
'version': '10.0.1.0.0',
'depends': ['web'], 'depends': ['web'],
'author': "Camptocamp,Therp BV,Odoo Community Association (OCA)", 'author': "Camptocamp,Therp BV,Odoo Community Association (OCA)",
'license': 'AGPL-3', 'license': 'AGPL-3',

6
web_tree_dynamic_colored_field/demo/res_users.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<record id="view_users_tree" model="ir.ui.view"> <record id="view_users_tree" model="ir.ui.view">
<field name="model">res.users</field> <field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_tree" /> <field name="inherit_id" ref="base.view_users_tree" />
@ -18,5 +17,4 @@
</field> </field>
</field> </field>
</record> </record>
</data>
</openerp>
</odoo>

6
web_tree_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml

@ -1,12 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3: <!-- vim:fdn=3:
--> -->
<openerp>
<data>
<odoo>
<template id="assets_backend" name="web_tree_dynamic_colored_field assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="web_tree_dynamic_colored_field assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<script type="text/javascript" src="/web_tree_dynamic_colored_field/static/src/js/web_tree_dynamic_colored_field.js"></script> <script type="text/javascript" src="/web_tree_dynamic_colored_field/static/src/js/web_tree_dynamic_colored_field.js"></script>
</xpath> </xpath>
</template> </template>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save