Начальное наполнение
This commit is contained in:
parent
d20d24bf45
commit
5eaf575555
2
__init__.py
Normal file
2
__init__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
17
__manifest__.py
Normal file
17
__manifest__.py
Normal file
@ -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',
|
||||||
|
}
|
15
i18n/sale_sms.pot
Normal file
15
i18n/sale_sms.pot
Normal file
@ -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"
|
2
security/ir.model.access.csv
Normal file
2
security/ir.model.access.csv
Normal file
@ -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
|
|
9
security/security.xml
Normal file
9
security/security.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record model="ir.rule" id="ir_rule_sms_template_so_sale_manager">
|
||||||
|
<field name="name">SMS Template: sale manager CRUD on sale orders</field>
|
||||||
|
<field name="model_id" ref="sms.model_sms_template"/>
|
||||||
|
<field name="groups" eval="[(4, ref('sales_team.group_sale_manager'))]"/>
|
||||||
|
<field name="domain_force">[('model_id.model', 'in', ('sale.order', 'res.partner'))]</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
Loading…
x
Reference in New Issue
Block a user