← Back to team overview

openerp-community team mailing list archive

Re: Clearing the localStorage in the POS ?

 

Sure, but my question was, how can he do that?

Clearing the cache has no effect on the LocalStorage. I won't tell the user to install firebug and paste localStorage.clear() in the javascript console. Or should I ?

Le 20/06/2013 11:29, Baskhuu Jacara a écrit :
In that case users should clear browser caches and offline datas.


On Thu, Jun 20, 2013 at 4:25 PM, Christophe Combelles <ccomb@xxxxxxx <mailto:ccomb@xxxxxxx>> wrote:

    Is there something in the POS user interface to clear the offline sales?
     I mean letting the user do localStorage.clear() himself but without
    needing firebug or such

    Usecase: if I reset the OpenERP database but I still have pending sales in
    the POS, then the POS will remain red forever because it cannot transfer
    the sales back to a new db (because of wrong ids).

    thanks in advance,

    Christophe

    _______________________________________________
    Mailing list: https://launchpad.net/~openerp-community
    <https://launchpad.net/%7Eopenerp-community>
    Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
    <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~openerp-community
    <https://launchpad.net/%7Eopenerp-community>
    More help   : https://help.launchpad.net/ListHelp




--
Хүндэтгэсэн
*Басхүү.Л*
*
*
Хувь заяа бол магадлалын асуудал биш. Энэ бол сонголт. Түүнийг хүлээх биш, бүтээх учиртай.
Хэрэв боломж хаалгыг чинь тогшихгүй байвал эхлээд хаалгаа барь.


Follow ups

References