Commit Graph
109614 Commits
Author SHA1 Message Date
Christophe Simonis d3154e0ef4 [MERGE] forward port branch saas-14 up to af9868bc28 2017-08-01 17:54:09 +02:00
Christophe Simonis af9868bc28 [MERGE] forward port branch 10.0 up to e6ad245634 2017-08-01 17:22:43 +02:00
Christophe Simonis e6ad245634 [MERGE] forward port branch saas-11 up to ab0e083ecb 2017-08-01 17:00:03 +02:00
Christophe Simonis ab0e083ecb [MERGE] forward port branch 9.0 up to 587668797e 2017-08-01 16:32:23 +02:00
Christophe Simonis 587668797e [MERGE] forward port branch saas-6 up to b3ddbbd4ba 2017-08-01 16:05:13 +02:00
Christophe Simonis b3ddbbd4ba [MERGE] forward port branch 8.0 up to 40197b38e5 2017-08-01 15:44:24 +02:00
Christophe Simonis e2826028ab [FIX] website_slides: only query google api if info is missing
With demo data, avoid doing requests on external service for
information we can provide.
2017-08-01 15:39:02 +02:00
Nicolas Martinelli 6c3bff8fd3 [FIX] stock: traceability button
- Archive a product
- Click on "Traceability" stat button => crash

opw-760717
2017-08-01 15:06:10 +02:00
Nicolas Lempereur 40197b38e5 [FIX] web: typo css class 69925ca6
opw-760956
closes #18601
2017-08-01 14:05:21 +02:00
Nicolas Lempereur 69925ca6f0 [FIX] web: display prev/next arrow after grouping
On a list view, if we group records the arrows and changing page
feature are disabled. But if then we removed the grouping, the arrows
never reappeared.

note: not necessary as of 9.0 it was already solved in 1280bf251

opw-760956
closes #18596
2017-08-01 13:56:26 +02:00
Jeremy Kersten 66a6b670e9 [FIX] stock: improve warning to help user to find blocking move.
Add into the warning message the list of stock.move that raise the constraints
error.

When you create an 'Inventory Ajustment' of 1000 lines and see this error,
it is not easy to find which product could cause the problem.

This solution is not perfect since the name is not uniq, but it decrease
drastically the number of record to check manually.

opw-760643
2017-08-01 10:43:36 +02:00
Jeremy Kersten 856f35eb21 [FIX] UserError: don't display None in Warning popup.
UserError uses a retrocompatibility function 'except_orm' which one can take a
second parameters. The default value of this second param is None, so if we
don't force an empty string, we will see a None on each raise UserError as last line.
2017-08-01 10:43:36 +02:00
Goffin Simon abbb937607 [FIX] sale_stock: return a delivered product with a non internal location
When returning a delivered product with a non internal location,
the delivered quantity on the SO was not updated.

Steps to return a delivered product:
- Click on button "Return" on stock.picking
- Check the refund box
- Click on return
PS: for the field return location, you can choose a child location from
WH/stock. So it can be a not internal one.

opw:749610
2017-08-01 09:33:06 +02:00
Goffin Simon 8452cc2e36 [FIX] purchase, sale: Warning message visibility on Product
When "No message" is set on field purchase_line_warn/sale_line_warn,
the message doesn't have to be displayed in the respective field
purchase_line_warn_msg/sale_line_warn_msg.

opw:760801
2017-08-01 09:27:36 +02:00
Odoo Translation Bot bbd4e7e292 [I18N] Update translation terms from Transifex 2017-08-01 02:40:08 +02:00
Nicolas Martinelli 9bb2e4595d [FIX] l10n_in_hr_payroll: IFSC code
The IFSC code is not populated when the advice is created automatically
(no onchange triggered).

opw-746466
2017-07-31 15:53:44 +02:00
Christophe Simonis a6900c43b4 [MERGE] forward port branch saas-14 up to 9cae991345 2017-07-31 12:59:48 +02:00
Nicolas Martinelli 88c9ab3cbc [FIX] hr, hr_contract: personal information
Personal information should be protected at the model level, not only
the view. Otherwise, user can read these fields when exporting.

Courtesy of @odony

opw-752734
2017-07-31 11:48:02 +02:00
Christophe Simonis 9cae991345 [MERGE] forward port branch 10.0 up to 1e64a88cd3 2017-07-31 11:45:29 +02:00
Christophe Simonis 1e64a88cd3 [MERGE] forward port branch saas-11 up to 285a9d0406 2017-07-31 11:17:16 +02:00
Christophe Simonis 285a9d0406 [MERGE] forward port branch 9.0 up to 3bda87a8d3 2017-07-31 11:13:41 +02:00
Goffin Simon 6fe846ec2f [FIX] purchase: Wrong scheduled date for backorder
Fine tuning of this commit:7333f5e

When the PO lines were not ordered according to the scheduled date,
the scheduled date of the picking was wrong when delivering.

opw:752192
2017-07-31 10:28:24 +02:00
Fabien Meghazi b244f31151 [FIX] server: don't crash in case we can't check if a database exists
In case Postresgl access rights prevents the pguser to access
`pg_database`, the server should not crash when trying to create the
database because the pguser does not have the right to check if the
database exists and he won't be able to create a new database anyway.

