Alexis de Lattre
cee6ed33ac
[IMP] point_of_sale: add 'name' of res.currency in pre-loaded fields
...
Fixes #7367
2015-07-02 10:57:51 +02:00
Goffin Simon
56d832dbc5
[FIX] point of sale: rounding globally
...
The price without taxe must be rounded on each line like 'price_subtotal' in "sale.order.line"
with digits_compute= dp.get_precision('Account').
The total taxes included must be the sum of the rounded total without taxe and
the rounded taxes like in "sale.order" in _amount_all.
opw:643254
2015-06-29 09:02:10 +02:00
Tam Vu
6cb3fe43ed
[FIX] point of sale: order undefined
...
If the line is linked to an order, this line must be removed in this order.
2015-06-26 14:02:59 +02:00
Stéphane Bidoul (ACSONE)
4213eebe2e
[FIX] point_of_sale: correctly split workds in product search
...
The JS replace method, unlike python's, only replaces the first occurence
unless a search pattern is provided.
Closes #6302
2015-06-26 08:51:25 +02:00
Goffin Simon
e208fe51db
[FIX] point_of_sale: precision
...
Regression introduced by 5a10903
.
2015-06-11 08:45:17 +02:00
Frédéric van der Essen
19eda68547
[IMP] web, point_of_sale: basic implementation of the cordova integration.
...
This time without a new js file
2015-05-29 15:33:13 +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
Frédéric van der Essen
da378722cc
Revert "[IMP] web, point_of_sale: basic implementation of the cordova integration."
...
This reverts commit f7a1ac8b06
.
The commit introduced a change that required a database update,
which should not be required in a stable version.
2015-05-27 13:46:26 +02:00
Frédéric van der Essen
f7a1ac8b06
[IMP] web, point_of_sale: basic implementation of the cordova integration.
2015-05-27 11:59:13 +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
Goffin Simon
c5a613840f
[FIX] point of sale: function is_paid:
...
When rounding globally, the function compute_all in charge to compute the taxes for
each line uses a very high currency rounding to avoid rounding per line.
The round must be done on the sum of each total amount line with taxes. To validate a payment with the pos,
the function is_paid verified that this sum is the same that the amount just paid.
Inspired from "sale.order.line", the precision of 'price_unit' and 'price_subtotal' in "pos.order.line"
must be taken from 'Product Price' to avoid rounding per line.
ps: we could not use the function get_all_prices to round globally because it used on every line.
Fixes #6681
Closes #6682
opw:639686
2015-05-19 09:41:51 +02:00
Denis Ledoux
6b72008c32
[FIX] point_of_sale: products search with ':' in products names
...
This is related to revision bb913d0
.
':' in product names are removed, to avoid issues when
searching products with ':' in their name.
JS replace method only replaces the first occurence, if the
needle isn't set as a regex with 'g', e.g. /':'/g
opw-634547
2015-05-06 14:04:34 +02:00
Goffin Simon
fc132665d7
[FIX] point of sale: Rounding method
...
By default, the point of sale awlways uses the rounding method per line.
But the accounting configuration allows to use the globally rounding method,
this is why the point of sale must consider this configuration.
Inspired from the compute_all of account.tax model within
addons/account/account.py.
opw:632537
2015-04-20 08:41:41 +02:00
Martin Trigaux
58a481329e
[FIX] point_of_sale: child taxes computation
...
The box "Tax on children" was ignored in the pos, leading to 100% taxes for these
taxes (as amount is 1.0 on these taxes).
Add child tax fields when loading the pos to be able to correctly compute
recusively the tax amount on children.
Courtesy of Jean-Nicolas Brunet
Fixes #1515 , lp:1231574, opw 622143
2015-04-16 09:33:53 +02:00
Frédéric van der Essen
12b6719423
Revert "[IMP] point_of_sale : display change amount after print if not 0"
...
This reverts commit 46ad2ac70f
.
2015-04-07 14:47:47 +02:00
Martin
46ad2ac70f
[IMP] point_of_sale : display change amount after print if not 0
2015-04-01 16:55:23 +02:00
Yenthe666
51ea2a3dde
[FIX] point_of_sale: missing translation for invoice button
...
Fixes #4863
2015-01-27 11:44:44 +01:00
Frédéric van der Essen
932257150b
[FIX] point_of_sale: scale debug was not working with an unplugged scale
2015-01-27 10:58:58 +01:00
Aaron Bohy
2a39214d2e
[FIX] File permission: remove unnecessary executable perm on files
...
Some .xml,.csv,.po,.woff,.ttf,.png,.eot,.svg had perm 755, provocating
'executable-not-elf-or-script' lintian warning for Debian packaging.
Set permission to 644 for those files.
Also remove unnecessary executable permissions on some .py:
-addons/l10n_fr_hr_payroll/report/fiche_paye.py
-addons/l10n_ro/res_partner.py
-addons/l10n_ro/__openerp__.py
-addons/l10n_ro/__init__.py
-addons/l10n_do/__openerp__.py
-addons/l10n_do/__init__.py
2015-01-23 11:11:27 +01:00
Frédéric van der Essen
aab3d9f4b4
[FIX] point_of_sale: use the same rounding sequence as the backend
...
Conflicts:
addons/point_of_sale/static/src/js/models.js
2014-12-26 17:52:06 +01:00
Frédéric van der Essen
4647f896a4
[FIX] point_of_sale: prevent negative bank payments
2014-12-26 17:50:07 +01:00
Frédéric Van der Essen
681c33aa11
Merge pull request #4027 from akretion/8.0-fix-4026-discount-barcode
...
[FIX] Fixes #4026 on discount barcode in POS
2014-12-24 16:33:58 +01:00
Frédéric van der Essen
c8000df710
[IMP] point_of_sale: add support for taxes included in base amount.
2014-12-18 14:59:18 +01:00
Frédéric van der Essen
34b539494e
[IMP] point_of_sale: access taxes via id for performance reasons
...
[IMP] point_of_sale: do not recompute taxes_by_id every time
2014-12-18 14:58:57 +01:00
Frédéric van der Essen
71ebd81229
[FIX] point_of_sale: (do not forward-port!) allow horizontal scrolling of the order list
2014-12-17 15:19:31 +01:00
Frédéric van der Essen
bb913d0a8f
[FIX] point_of_sale: the search in product or partners could crash if there were a number followed by a colon
2014-12-11 15:42:51 +01:00
Alexis de Lattre
80d4be0af9
[FIX] Fixes #4026 on discount barcode in POS
2014-12-03 22:14:18 +01:00
Frédéric van der Essen
d700c78c56
[FIX] point_of_sale: correctly handle various xmlrpc errors that appear in offline mode
2014-12-01 15:46:29 +01:00
Mario Arias Badila
d349723271
[point_of_sale] Domain functions to literals
...
Replaced domain functions with literals where there are only constants
2014-11-26 08:32:33 -06:00
Mario Arias Badila
9db0face13
POS is loading all partners, not only customers
...
Hi,
Adding domain to res.partner model, so POS only loads "customers"
2014-11-21 09:20:45 -06:00
Frederic van der Essen
60faccdcc3
[FIX] point_of_sale: remove a confusing partial implementation of UoS
2014-11-18 15:38:18 +01:00
Frederic van der Essen
d30103c29e
[FIX] point_of_sale: rounding error in discount computing + removing duplicated code
2014-11-13 16:07:52 +01:00
Frederic van der Essen
5d2ea60157
[FIX] point_of_sale: I see a chrome receipt and I want it painted black ;)
2014-11-13 12:03:32 +01: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
Frederic van der Essen
a2313b6311
[FIX] point_of_sale: correctly handle the rounding when the unit's rounding is set to zero
2014-11-11 16:18:27 +01:00
Frederic van der Essen
ccba67ed53
[FIX] point_of_sale: when loading models with a specified id, use read instead of search_read, to prevent inactive records from being skipped
2014-11-10 11:48:18 +01:00
Frederic van der Essen
1c1e069f7e
[IMP] point_of_sale: add a zero default margin when printing a receipt from the browser.
2014-11-06 16:03:37 +01:00
Frederic van der Essen
0ffa605e37
[IMP] point_of_sale: add product description and product sale description to the search engine
2014-11-05 21:20:17 +01:00
Frederic van der Essen
8b69395561
[FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen
2014-11-05 20:02:49 +01:00
Frederic van der Essen
b55cd571f5
[IMP] point_of_sale: show traceback when there is a posbox error
2014-11-04 23:11:07 +01:00
Christophe Simonis
262eb662de
[MERGE] forward port of branch 8.0 up to d80376a
2014-10-21 14:33:36 +02:00
Christophe Simonis
edc4b0b9bb
[FIX] {web,point_of_sale}: allow cross-origin access to company logo
2014-10-20 20:14:36 +02: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
717895be1a
[FIX] point_of_sale: prevent empty order creation as they are not accepted by the backend
2014-10-07 18:18:59 +02:00
Martin Trigaux
8843974d04
Forward port of branch saas-3 up to fc9fc3e
2014-10-06 15:52:23 +02:00
Denis Ledoux
cd6dba5257
[MERGE] forward port of branch 7.0 up to 9066da3
2014-10-03 12:13:07 +02:00
Denis Ledoux
9066da3369
[FIX] point_of_sale: do not display False as currency if symbol is not set
2014-10-03 12:10:16 +02:00
dhr-odoo
60699cd714
[FIX] point_of_sale: invoice not created in backend
...
Missing arguments that lead to the invoice not created in the backend (opw 609470).
2014-09-24 15:13:51 +02:00
Frederic van der Essen
31215c9bce
[IMP] point_of_sale: opening the cashbox only if paying with cash was problematic as you sometimes need to use the cashbox with bank payment methods such as ticket meals
2014-09-17 16:57:34 +02:00