Account Invoice : default date is filled with UTC date (should be users' context date)

Bug #1073022 reported by Mario Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

When an invoice is created, if date_invoice is not set by user it will be filled with UTC date from server, instead of the user's current date (based on context_tz)

Procedure "action_move_create" on account_invoice.py is calling "context_today" with empty "context" instead of correct context with user's time zone...

Regards,
-Mario

Related branches

affects: openobject-addons → ubuntu
Changed in ubuntu:
status: New → Confirmed
Amit Parik (amit-parik)
affects: ubuntu → openobject-addons
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Mario,

 I have checked your issue at my end and I have faced same problem with UTC. The producible steps are as follow :
1 . I have set UTC time in my system.
2. Then I have create invoice, without fill date_invoice field and validate it ,the date display in UTC time.
So , I am confirming this issue.

Thanks For reporting.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :
Revision history for this message
Jalpesh Patel(OpenERP) (pja-openerp) wrote :

Hello Mario,

I have checked this issue on my end it is working fine on rev for
web: 3337,
addons: 7904,
Server: 4523.

Thanks!
pja

Revision history for this message
Mario Arias (the-clone-master) wrote :

Hi Jalpesh,

"action_move_create" on account_invoice.py is still the same on trunk. I checked and the problem is still there... Same for 6.1

Regards,
-Mario

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ajay Chauhan(OpenERP) (cha-tinyerp) wrote :

Hello,

 This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-1073022-cha with following details
    Revision no : 8308
    Revision id : <email address hidden>

Thanks,
Ajay Chauhan

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.