Joren Van Onder
c0817016d2
[FIX] point_of_sale: fix country selection on touch events
...
The POS uses FastClick to circumvent the 300ms touch delay implemented
by browsers before a click event is fired. (Although this has since been
removed, probably we can get rid of this in the POS at some point as
well [1]).
The way FastClick works is simple: immediately fire a synthetic event
and block the one fired by the browser 300ms later.
Recently, browsers have started to only trust native events to trigger
default actions [2][3]. Chrome in particular has started not trusting
synthetic events since v53.
FastClick provides a solution for this with the needsclick class. It
will not interfere with events triggered on elements with this class.
[1] https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away
[2] https://w3c.github.io/uievents/#trusted-events
[3] https://www.chromestatus.com/features/5718803933560832
Fixes #14886
2017-02-02 09:46:48 -08:00
Joren Van Onder
d043fd03ce
[FIX] point_of_sale: display correct uom on weighable products
...
Everything's displayed fine on orderlines with weighable products, this
only affected the small blue labels on the products.
opw-674264
2016-04-20 11:09:07 +02:00
Joren Van Onder
9fa53b7ee7
[FIX] point_of_sale: adapt to Chrome 50's new handling of cell heights
...
Chrome 50 treats percent-height divs inside of auto-height cells as
auto [1]. So from now on it's important that an explicit 'height: 100%' CSS
property is set on parent tds, otherwise you'll end up with elements
with a height of 0.
An extra difficulty is that this new height property on
subwindow-container will result in the element being as high as his
parent table. So the collapsed trick doesn't work anymore in the
customer list.
This has to be done conditionally. The proposed workaround of adding
100% height to parents of affected elements causes issues in IE/Edge
because the effect of adding a height in percent to a table-{cell,row}
element is not defined by CSS [2].
DO NOT FORWARD-PORT!
[1] 8876584335
[2] http://stackoverflow.com/a/27384730
2016-04-19 08:53:10 +02:00
Joren Van Onder
dfb0e4b8f1
[FIX] point_of_sale: subtotal non ESC/POS receipt shouldn't include tax
...
On the PosTicket receipt (non-ESC/POS receipt) we have a line titled
subtotal. The subtotal was calculated with getSubtotal(). The issue is
that getSubtotal() ends up just using the price of the product. This
doesn't make sense when taxes are included in the price, because then
the subtotal will contain taxes.
It's not an issue on the ESC/POS receipt, because there we don't show
the subtotal at all if we only have included taxes.
fixes #10137
opw-660266
2015-12-23 14:50:15 +01:00
Nicolas Lempereur
96f0c28b3d
[FIX] point_of_sale: unknown customer translation
...
The string "Unknown Customer" in the point_of_sale could not be
translated.
opw-645977
2015-07-28 17:17:04 +02:00
Goffin Simon
716fec913a
[FIX] point of sale: Customer's country
...
When editing a customer, the actual country of the customer must be shown.
opw:639863
2015-05-28 08:18:21 +02:00
Goffin Simon
5a10903e9b
[FIX] point_of_sale: float format
...
The POS must adapt the float format according to
the language of the user. Inspired from 1da5d89ba3
opw:639567
2015-05-21 09:02:13 +02:00
Frederic van der Essen
95e79c9f6f
[FIX] point_of_sale: use 'Product Price' decimal precision for product prices
2014-11-11 19:32:52 +01:00
Frederic van der Essen
fade5ab2c2
[FIX] point_of_sale: decimal precision was hardcoded to 2 in various places
2014-11-11 17:41:20 +01:00
Niels Huylebroeck
f0f5a29606
[FIX] point_of_sale: printing of tax name on hardware was missing data 'name', also made the regular print use the same value for consistency.
2014-10-09 18:38:46 +02:00
Frederic van der Essen
5377a9e2d6
[IMP] point_of_sale: partner edition ! -> create partners, edit partners, assign them barcodes, take pictures, etc.
2014-09-17 16:57:34 +02:00
Frederic van der Essen
ac4f7a14b9
[WIP] point_of_sale: qweb template for partner edition
2014-09-17 16:57:34 +02:00
Frederic van der Essen
dc8e18ac04
[WIP] point_of_sale: refactor error popups in preparation of a multicompany-screwup prevention error popup
2014-09-08 18:06:51 +02:00
Olivier Dony
e11eddf753
[MERGE] Forward-port of saas-5 up to 20cc18d
2014-08-13 20:46:47 +02:00
Denis Ledoux
fe83c11301
[MERGE] forward port of branch saas-4 up to b49755b
...
The forward port of the fix 3609ba10f2
will be done separately, as the mrp scheduler has been completely refactored from saas-5.
Conflicts:
addons/l10n_be_coda/wizard/account_coda_import.py
addons/point_of_sale/static/src/xml/pos.xml
addons/procurement/schedulers.py
2014-08-13 10:45:36 +02:00
Denis Ledoux
b49755b545
[MERGE] forward port of branch saas-3 up to 591326c
2014-08-13 10:29:14 +02:00
Denis Ledoux
591326c54e
[FIX] pos: the widget.pos.cashier is not always defined
2014-08-13 10:20:03 +02:00
Frederic van der Essen
c40c9734f1
[FIX] point_of_sale: support for variants in the pos, one simply needed to use the display_name which contains the product variant info.
...
Conflicts:
addons/point_of_sale/static/src/js/models.js
2014-08-11 17:17:12 +02:00
Frederic van der Essen
7e18563bdb
[FIX] point_of_sale: partners should be searchable by phone or mobile number
2014-08-11 17:17:12 +02:00
Denis Ledoux
ae65be2b2a
[MERGE] forward port of branch saas-5 up to 0739bc4
2014-08-11 15:58:02 +02:00
Denis Ledoux
7c647ec876
[MERGE] forward port of branch saas-4 up to 0a1e4a0
2014-08-08 17:27:29 +02:00
Denis Ledoux
0a1e4a05b2
[MERGE] forward port of branch saas-3 up to 81a902a
2014-08-08 17:06:39 +02:00
Denis Ledoux
81a902a07d
[MERGE] forward port of branch 7.0 up to 5f696ba
2014-08-08 16:18:35 +02:00
Denis Ledoux
5f696ba86c
[FIX] pos: display cashier name on receipt, not the user
2014-08-08 16:05:32 +02:00
Frederic van der Essen
ad0f710fe7
[IMP] point_of_sale: add a debug option to delete all unsent orders
2014-08-05 14:07:23 +02:00
Frederic van der Essen
584a78a82b
[IMP] point_of_sale: add debug popup that displays unsent order data, for when localStorage is hard to inspect
...
Conflicts:
addons/point_of_sale/static/src/js/widgets.js
2014-08-05 14:07:14 +02:00
Frederic van der Essen
85d697670c
[IMP] point_of_sale: show traceback popup when there is a server error when posting orders (which should NEVER happen !)
2014-08-05 14:04:50 +02:00
Frederic van der Essen
cab5fdf4f3
[FIX] point_of_sale: finally made the webclient instanciate the pos
2014-07-01 16:47:37 +02:00
Frederic van der Essen
c4049bc356
[WIP] removing incomplete fidelity points feature for the v8.0 release
2014-07-01 13:02:02 +02:00
Dimitri del Marmol
b021330f0e
[MERGE] Bzr branch lp:~openerp-usertesting/openobject-addons/trunk-restaurant-wip-fva
2014-06-13 16:19:05 +02:00
Sylvain LE GAL
5d8927e2b1
[FIX] Issues #167 . Remove obsolete shop reference
2014-05-22 22:55:50 +02:00
Josse Colpaert
8b84615de1
[MERGE] Merge from trunk test
...
bzr revid: jco@openerp.com-20140502130352-c3h1fk332eqyd78b
2014-05-02 15:03:52 +02:00
Frédéric van der Essen
3f0a8e8931
[IMP] point_of_sale, hw_scale: various small fixes and improvements for the scale module
...
bzr revid: fva@openerp.com-20140425122220-q7rw1dve8bgs25as
2014-04-25 14:22:20 +02:00
Quentin (OpenERP)
ff4726ea7d
[MERGE] merged trunk up to revision 9281
...
bzr revid: qdp-launchpad@openerp.com-20140403081427-7xpn57wdfv08v2al
2014-04-03 10:14:27 +02:00
Quentin (OpenERP)
9989113946
[MERGE] merge branch that fixes point of sale accordingly to changes made in stock
...
bzr revid: qdp-launchpad@openerp.com-20140328145710-ibzo59dv1p06jbg3
2014-03-28 15:57:10 +01:00
Frédéric van der Essen
4745099706
[FIX] hw_escops, point_of_sale: backporting fixes from the pos-restaurant branch
...
bzr revid: fva@openerp.com-20140328134401-ao85rr8b29nqg626
2014-03-28 14:44:01 +01:00
Josse Colpaert
d4eda78813
[IMP] Put company_id on pos config + remove pos config name
...
bzr revid: jco@openerp.com-20140324120747-v3mt7pwgqylekshg
2014-03-24 13:07:47 +01:00
Frédéric van der Essen
a4afb910e9
[IMP] hw_escpos / point_of_sale: print receipt with an xml template
...
bzr revid: fva@openerp.com-20140320164530-odpeuf1igh7wkrms
2014-03-20 17:45:30 +01:00
Frédéric van der Essen
008e3c1ab0
[FIX] point_of_sale: receipt header & footer could overflow outside of ticket
...
bzr revid: fva@openerp.com-20140206143648-z1bsknelzznf0jqj
2014-02-06 15:36:48 +01:00
Frédéric van der Essen
1e09d3b3f5
[IMP] point_of_sale: Realtime printer & scanner online status
...
bzr revid: fva@openerp.com-20140126215528-q32v2q8keh6m0ufo
2014-01-26 22:55:28 +01:00
Frédéric van der Essen
b0abc338d2
[IMP] point_of_sale: better feedback on network and proxy connectivity + removed pos settings for obsolete features + improved proxy settings
...
bzr revid: fva@openerp.com-20140117175830-himux7xmaopw9yia
2014-01-17 18:58:30 +01:00
Frédéric van der Essen
1353e44bb3
[IMP] point_of_sale: less confusing synchronisation indicator
...
bzr revid: fva@openerp.com-20140116172846-7lyz50jr69crbxsn
2014-01-16 18:28:46 +01:00
Frédéric van der Essen
a97a587fad
[IMP] point_of_sale: posbox automatic discovery
...
bzr revid: fva@openerp.com-20140110171746-286285ds696d5kby
2014-01-10 18:17:46 +01:00
Frédéric van der Essen
b9a245b22a
[IMP] point_of_sale: proper dom cache implementation, removed Imagecache as it is now obsolete, and some minor css fixes
...
bzr revid: fva@openerp.com-20140106171532-bue38i0myofyt3ww
2014-01-06 18:15:32 +01:00
Frédéric van der Essen
643bb8566c
[IMP] point_of_sale: detailed tax report on receipt
...
bzr revid: fva@openerp.com-20140106135119-cnhopx3nie7f0r8h
2014-01-06 14:51:19 +01:00
Frédéric van der Essen
23adb2214a
[IMP] point_of_sale: receipt footer & header in web printing
...
bzr revid: fva@openerp.com-20140103154939-jm6rddipomf5d2wy
2014-01-03 16:49:39 +01:00
Frédéric van der Essen
68f8dd7e23
[FIX] point_of_sale: activate the font 'Lato' & prevent rubberbanding on application body when possible
...
bzr revid: fva@openerp.com-20131217151550-i8wd88qby6gjaclj
2013-12-17 16:15:50 +01:00
Frédéric van der Essen
e4ab24115a
[FIX] point_of_sale: css fixes for firefox
...
bzr revid: fva@openerp.com-20131217110900-e90yywg8yr0ey4bh
2013-12-17 12:09:00 +01:00
Frédéric van der Essen
e1c4c930a8
[FIX] point_of_sale: crash on scale screen
...
bzr revid: fva@openerp.com-20131216152113-3y2s2fva3wvguoxt
2013-12-16 16:21:13 +01:00
Frédéric van der Essen
f8777d18db
[WIP] point_of_sale: removing useless backbone models & making browser print work again
...
bzr revid: fva@openerp.com-20131216143559-6unghp0sza9ihs4r
2013-12-16 15:35:59 +01:00