Browse Source
[MIG] web_widget_slick_example: Migrate to v10
[MIG] web_widget_slick_example: Migrate to v10
* Bump version * Rename __openerp__.py -> __manifest__.py * Replace openerp import, tags with odoo * Remove data tags * Replace LasLabs icon w/ OCA icon * Update readme * Update license (AGPL -> LGPL) * Update copyrightpull/706/head
Brenton Hughes
7 years ago
committed by
Dave Lasley
No known key found for this signature in database
GPG Key ID: 7DDBA4BA81B934CF
9 changed files with 194 additions and 12853 deletions
-
40web_widget_slick_example/README.rst
-
4web_widget_slick_example/__init__.py
-
14web_widget_slick_example/__manifest__.py
-
70web_widget_slick_example/demo/slick_example_data.xml
-
2web_widget_slick_example/models/__init__.py
-
7web_widget_slick_example/models/slick_example.py
-
BINweb_widget_slick_example/static/description/icon.png
-
12822web_widget_slick_example/static/description/icon.svg
-
88web_widget_slick_example/views/slick_example_view.xml
@ -1,5 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# © 2016-TODAY LasLabs Inc. |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
# Copyright 2016-2017 LasLabs Inc. |
|||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). |
|||
|
|||
from . import models |
70
web_widget_slick_example/demo/slick_example_data.xml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,3 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016-2017 LasLabs Inc. |
|||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). |
|||
|
|||
from . import slick_example |
Before Width: 600 | Height: 518 | Size: 10 KiB After Width: 128 | Height: 128 | Size: 9.2 KiB |
12822
web_widget_slick_example/static/description/icon.svg
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,52 +1,46 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Copyright 2016-2017 LasLabs Inc. |
|||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). --> |
|||
|
|||
<!-- |
|||
Copyright (C) 2016-TODAY LasLabs, Inc. [https://laslabs.com] |
|||
@author Dave Lasley <dave@laslabs.com> |
|||
@license AGPL-3 |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<record id="slick_example_view_form" model="ir.ui.view"> |
|||
<field name="name">slick.example.view.form</field> |
|||
<field name="model">slick.example</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Slick Example"> |
|||
<header /> |
|||
<sheet> |
|||
<odoo> |
|||
<record id="slick_example_view_form" model="ir.ui.view"> |
|||
<field name="name">slick.example.view.form</field> |
|||
<field name="model">slick.example</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Slick Example"> |
|||
<header /> |
|||
<sheet> |
|||
<group> |
|||
<field name="image_ids" widget="one2many_slick_images" |
|||
options="{'slidesToShow': 2}" /> |
|||
</sheet> |
|||
<footer /> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
options="{'slidesToShow': 2}" /> |
|||
</group> |
|||
</sheet> |
|||
<footer /> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="slick_example_view_tree" model="ir.ui.view"> |
|||
<field name="name">slick.example.view.tree</field> |
|||
<field name="model">slick.example</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Slick Example"> |
|||
<field name="id" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="slick_example_view_tree" model="ir.ui.view"> |
|||
<field name="name">slick.example.view.tree</field> |
|||
<field name="model">slick.example</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Slick Example"> |
|||
<field name="id" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="slick_example_action" model="ir.actions.act_window"> |
|||
<field name="name">Slick Examples</field> |
|||
<field name="res_model">slick.example</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
|
|||
<menuitem id="slick_example_menu" |
|||
name="Slick" |
|||
parent="base.menu_custom" |
|||
action="slick_example_action" |
|||
sequence="1" /> |
|||
<record id="slick_example_action" model="ir.actions.act_window"> |
|||
<field name="name">Slick Examples</field> |
|||
<field name="res_model">slick.example</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
<menuitem id="slick_example_menu" |
|||
name="Slick" |
|||
parent="base.menu_custom" |
|||
action="slick_example_action" |
|||
sequence="1" /> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue