Commit Graph
99161 Commits
Author SHA1 Message Date
Antony Lesuisse 4cfa5c1a68 [FIX] calendar: remove useless code for virtual ids
- remove rml report service virtual id support
- remove useless ir.model wrapper ir.model has never used virtuel ids even in
  2009
2015-08-06 23:37:41 +02:00
Christophe Simonis 6e59ea5db9 [FIX] tests: explain why we ignore phatomjs return code 2015-08-06 21:27:03 +02:00
Christophe Simonis 12b7e0e875 [IMP] http: name of temp files in session store
When storing files send in POST in session_store, store them with a
name based on the name of the session file itself (ease matching sessions
and files for debugging purpose)
2015-08-06 21:24:40 +02:00
Olivier Dony 77868ec4f9 [FIX] base, auth_openid: wrong implementation of API by auth_openid
Authentication modules are supposed to override res_users.check_credentials()
in order to plug in their own mechanism, without actually modifying the
behavior of res_users.check(), res_users.authenticate() or
res_users._login().

auth_openid was incorrectly overriding check() instead of
check_credentials(), and unnecessarily accessing private
attributes of res_users. Fixing the implementation of auth_openid
to follow the API means we can completely make those attributes
private.
2015-08-06 19:21:12 +02:00
Olivier Dony 54e06907c0 [FIX] base, auth_openid: wrong implementation of API by auth_openid
Authentication modules are supposed to override res_users.check_credentials()
in order to plug in their own mechanism, without actually modifying the
behavior of res_users.check(), res_users.authenticate() or
res_users._login().

auth_openid was incorrectly overriding check() instead of
check_credentials(), and unnecessarily accessing private
attributes of res_users. Fixing the implementation of auth_openid
to follow the API means we can completely make those attributes
private.
2015-08-06 19:19:17 +02:00
Christophe Simonis 47f6b1bb32 [MERGE] forward port of branch saas-6 up to 081f21e 2015-08-06 17:44:09 +02:00
Christophe Simonis 081f21eeec [MERGE] forward port of branch 8.0 up to d8d9c72 2015-08-06 17:24:33 +02:00
Jeremy Kersten 1478a5958d [FIX] website: fix color switcher
Typo nodes vs node
Allow to switch color from text after that user click on img and come back
 on text field
2015-08-06 17:21:29 +02:00
Christophe Simonis d8d9c7277e [FIX] phantomjs test: phantom variable is undefined inside page. 2015-08-06 17:20:37 +02:00
Christophe Simonis 95ac2cfd10 [MERGE] forward port of branch saas-6 up to be58335 2015-08-06 16:09:19 +02:00
Jitendra Prajapati f62cfd2980 [FIX] survey: token was lost when user had to log in first 2015-08-06 15:25:38 +02:00
Josse Colpaert fa1842cb1d [FIX] stock: add procurement group for extra moves in picking
When pack operations generate extra moves, they should
take the same procurement group as those of the picking.

That way, when invoicing, they will be put on the same
invoice when there is a different invoice address on the
sale order.
2015-08-06 14:55:44 +02:00
Nicolas Lempereur be58335f7f [FIX] web: notebook first page and invisible
When two first notebook pages are invisible, the shown page will be the
second invisible one.

With this fix, all oe_form_invisible classes are added in the init stage
of the NotebookInvisibilityChanger object.

opw-646740

note: good for saas-6 but not next versions, see opw-639595
2015-08-06 14:17:22 +02:00
Jainik Patel 37351983ed [IMP] calendar: usability improvements 2015-08-06 13:58:23 +02:00
Goffin Simon 5831aca505 [FIX] account_followup: contact with type = "invoice"
In "Payment Follow-up" when clicking on "Send Overdue Email"
if contact with type = "invoice"  and an email exists in the childs then
the email will be send to this contact else the normal behavior
is kept. When the overvue email is sent to a contact who is not the commercial
partner, a message is written in the chatter of the commercial partner to inform him
that the email has been sent to the "invoice" contact.