However the database might exists and in such a case the flow should
continue. This patch allows the flow to be resumed in such a case, and
in case the database did not actually exists, a warning will tell the
user that it was not possible to check if the db existed and the
registry for this database will fail to be loaded afterward.
2017-07-31 10:03:45 +02:00
Goffin Simon 3bda87a8d3 [FIX] point_of_sale: Default lang when creating a partner
When creating a partner in Sales app, the default language is the language
of the user. The same behavior is expected in the POS.

opw:752739
2017-07-31 09:38:06 +02:00
Odoo Translation Bot 90282fa2d5 [I18N] Update translation terms from Transifex 2017-07-30 07:14:49 +02:00
Odoo Translation Bot b1e79e85bd [I18N] Update translation terms from Transifex 2017-07-30 04:40:00 +02:00
Odoo Translation Bot 6493dc9837 [I18N] Update translation terms from Transifex 2017-07-30 00:32:09 +02:00
Christophe Simonis a6d30abccd [FIX] website_slides: set title when creating link tracker of slide
Avoid the link tracker to querying the slide to get it.
2017-07-29 17:03:24 +02:00
Jeremy Kersten 3d558c435a [FIX] stock: improve warning to help user to find the picking that block.
When you valid a picking wave of 100 pickings, and that one is blocked
(eg: no serial attributed), you have no way to know wich one fail except
opening all one by one.
2017-07-28 18:30:01 +02:00
Jeremy Kersten f3f66d2b8e [FIX] web: avoid cast None in int
Some function send None instead of 0
2017-07-28 18:30:01 +02:00
Christophe Simonis c0ec09e9d5 [MERGE] forward port branch saas-14 up to be77cf7f5f 2017-07-28 17:25:45 +02:00
Christophe Simonis be77cf7f5f [MERGE] forward port branch 10.0 up to e686385138 2017-07-28 16:56:14 +02:00
Christophe Simonis e686385138 [MERGE] forward port branch saas-11 up to 5e6637a240 2017-07-28 16:26:57 +02:00
Christophe Simonis 5e6637a240 [MERGE] forward port branch 9.0 up to b054902655 2017-07-28 16:24:48 +02:00
Christophe Simonis b054902655 [MERGE] forward port branch saas-6 up to 683a7cb029 2017-07-28 16:23:27 +02:00
Christophe Simonis 683a7cb029 [MERGE] forward port branch 8.0 up to 1644b92fd8 2017-07-28 16:18:08 +02:00
Thibault Francois 1644b92fd8 [FIX] account format error message correctly
Cherry-Pick of a04c1a2ac5244fe2fd3098fc22c59d336e352981
2017-07-28 16:15:35 +02:00
Yenthe V.G d82933d8e7 [FIX] web: change exception name from openerp to Odoo
The crash manager still used the old name for the exception. (PR #18522)
2017-07-28 15:44:18 +02:00
Christophe Simonis a7b7576536 [FIX] test_converter: declare string containing unicode as unicode 2017-07-28 15:41:46 +02:00
Thibault Delavallée 55d9c37520 [FIX] payment_authorize: avoid crash when contact ogone without street on partner 2017-07-28 15:07:52 +02:00
Olivier Dony 586b97e17b [FIX] crm: correct duplicate record ID
Introduced by a8c5b7810f

+ spellchecking
2017-07-28 11:19:37 +02:00
Christophe Simonis c39f7e4987 [FIX] mrp: force help message in unicode 2017-07-27 23:03:02 +02:00
Christophe Simonis 97bac8d64c [IMP] core: capture Warnings though logging 2017-07-27 22:35:47 +02:00
amoyaux 62b8a05368 [FIX] purchase : procurement check fail if one move in cancel
Use case to reproduce the bug:
One procurement is running for a PO. Cancel one move in the picking and
create it again. Pass the picking in done.
--> The procurement stay in running state

It happens because the check method of procurement look if all moves linked
are in done state but in this case, there is one move in cancel and one
move in done.

This commit check instead if all move are in cancel or done and at
least one is in done state.

opw-753177
2017-07-27 16:00:21 +02:00
Nicolas Martinelli 66c22ab20d [FIX] crm: Leads Analysis report
The Leads Analysis report should filter on "Leads" by default.

opw-760265
2017-07-27 15:20:46 +02:00
Christophe Simonis e6b91eb55a [FIX] core: werkzeug 0.12 compatibility
Since werkzeug 0.12, the `BaseWSGIServer.__init__` method expect the
socket to be bound to determine the effective port it listen to [1].
Stop pretend to bind the socket and close it directly after use.

[1] see pallets/werkzeug@1fc28cbb30
2017-07-27 13:40:19 +02:00
Christophe Simonis 48c478513f [IMP] core: log address we listen on in multi-worker mode 2017-07-27 13:39:08 +02:00
Nicolas Martinelli 4fdfdb2f80 [FIX] mrp: domain in picking type
Limit the picking type domain to 'Manufacturing Operation'.

opw-760246
2017-07-27 13:21:53 +02:00
Christophe Simonis 681f03e309 [MERGE] forward port branch saas-14 up to c4e9b854ff 2017-07-26 18:47:54 +02:00
Christophe Simonis c4e9b854ff [IMP] core: log bad queries as ERROR
Also adapt default config and config mapping.
2017-07-26 17:46:20 +02:00