Browse Source
Merge pull request #108 from dbo-odoo/10.0-mig-mail_tracking
Merge pull request #108 from dbo-odoo/10.0-mig-mail_tracking
[MIG] mail_tracking: Migrated to 10.0pull/147/head
Pedro M. Baeza
8 years ago
committed by
GitHub
16 changed files with 248 additions and 213 deletions
-
2mail_tracking/README.rst
-
5mail_tracking/__manifest__.py
-
85mail_tracking/controllers/main.py
-
16mail_tracking/data/tracking_data.xml
-
2mail_tracking/models/ir_mail_server.py
-
5mail_tracking/models/mail_mail.py
-
7mail_tracking/models/mail_message.py
-
139mail_tracking/models/mail_tracking_email.py
-
7mail_tracking/models/mail_tracking_event.py
-
55mail_tracking/models/res_partner.py
-
2mail_tracking/security/ir.model.access.csv
-
16mail_tracking/security/mail_tracking_email_security.xml
-
3mail_tracking/static/src/js/mail_tracking.js
-
80mail_tracking/tests/test_mail_tracking.py
-
22mail_tracking/views/assets.xml
-
15mail_tracking/views/res_partner_view.xml
@ -1,13 +1,9 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<record forcecreate="True" id="decimal_tracking_timestamp" model="decimal.precision"> |
|||
<field name="name">MailTracking Timestamp</field> |
|||
<field name="digits">6</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<record forcecreate="True" id="decimal_tracking_timestamp" model="decimal.precision"> |
|||
<field name="name">MailTracking Timestamp</field> |
|||
<field name="digits">6</field> |
|||
</record> |
|||
</odoo> |
@ -1,4 +1,6 @@ |
|||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" |
|||
"access_mail_tracking_email_group_public","mail_tracking_email group_public","model_mail_tracking_email","base.group_public",1,0,0,0 |
|||
"access_mail_tracking_email_group_portal","mail_tracking_email group_portal","model_mail_tracking_email","base.group_portal",1,0,0,0 |
|||
"access_mail_tracking_email_group_user","mail_tracking_email group_user","model_mail_tracking_email","base.group_user",1,0,0,0 |
|||
"access_mail_tracking_event_group_user","mail_tracking_event group_user","model_mail_tracking_event","base.group_user",1,0,0,0 |
|||
"access_mail_tracking_email_group_system","mail_tracking_email group_system","model_mail_tracking_email","base.group_system",1,1,1,1 |
|||
|
@ -0,0 +1,16 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> |
|||
<odoo> |
|||
|
|||
<record model="ir.rule" id="mail_tracking_email_portal_public_rule"> |
|||
<field name="name">mail_tracking_email: portal/public: read access on my email trackings</field> |
|||
<field name="model_id" ref="model_mail_tracking_email"/> |
|||
<field name="domain_force">[('partner_id', '=', user.partner_id.id)]</field> |
|||
<field name="groups" eval="[(4, ref('base.group_portal')), (4, ref('base.group_public'))]"/> |
|||
<field name="perm_create" eval="False"/> |
|||
<field name="perm_unlink" eval="False"/> |
|||
<field name="perm_write" eval="False"/> |
|||
</record> |
|||
|
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue