Commit Graph
99161 Commits
Author SHA1 Message Date
Frédéric van der Essen 9d253eefa7 [IMP] point_of_sale: let user send tracebacks by email 2015-05-04 14:13:45 +02:00
Frédéric van der Essen fb56923cf9 [IMP] point_of_sale: use pos popups for all errors. 2015-05-04 14:13:45 +02:00
Frédéric van der Essen 6d31ba116c [IMP] web: add traceback to javascript error reports ( on Chrome and FF ) 2015-05-04 14:13:44 +02:00
Frédéric van der Essen 7c5a6c48c7 [IMP] pos_restaurant: show a message explaining how to create a table when the floor is empty. 2015-05-04 14:13:44 +02:00
Frédéric van der Essen fa91bf6cd8 [IMP] point_of_sale: allow to skip the receipt screen when printing via proxy 2015-05-04 14:13:44 +02:00
Frédéric van der Essen fb93cc2509 [IMP] pos_restaurant: set default #customer to 1 for all tables. 2015-05-04 14:13:44 +02:00
Frédéric van der Essen 3149c1e03f [FIX] pos_loyalty: show loyalty points updates in the customer list screen 2015-05-04 14:13:44 +02:00
Frédéric van der Essen 64cb8cf8ab [IMP] pos_loyalty: replace error popup by a less alarming alert 2015-05-04 14:13:43 +02:00
Frédéric van der Essen df58b823ff [IMP] point_of_sale: add simple 'alert' popup 2015-05-04 14:13:43 +02:00
Frédéric van der Essen 463f3f48a1 [IMP] pos_loyalty: resale rewards should not be available to customers without points 2015-05-04 14:13:43 +02:00
Frédéric van der Essen ebeb3caa62 [IMP] pos_restaurant: better feedback for skipped orderlines (kitchen printing) 2015-05-04 14:13:43 +02:00
Frédéric van der Essen d0fb760709 [IMP] point_of_sale: more specific error messages for invoicing failure. 2015-05-04 14:13:42 +02:00
Frédéric van der Essen 23ff8808b9 [IMP] point_of_sale: various styling improvements 2015-05-04 14:13:42 +02:00
Frédéric van der Essen d72d280a04 [IMP] point_of_sale: import / export of the point of sale offline state into / from text files. 2015-05-04 14:13:42 +02:00
Anthony Muschang 2925bb5c9a [FIX] models: Always use MissingError when a document is missing
As done in write and already in next version (see 0fd773a), accessing a deleted
record (through read or check access rights) should always return a MissingError
instead of the generic except_orm.
This will allow code ignoring deleted record (e.g. 'recompute' method) to safely
process the other records.
Fixes #6105
2015-05-04 13:39:21 +02:00
Christophe Matthieu ce114bebd8 [IMP] test_new_api: add field and template to test the X2many communication between web client and server side 2015-05-04 12:24:52 +02:00
Christophe Matthieu 81d57c1cee [IMP] web: form_relational_widget: x2many in list view trigger an onchange on blur the x2many after the onchange of each line 2015-05-04 12:24:51 +02:00
Christophe Matthieu 6c0376e932 [IMP] web: form_relational_widget: remove unused javascript code 2015-05-04 12:23:37 +02:00
Thibault Delavallée 26955c4703 [FIX] Typo: removed leftover commented line. 2015-05-04 12:23:37 +02:00
Thibault Delavallée 966b953e4c [FIX] tools: yaml_import: filter returned values of _create_record.
Commit 81364790b9 added default values for all fields present
in the view to emulate. However some fields present in the view are not stored and should
not be sent to create. This bug appears with function field in new API that are not stored.
Using the Yaml import generated warning, for example for fields like alias_domain that is
a not stored computed field.
2015-05-04 12:23:37 +02:00
Goffin Simon 7d79520559 [FIX] web_graph: graduations on Y axe
For bar chart, the graduations along Y axe must be in language format
of the user.

