From 5eaf57555523c5f2a6a24ad81b45ec9880b0bce5 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 19 Feb 2025 14:17:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BD=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 2 ++ __manifest__.py | 17 +++++++++++++++++ i18n/sale_sms.pot | 15 +++++++++++++++ security/ir.model.access.csv | 2 ++ security/security.xml | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 __init__.py create mode 100644 __manifest__.py create mode 100644 i18n/sale_sms.pot create mode 100644 security/ir.model.access.csv create mode 100644 security/security.xml diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..67dee8c --- /dev/null +++ b/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..856c350 --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': "Sale - SMS", + 'summary': "Ease SMS integration with sales capabilities", + 'description': "Ease SMS integration with sales capabilities", + 'category': 'Hidden', + 'version': '1.0', + 'depends': ['sale', 'sms'], + 'data': [ + 'security/ir.model.access.csv', + 'security/security.xml', + ], + 'auto_install': True, + 'license': 'LGPL-3', +} diff --git a/i18n/sale_sms.pot b/i18n/sale_sms.pot new file mode 100644 index 0000000..06d842d --- /dev/null +++ b/i18n/sale_sms.pot @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 21:55+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..f94b6f7 --- /dev/null +++ b/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sms_template_sale_manager,access.sms.template.sale.manager,sms.model_sms_template,sales_team.group_sale_manager,1,1,1,1 diff --git a/security/security.xml b/security/security.xml new file mode 100644 index 0000000..4c95161 --- /dev/null +++ b/security/security.xml @@ -0,0 +1,9 @@ + + + + SMS Template: sale manager CRUD on sale orders + + + [('model_id.model', 'in', ('sale.order', 'res.partner'))] + +