Browse Source

Mar 14 : [UPDT] Module Updated 'chatter_attachments_manager'

pull/267/merge
RisvanaCybro 1 year ago
parent
commit
73ed5a2a63
  1. 10
      chatter_attachments_manager/README.rst
  2. 24
      chatter_attachments_manager/__init__.py
  3. 26
      chatter_attachments_manager/__manifest__.py
  4. 24
      chatter_attachments_manager/controllers/__init__.py
  5. 24
      chatter_attachments_manager/controllers/chatter_attachment_manager.py
  6. 24
      chatter_attachments_manager/models/__init__.py
  7. 24
      chatter_attachments_manager/models/ir_attachment.py
  8. 24
      chatter_attachments_manager/models/ir_attachment_tag.py

10
chatter_attachments_manager/README.rst

@ -1,6 +1,6 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg .. image:: https://img.shields.io/badge/licence-OPL--1-red.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html :target: https://www.odoo.com/documentation/16.0/legal/licenses.html#odoo-apps
:alt: License: AGPL-3 :alt: License: OPL-1
Chatter Attachment Manager Chatter Attachment Manager
========================== ==========================
@ -12,8 +12,8 @@ Configuration
License License
------- -------
Affero General Public License v3.0 (AGPL v3) Odoo Proprietary License v1.0 (OPL-1)
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) (https://www.odoo.com/documentation/16.0/legal/licenses.html#odoo-apps)
Company Company
------- -------

24
chatter_attachments_manager/__init__.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from . import controllers from . import controllers

26
chatter_attachments_manager/__manifest__.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
{ {
@ -64,7 +64,7 @@
'images': [ 'images': [
'static/description/banner.jpg', 'static/description/banner.jpg',
], ],
'license': 'AGPL-3', 'license': 'OPL-1',
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
'application': False 'application': False

24
chatter_attachments_manager/controllers/__init__.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from . import chatter_attachment_manager from . import chatter_attachment_manager

24
chatter_attachments_manager/controllers/chatter_attachment_manager.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from datetime import datetime from datetime import datetime

24
chatter_attachments_manager/models/__init__.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from . import ir_attachment from . import ir_attachment

24
chatter_attachments_manager/models/ir_attachment.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from io import BytesIO from io import BytesIO

24
chatter_attachments_manager/models/ir_attachment_tag.py

@ -3,20 +3,20 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anagha S (odoo@cybrosys.com) # Author: Cybrosys Technologies(odoo@cybrosys.com)
# #
# You can modify it under the terms of the GNU AFFERO # This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
# #
# This program is distributed in the hope that it will be useful, # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# but WITHOUT ANY WARRANTY; without even the implied warranty of # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# (AGPL v3) along with this program. # DEALINGS IN THE SOFTWARE.
# If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################### ###############################################################################
from random import randint from random import randint

Loading…
Cancel
Save