Closes #7870
opw:646149, 646575
2015-08-06 13:04:49 +02:00
Arthur Maniet a54975fc00 [FIX] account: wrong field name used in 'checks to print' action domain 2015-08-06 12:39:17 +02:00
Martin Trigaux ec47601045 [FIX] website_event: demo data description
The title of the events states 5 days training while the full description
explains the plan of a 3 days training on Odoo

Courtesy of Mathias Neef
2015-08-06 12:27:50 +02:00
Martin Trigaux 4532ca6196 [IMP] account: help message
Prof-forma status message was not very clear.
Courtesy of Charline Louis
2015-08-06 12:19:54 +02:00
Christophe Simonis 3d26eb02ab [MERGE] forward port of branch 8.0 up to d3e9bde 2015-08-06 11:54:32 +02:00
Martin Geubelle 00fa979264 [IMP] hr: improve hr_employee kanban view
Mainly fixes for the follow button and move css to less
2015-08-06 11:40:07 +02:00
Martin Geubelle eb2f2071df [IMP] hr_recruitment: improve kanban view
Tags were in the middle of the kanban record and now placed at the top to fill the design
2015-08-06 11:40:07 +02:00
Martin Geubelle 49aa70ebe8 [IMP] project_issue: improve kanban view
Make Issues kanban view looks more like Tasks kanban view, with tags at the top and priority field (stars) next to the message icon, on the left
2015-08-06 11:40:06 +02:00
Christophe Simonis d3e9bde738 [MERGE] forward port of branch saas-3 up to 2ab698b 2015-08-06 11:02:24 +02:00
Christophe Simonis 2ab698b4b1 [MERGE] forward port of branch 7.0 up to d2d81ca 2015-08-06 11:01:47 +02:00
Richard Mathot dca43ecd4d [FIX] delivery: store estimated delivery price 2015-08-06 10:35:17 +02:00
Valerie Pirenne 22a3c08af7 [IMP] web_tip: tip display using breathing point 2015-08-06 10:14:27 +02:00
Aaron Bohy 1d8cbf8a19 [IMP] account_asset: buttonwidget: invisible case
Instead of adding the classname oe_form_invisible to hide it, simply don't render
the button if it shouldn't be displayed.
2015-08-06 10:14:27 +02:00
Aaron Bohy 441449673a [IMP] web: classnames update for new design compatibility
The DOM structure and elements's classnames diverge in community and enterprise
editions. Tips must work perfectly with both editions, obviously.

This rev. updates some classnames in the community edition for the tips's selectors
to match in both editions.

The following classnames have been renamed/introduced:
	- oe_form_buttons_view renamed to o_form_buttons_view
	- oe_form_buttons_edit renamed to o_form_buttons_edit
	- oe_form_invisible renamed to o_form_invisible
	- oe_list now also has classname o_list_view
	- header tag in form views now has classname o_form_statusbar_buttons

Other changes like these might be required later if other tips are introduced...
2015-08-06 10:14:27 +02:00
Thibault Delavallée f6a246045f [FIX] mail: mail_followers:
- fix indentation
- fix a method not returning its deferred for the call
2015-08-06 10:06:18 +02:00
Thibault Delavallée 9f844c570f [REM] mail, calendar: removed dead code (unused method and its
override, unused variables; duplicated code; commented code)
2015-08-06 10:06:18 +02:00
Thibault Delavallée 11908c367e [FIX] hr_equipment: fix the write
- fix multiple write causing a loop and unnecessary condition check.
just reset the kanban stage when changing the stage, like in tasks
or issues. Rely on the call to super() to perform the write itself.
- fix wrong field use and cleaning code about auto subscription
2015-08-06 10:06:18 +02:00
Denis Ledoux 5cd1235b06 [FIX] purchase: Purchase invoices stat button group on partner form
The group applied on the purchase invoices stat button
was "Accountant", while "Invoicing & payments" is enough.

That way, the customer and purchase invoices stat buttons
have the same group applied, which makes sense.

