Browse Source

Steps for 11.0 migration

We are going straight to 12.0, but this commit includes the changes for
the 11.0 accorging to the wiki [1]

[1] https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-11.0
pull/342/head
Leonardo Pistone 6 years ago
committed by Leonardo Pistone
parent
commit
c956db1877
  1. 2
      mail_check_mailbox_size/__init__.py
  2. 3
      mail_check_mailbox_size/__manifest__.py
  3. 5
      mail_check_mailbox_size/data/cron_data.xml
  4. 2
      mail_check_mailbox_size/models/__init__.py
  5. 2
      mail_check_mailbox_size/models/fetchmail.py

2
mail_check_mailbox_size/__init__.py

@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import models

3
mail_check_mailbox_size/__manifest__.py

@ -1,11 +1,10 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Lorenzo Battistini
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Check mailbox size",
"summary": "Send an email summarizing the current space used by a mailbox",
"version": "10.0.1.0.0",
"version": "11.0.1.0.0",
"development_status": "Beta",
"website": "https://github.com/OCA/social",
"author": "Agile Business Group, Odoo Community Association (OCA)",

5
mail_check_mailbox_size/data/cron_data.xml

@ -7,9 +7,8 @@
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model">fetchmail.server</field>
<field name="function">_check_mailboxes_size_cron</field>
<field name="args">()</field>
<field name="model_id" ref="fetchmail.model_fetchmail_server"/>
<field name="code">model._check_mailboxes_size_cron()</field>
<!-- Active flag is set on fetchmail_server.create/write -->
<field name="active" eval="False"/>
</record>

2
mail_check_mailbox_size/models/__init__.py

@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import fetchmail

2
mail_check_mailbox_size/models/fetchmail.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import logging
from odoo import models, fields, api, _

Loading…
Cancel
Save