POS payment wrong date
Bug #1104099 reported by
Ignas Karpiejus @ hbee
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 |
Bug Description
Hello,
we got really strange behavior with pos payment dates, sometimes it showed correct date, but after some time it got off by couple of days. Symptoms are similar to this old bug - https:/
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-1104099-hip
Ready for review
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 24 lines (+2/-2)2 files modifiedpoint_of_sale/point_of_sale.py (+1/-1)
point_of_sale/wizard/pos_payment.py (+1/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Ignas,
Thanks for the pointing out this, This will pass server's start date on Bank statement instead of System's date.
Your fix looks good, but same problem exist when done the payment done from touch scrren ui. Please check the create_from_ui method on point_of_sale.py and see 'payment_date': time.strftime( '%Y-%m- %d %H:%M:%S') which is also same as your suggested patch.
Thank you!