Skip to content

Commit

Permalink
[MIG] lighting_reporting_attachment: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KNVx authored and eantones committed Mar 25, 2024
1 parent c3ba2e3 commit ee860ea
Show file tree
Hide file tree
Showing 12 changed files with 469 additions and 38 deletions.
54 changes: 43 additions & 11 deletions lighting_reporting_attachment/README.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,61 @@
.. 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

=============================
Lighting Reporting Attachment
=============================

* Enables the option to use a selected attachments as a product datasheet
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d9ceaf4c14741aa2c3256348f2b75220378fbe8d589864b68d3fbe24baee06f8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-NuoBiT%2Flighting--vertical-lightgray.png?logo=github
:target: https://github.com/NuoBiT/lighting-vertical/tree/16.0/lighting_reporting_attachment
:alt: NuoBiT/lighting-vertical

|badge1| |badge2| |badge3|

Enables the option to use a selected attachments as a product datasheet

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/nuobit/odoo-addons/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Bugs are tracked on `GitHub Issues <https://github.com/NuoBiT/lighting-vertical/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/NuoBiT/lighting-vertical/issues/new?body=module:%20lighting_reporting_attachment%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* NuoBiT Solutions SL

Contributors
------------
~~~~~~~~~~~~

* Eric Antones <eantones@nuobit.com>
* Kilian Niubo <kniubo@nuobit.com>

Maintainers
~~~~~~~~~~~

This module is part of the `NuoBiT/lighting-vertical <https://github.com/NuoBiT/lighting-vertical/tree/16.0/lighting_reporting_attachment>`_ project on GitHub.


You are welcome to contribute.
5 changes: 0 additions & 5 deletions lighting_reporting_attachment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import models

from . import controllers
8 changes: 3 additions & 5 deletions lighting_reporting_attachment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT Solutions - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Lighting Reporting Attachment",
"description": """* Enables the option to use a selected attachments as a product datasheet""",
"version": "11.0.1.0.1",
"author": "NuoBiT Solutions, S.L., Eric Antones",
"version": "16.0.1.0.0",
"author": "NuoBiT Solutions SL",
"license": "AGPL-3",
"category": "Custom",
"website": "https://github.com/NuoBiT/lighting-vertical",
Expand Down
4 changes: 0 additions & 4 deletions lighting_reporting_attachment/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import main
3 changes: 1 addition & 2 deletions lighting_reporting_attachment/controllers/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT Solutions - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

import base64
Expand Down
4 changes: 0 additions & 4 deletions lighting_reporting_attachment/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import product_attachment
5 changes: 2 additions & 3 deletions lighting_reporting_attachment/models/product_attachment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT Solutions - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields, models
Expand All @@ -9,5 +8,5 @@ class LightingAttachment(models.Model):
_inherit = "lighting.attachment"

use_as_product_datasheet = fields.Boolean(
string="Use as a product datasheet", default=False
default=False,
)
2 changes: 2 additions & 0 deletions lighting_reporting_attachment/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Eric Antones <eantones@nuobit.com>
* Kilian Niubo <kniubo@nuobit.com>
1 change: 1 addition & 0 deletions lighting_reporting_attachment/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enables the option to use a selected attachments as a product datasheet
Loading

0 comments on commit ee860ea

Please sign in to comment.