opw:631659
2015-05-04 12:16:17 +02:00
Richard Mathot 1b569b26f9 [FIX] hr_recruitment: typo
"I felt a great disturbance in the Force, as if millions of voices
suddenly cried out in terror and were suddenly silenced. I fear
something terrible has happened."
2015-05-04 12:00:57 +02:00
Nicolas Lempereur dd88f3c82f [FIX] search: searching fields.property not set
When searching if a many2one property field is not set, there may be less
results since only the ones with a reference set to NULL are returned.
We should also get those not in the table.

This commit change this case so instead of returning ['id', 'in', {matching non-set ids}],
the ['id', 'not in', {matching set ids}] is returned.

e.g: if (1, 3, 8) are set, (5, 9) are not set. ['id', 'not in', (1, 3, 8)] would
be returned instead of ['id', 'in', (5, 9)] which might not select all non-set
property fields.

closes #6044
opw-631057
2015-05-04 12:00:22 +02:00
Richard Mathot 8ab4b91f1a [IMP] website_links: promote dropdown wording 2015-05-04 10:35:52 +02:00
Denis Ledoux 1288536c03 [FIX] point_of_sale: sale details, start/end date with user tz
opw-633998
2015-05-04 10:30:57 +02:00
Goffin Simon c884be3be9 [FIX] stock_account: Current inventory valuation
The "Current inventory valuation" report should only take the outgoing quants into account
to compute the inventory value.

opw:632358
2015-05-04 08:46:33 +02:00
Aaron Bohy 560386a752 [FIX] ControlPanel: search options visible
Show the searchview buttons area if there is no searchview displayed in
the ControlPanel, since client actions may insert elements into it.
2015-05-04 08:41:07 +02:00
Fabien Pinckaers 6e131a5c0f [IMP] removed linkedin as their API does not allow such integration 2015-05-01 09:01:43 -07:00
Fabien Pinckaers ae2b53ac56 [FIX] Typo: periodical --> periodic 2015-05-01 08:51:12 -07:00
David Monjoie 1e4b7c42fa [REV] website_hr_recruitment: revert ee91d1e
This commit would makes us very vulnerable to spams and malevolent
bots who would forge e-mails to force the creation of a res_partner
for each e-mail, quickly overloading the database. I'm reverting
this as it was requested by al.

After discussion with yti, the original issue was that to use the
mail thread on the hr application, the user needed to create a
res_partner just to send him a mail, even if he was refused.

A proposed solution would be to add the e-mail of the applicant
to the suggested recipients of the mail thread.
2015-04-30 16:48:22 +02:00
odoo-tac a372e26b47 [FIX] hr_timesheet_sheet & project_timesheet : Fixed a bug and removed and refactored a few methods 2015-04-30 16:12:54 +02:00
Denis Ledoux 41f4b11ef4 [MERGE] forward port of branch saas-3 up to e552e09 2015-04-30 15:45:03 +02:00
Martin Trigaux cff65f57eb [IMP] report: use unminifed version reset.css
Source from https://code.google.com/p/reset5/
Used same file to be able to merge in stable but should be moved to separate
file in lib folder in master.
Fixes #6376
2015-04-30 15:31:48 +02:00
Denis Ledoux e552e09873 [MERGE] forward port of branch 7.0 up to e601a41 2015-04-30 14:38:17 +02:00
dufresnedavid e601a416ad [ÏMP] l10n_ca: complete Canadian chart of account
Fixes #5496
2015-04-30 14:35:02 +02:00
dufresnedavid f3339c6c51 [FIX] l10n_ca: tax signs of refund taxes
Fixes #5496
2015-04-30 14:34:48 +02:00
Denis Ledoux 338df8f492 [FIX] payment_adyen: pspReference is not mandatory
Indeed, when canceling a transaction, pspReference
is not passed.

In such a case, the arg authResult is set to
`CANCELLED`, and in such a case, we should
just bypass the form_feedback, as done in
the payment_paypal module.

