3
0
Fork 0

[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 copyright
10.0
Brenton Hughes 2017-08-24 16:16:19 -07:00 committed by Dave Lasley
parent b3ffddfb95
commit 63bfc0f668
No known key found for this signature in database
GPG Key ID: 7DDBA4BA81B934CF
9 changed files with 194 additions and 12853 deletions

View File

@ -1,13 +1,20 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
====================
Slick Widget Example
====================
=============================
Slick Carousel Widget Example
=============================
This module provides an example of how to implement the web_widget_slick module
This module provides an example of how to implement the web_widget_slick module.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/web/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Credits
=======
@ -15,18 +22,27 @@ Credits
Images
------
* LasLabs: `Icon <https://repo.laslabs.com/projects/TEM/repos/odoo-module_template/browse/module_name/static/description/icon.svg?raw>`_.
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Dave Lasley <dave@laslabs.com>
* Brent Hughes <brent.hughes@laslabs.com>
Do not contact contributors directly about support or help with technical issues.
Maintainer
----------
.. image:: https://laslabs.com/logo.png
:alt: LasLabs Inc.
:target: https://laslabs.com
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by LasLabs Inc.
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

View File

@ -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

View File

@ -1,15 +1,15 @@
# -*- 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).
{
"name": "Slick Widget Example",
"name": "Slick Carousel Widget Example",
"summary": "Example usage of the web_widget_slick module",
"version": "9.0.1.0.0",
"version": "10.0.1.0.0",
"category": "Hidden",
"website": "https://laslabs.com/",
"author": "LasLabs",
"license": "AGPL-3",
"author": "LasLabs, Odoo Community Association (OCA)",
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": [
@ -21,5 +21,5 @@
],
"demo": [
'demo/slick_example_data.xml',
]
],
}

File diff suppressed because one or more lines are too long

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

View File

@ -1,13 +1,14 @@
# -*- 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 openerp import models, fields
from odoo import models, fields
class SlickExample(models.Model):
_name = 'slick.example'
_description = 'Slick Example Model'
image_ids = fields.One2many(
name='Images',
comodel_name='ir.attachment',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 932 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -1,14 +1,8 @@
<?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>
<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>
@ -16,8 +10,10 @@
<form string="Slick Example">
<header />
<sheet>
<group>
<field name="image_ids" widget="one2many_slick_images"
options="{'slidesToShow': 2}" />
</group>
</sheet>
<footer />
</form>
@ -47,6 +43,4 @@
parent="base.menu_custom"
action="slick_example_action"
sequence="1" />
</data>
</openerp>
</odoo>