opw-646748
2015-08-06 10:05:01 +02:00
Richard Mathot 4b3f16e0d1 [FIX] website_sale_delivery: do not publish carriers by default
But enable a few ones as demo data, so that e-commerce testing tours can
use them.
2015-08-06 10:04:08 +02:00
Josse Colpaert d789ac7793 [FIX] stock: No rereserve visible if pack operations have been generated already fixes #7725 2015-08-06 09:48:18 +02:00
Olivier Dony d2d81ca9d8 [FIX] crm_partner_assign: search_geo_partner() should not pick deactivated partners 2015-08-06 09:20:24 +02:00
Richard Mathot a43c0c1108 [FIX] lunch: some users run systems localized in other languages than English
%A returns the localized name of the weekday, so we prefer use the
%numeric code.
2015-08-06 09:05:36 +02:00
Antony Lesuisse 4a3a3e5f3a [FIX] payment: Move website_published field to website_payment
We have to keep website_published defined in payemnt so that demo data publish
only payment_transfer for the website_sale tour.
2015-08-06 00:14:24 +02:00
Yannick Tivisse ed4137495c [FIX] website: website_publish_button toggle when no url can be found 2015-08-05 21:40:57 +02:00
Yannick Tivisse eed69de936 [FIX] website_sale: add wrapper for call_kw for inherits on product.product 2015-08-05 21:21:53 +02:00
Yannick Tivisse 2cbb244f73 [FIX] website_sale_delivery: duplicate website_published 2015-08-05 21:20:51 +02:00
Goffin Simon 4f6eebf698 [FIX] account: tax sign
Division by 0 introduced by c525c6712a
2015-08-05 19:03:15 +02:00
Richard Mathot 66e8cddf64 [FIX] website_sale_delivery: mute crash when an external shipping provider is not configured properly 2015-08-05 16:44:08 +02:00
Richard Mathot 271ab79666 [FIX] delivery: do not always recompute estimated shipping price
When a SO is not in draft AND uses an external shipping provider, it
does not make sens to re-poll the provider for the price (and this is
quite slow)
2015-08-05 16:43:15 +02:00
Olivier Dony 5a41a3011a [FIX] ir_translation: undo asymmetric change of set_ids/get_ids
Partial revert of commit 39d17c2580
of PR #4617, that broke translations by introducing a different
set of criterions for filtering translations in `_set_ids()` and
`_get_ids()`, adding the `module` column in `_set_ids`.

This meant `_get_ids` would see translations that `_set_ids`
would never update: the translation interface did not appear to
be working anymore as soon as a translation entry existed with
no `module` value.
This is likely for manual entries and for entries bootstrapped
by `translate_fields()`, as they do not belong to any module.

The situation described in PR #4617 probably requires an extra
fix in the translation import system instead.
2015-08-05 16:29:16 +02:00
David Monjoie 1ecd161757 [FIX] lunch: fixed cash move balance stat button
The awful code of a067129 didn't even work when
there really wasn't any cash move for a user for
which you didn't have the rights to read the moves.

Because there wasn't any move, there wasn't any
access error either.

We finally decided to hard-code the rule that
allows you to read the balance or not, which
renders it dependent of the actual access rules
of the system.
2015-08-05 16:16:03 +02:00
Goffin Simon c525c6712a [FIX] account: tax sign
When changing manually the the amount of tax in supplier invoice,
the tax sign of the tax must be kept.

opw:645691
2015-08-05 16:10:37 +02:00
Goffin Simon 4f91dc371c [FIX] website_sale: transaction error
When an error occurs during the transaction, the customer must receive
a message to inform him.

opw:645705
2015-08-05 15:19:45 +02:00
Aaron Bohy 83dab472f3 [REF] web(_tests),test_new_api: split and remove web_tests
Move the widget_x2many tour to web and call it from test_new_api as it needs
to be overrided for the new design, and it requires models and data from
test_new_api.

Clean other unnecessary stuff from web_tests, and thus remove the addon.
2015-08-05 14:38:00 +02:00
Aaron Bohy b07db83ce5 [FIX] website_blog: blog tags: undefined graph view
Removes it from the action's view_modes
2015-08-05 14:38:00 +02:00
Aaron Bohy 98447b538e [FIX] sale_crm: opportunity stat buttons icon 2015-08-05 14:38:00 +02:00