[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #43048] Assertion Error with datetime, it does not pos

From: oscar alvarez
Subject: [Health-dev] [bug #43048] Assertion Error with datetime, it does not possible install health module
Date: Sun, 24 Aug 2014 15:26:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #3, bug #43048 (project health):

The field activation_date, require date type in this model:

    activation_date = fields.Date(
        'Activation date', help='Date of activation of the party')

But with this simple test, you can see that fail, default method.

line 24 file:
>>> from datetime import datetime, timedelta

line 300 file:
datetime.datetime(2014, 8, 24, 10, 18, 28, 424916)

    def default_activation_date():

The problem is that return datetime not date as the field


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]