Skip to content

Commit

Permalink
Merge pull request #171 from gisce/62583_fix_dependencies_order
Browse files Browse the repository at this point in the history
Corregir l'ordre de les dependències
  • Loading branch information
lcbautista authored Sep 2, 2024
2 parents 860192f + d314712 commit 5fcaf6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
3 changes: 3 additions & 0 deletions poweremail_mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ def create(self, cursor, user, vals, context=None):
return res_id

_columns = {
'template_id': fields.many2one(
'poweremail.templates', 'Template', readonly=True,
),
'create_date': fields.datetime('Created date', readonly=True),
'write_date': fields.datetime('Date modified', readonly=True),
'pem_from':fields.char(
Expand Down
15 changes: 1 addition & 14 deletions poweremail_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
import tools
import report
import pooler
from .poweremail_mailbox import _priority_selection
from .poweremail_core import get_email_default_lang
from .poweremail_core import get_email_default_lang, _priority_selection
from .utils import Localizer


Expand Down Expand Up @@ -1217,18 +1216,6 @@ def remove_action_reference(self, cursor, uid, ids, context):
poweremail_templates()


class PoweremailMailbox(osv.osv):
_inherit = 'poweremail.mailbox'
_columns = {
'template_id': fields.many2one(
'poweremail.templates', 'Template', readonly=True,
),
}


PoweremailMailbox()


class poweremail_template_attachment(osv.osv):

_name = 'poweremail.template.attachment'
Expand Down

0 comments on commit 5fcaf6b

Please sign in to comment.