← Back to team overview

openerp-community team mailing list archive

Re: Clearing the localStorage in the POS ?

 

from my point of view this should be a fonctionnality inside the POS.

If it isn't impleted it should be done at least to handle the case you
described.


2013/6/20 Christophe Combelles <ccomb@xxxxxxx>

>  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>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
>> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
>  --
> Хүндэтгэсэн
> *Басхүү.Л*
> *
> *
> Хувь заяа бол магадлалын асуудал биш. Энэ бол сонголт. Түүнийг хүлээх биш,
> бүтээх учиртай.
> Хэрэв боломж хаалгыг чинь тогшихгүй байвал эхлээд хаалгаа барь.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References