Skip to content

Commit 9d09641

Browse files
committed
BeautifulSoup deactivated, using Regular expression instead. Realtionship between all menu connected. End date of task automatic changed to current day when the stage is done.
1 parent eaf66c7 commit 9d09641

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

project_scrum/project_scrum.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
from openerp import models, fields, api, _
4-
from bs4 import BeautifulSoup
4+
#from bs4 import BeautifulSoup
55
import openerp.tools
66
import re
77
import time
@@ -102,7 +102,6 @@ class project_user_stories(models.Model):
102102

103103
@api.one
104104
def _conv_html2text(self): # method that return a short text from description of user story
105-
#self.description_short = re.sub('<.*>', ' ', self.description)[:7]
106105
for d in self:
107106
d.description_short = re.sub('<.*>', ' ', d.description or '')
108107
if len(d.description_short)>=150:

0 commit comments

Comments
 (0)