Browse Source

Switch AGPL to LGPL license

pull/1471/head
elicoidal 6 years ago
parent
commit
de2cb36858
  1. 6
      base_user_role/README.rst
  2. 5
      base_user_role/__manifest__.py
  3. 3
      base_user_role/data/ir_cron.xml
  4. 3
      base_user_role/data/ir_module_category.xml
  5. 3
      base_user_role/models/role.py
  6. 3
      base_user_role/models/user.py
  7. 3
      base_user_role/tests/test_user_role.py
  8. 3
      base_user_role/views/role.xml
  9. 3
      base_user_role/views/user.xml

6
base_user_role/README.rst

@ -1,6 +1,6 @@
.. image:: https://img.shields.io/badge/licence-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/licence-LGPL--3-blue.svg
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
========== ==========
User roles User roles

5
base_user_role/__manifest__.py

@ -1,13 +1,14 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2014 ABF OSIELL <http://osiell.com> # Copyright 2014 ABF OSIELL <http://osiell.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{ {
'name': 'User roles', 'name': 'User roles',
'version': '10.0.1.0.2', 'version': '10.0.1.0.2',
'category': 'Tools', 'category': 'Tools',
'author': 'ABF OSIELL, Odoo Community Association (OCA)', 'author': 'ABF OSIELL, Odoo Community Association (OCA)',
'license': 'AGPL-3',
'license': 'LGPL-3',
'maintainer': 'ABF OSIELL', 'maintainer': 'ABF OSIELL',
'website': 'http://www.osiell.com', 'website': 'http://www.osiell.com',
'depends': [ 'depends': [

3
base_user_role/data/ir_cron.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 ABF OSIELL <http://osiell.com> <!-- Copyright 2016 ABF OSIELL <http://osiell.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo noupdate="1"> <odoo noupdate="1">
<record model="ir.cron" id="cron_update_users"> <record model="ir.cron" id="cron_update_users">

3
base_user_role/data/ir_module_category.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 ABF OSIELL <http://osiell.com> <!-- Copyright 2016 ABF OSIELL <http://osiell.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo> <odoo>
<record model="ir.module.category" id="ir_module_category_role"> <record model="ir.module.category" id="ir_module_category_role">

3
base_user_role/models/role.py

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2014 ABF OSIELL <http://osiell.com> # Copyright 2014 ABF OSIELL <http://osiell.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
import datetime import datetime
import logging import logging

3
base_user_role/models/user.py

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2014 ABF OSIELL <http://osiell.com> # Copyright 2014 ABF OSIELL <http://osiell.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
from odoo import api, fields, models from odoo import api, fields, models

3
base_user_role/tests/test_user_role.py

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2014 ABF OSIELL <http://osiell.com> # Copyright 2014 ABF OSIELL <http://osiell.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
import datetime import datetime

3
base_user_role/views/role.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 ABF OSIELL <http://osiell.com> <!-- Copyright 2014 ABF OSIELL <http://osiell.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo> <odoo>
<record id="view_res_users_role_form" model="ir.ui.view"> <record id="view_res_users_role_form" model="ir.ui.view">

3
base_user_role/views/user.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 ABF OSIELL <http://osiell.com> <!-- Copyright 2014 ABF OSIELL <http://osiell.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo> <odoo>
<record id="view_res_users_form_inherit" model="ir.ui.view"> <record id="view_res_users_form_inherit" model="ir.ui.view">

Loading…
Cancel
Save