opw-634210
2015-04-30 14:26:34 +02:00
rsi-odoo 12e1861871 [IMP] hr_expense, hr_holidays: add new 'leaves' and 'expenses' filters for managers
HR Manager can see 'My Team Expenses/Leaves' filter and improve domain of 'My Expenses' and 'My Department Leaves' filter
2015-04-30 13:54:22 +02:00
Denis Ledoux 1da5d89ba3 [FIX] web: advanced search on floats with ',' as decimal separator
When using another decimal separator than `.` (dot)
in the language settings,
it wasn't possible to build an advanced search specifying
the decimals.

e.g. with a language with decimal separator `,` and thousand
separator `.`,
if you want to search invoices with amount total 366,38
The advanced search "Total" "is equal to" obliged you
to enter your number with `.` as separator (366.38),
and then, when entering the search, the `.` was
regarded as the thousand separator, giving as domain
`('amount_total', '=', 36638)`, which is not what you asked.

opw-634201

PS: The `|| '.'` in the xml template are only for
retro-compatibility, so if the server sources are
updated, but the browser cache is not refreshed
(meaning the Javascript code isn't refreshed, and,
therefore, `widget.decimal_point is undefined)
it still works.
2015-04-30 13:39:30 +02:00
Arthur Maniet 7bede13b43 [ADD] web utils: xor function 2015-04-30 12:18:46 +02:00
Vidhin Mehta e09ea0de92 [IMP] web : replace timezone warning icon with a form widget 2015-04-30 11:24:43 +02:00
Denis Ledoux 2c3c2b57db [MERGE] forward port of branch 7.0 up to f2f4391 2015-04-30 10:50:51 +02:00
Xavier Morel 238f1fa591 [ADD] links to inventory mementoes 2015-04-30 09:49:10 +02:00
Sylvain GARANCHER 037525d4f8 [FIX] doc: corporate cla link not pointing to individual 2015-04-30 09:36:26 +02:00
Nedas Žilinskas 8e9f52c120 [CLA] nedaszilinskas 2015-04-30 09:28:19 +02:00
Alexandre Laidin 39d7322274 [CLA] iris-solutions 2015-04-30 09:21:55 +02:00
Olivier Dony caf333eb59 [FIX] account.invoice.report: performance problem in currency rate computation
The SQL view implementing the "Invoice Analysis" report
JOINs the res.currency.rate table in order to obtain the
correct currency rate to convert each invoice line amount
in the same currency.

The matching of the rate needs to be done on the date
of that rate (`name` column) - the last rate preceding
the invoice date is presumed to be the right one.
However there is no simple way to make a direct JOIN between
account.invoice.line and res.currency.rate with a single
match, without using an ORDER BY clause and LIMIT 1.
This requires a costly SUBSELECT query for each invoice
line, quickly becoming prohibitive.

Through the use of PostgreSQL's Common Table Expressions
(CTE) it is possible to construct a temporary table
with the rates' start and end date of application.
This temporary table can then be used in a direct
JOIN with account.invoice.line, delivering much better
performance (no SUBSELECT needed for each invoice line)

On a database with 50k invoice lines this makes invoice
analysis return results in less than 800 ms instead of
10+ seconds.
2015-04-30 00:20:12 +02:00
Denis Ledoux f2f4391e8b [FIX] account_followup: partial overdue payments
This is related to rev. ab9f02cdee

The above rev. take care to exclude payments that are not yet due;
meaning the ones due in the future, by checking the maturity
date.

Problem: Payments (e.g. move lines from bank statements)
do not have a maturity date. Only move lines that actually
have a maturity date, in the future, must be excluded,
not the one that do not have a maturity date.

opw-633930
2015-04-29 17:45:02 +02:00
Martin Trigaux 6e25d6e589 [FIX] stock: better recomputation of pack operations
Revert c06a96 "[FIX] stock: force recomputing transfer information on picking"
and unlink packoperations only when move lines are changed (fix opw 620636).

c06a96 introduced a regression as it prevents to plan moves (e.g. assigning lots
through the barcode interface) before the reception.
2015-04-29 17:36:20 +02:00
Thibault Delavallée 53e1fc5d87 [FIX] mail: mail_template: issues linked to the migration
- do not browse a browse record
- removed onchange from the form view, as they are managed directly by the new API
2015-04-29 17:20:12 +02:00