Skip to content

Commit

Permalink
Merge pull request #170 from gisce/ampliar_limit_emails
Browse files Browse the repository at this point in the history
Ampliar limite de receptores
  • Loading branch information
eberloso authored Aug 21, 2024
2 parents f5c2820 + 4c7bbfe commit 860192f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions migrations/5.0.23.12.0/post-0003_ampliar_limit_pem_to.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# coding=utf-8
import logging
from tqdm import tqdm
from tools import config

logger = logging.getLogger('openerp.migration.' + __name__)


def up(cursor, installed_version):
if not installed_version:
return

if config.updating_all:
return

cursor.execute("alter table poweremail_mailbox alter column pem_to type character varying(800);")


def down(cursor, installed_version):
pass


migrate = up
2 changes: 1 addition & 1 deletion poweremail_mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def create(self, cursor, user, vals, context=None):
size=64),
'pem_to':fields.char(
'Recepient (To)',
size=250,),
size=800,),
'pem_cc':fields.char(
' CC',
size=250),
Expand Down

0 comments on commit 860192f

Please sign in to comment.