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'))] + +