← Back to team overview

openerp-india team mailing list archive

[Bug 1104099] Re: POS payment wrong date

 

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!

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1104099

Title:
  POS payment wrong date

Status in OpenERP Addons (modules):
  Confirmed

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://bugs.launchpad.net
  /openobject-addons/+bug/761460 but in different part -
  point_of_sale/wizard/pos_payment.py line 129, not really sure if it's
  the case, still need to make some tests, but if I understand correctly
  every date in _defaults should be set with lambda function? I'm adding
  patch for the fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1104099/+subscriptions


References