Commit Graph
105425 Commits
Author SHA1 Message Date
Thibault Delavallée 3ef61aeedc [FIX][IMP] resource: make calendar and leave form views a bit usable 2016-09-14 15:44:49 +02:00
Thibault Delavallée 82635140b3 [IMP] resource: add default value on calendar manager being the current user to ease calendar use 2016-09-14 15:44:49 +02:00
Christophe Matthieu c2f47139f3 [FIX] web: error in pivot view when click on the corner of the dropdown to select a group (eg: + total) 2016-09-14 15:20:38 +02:00
Denis Vermylen (dve) 016ca761e0 [FIX] livechat: fix livechat display for website visitor
add customer_email_data in the add_message function, otherwise he would crash
later trying to get this key's value's length and nothing would be displayed
for the website visitor.
2016-09-14 14:32:32 +02:00
Yannick Tivisse ab2cbf6b88 [FIX] hr_expense: Display same label in menuitem and action name 2016-09-14 13:34:22 +02:00
Christophe Simonis 25f271c099 [MERGE] forward port branch saas-12 up to 13765b5 2016-09-14 12:39:12 +02:00
Christophe Simonis 13765b59c3 [MERGE] forward port branch saas-11 up to 19b4f5e 2016-09-14 12:06:31 +02:00
Christophe Simonis 19b4f5efe4 [MERGE] forward port branch saas-10 up to fa7430c 2016-09-14 11:58:45 +02:00
Christophe Simonis fa7430c157 [MERGE] forward port branch 9.0 up to 5be4086 2016-09-14 11:56:05 +02:00
Christophe Simonis 5be40868b1 [MERGE] forward port branch saas-6 up to a5dfe2f 2016-09-14 11:53:46 +02:00
Christophe Simonis a5dfe2f0d4 [MERGE] forward port branch 8.0 up to 3e4206b 2016-09-14 11:52:24 +02:00
Damien Bouvy 4c95824602 [FIX] website_(portal_sale|crm_partner_assign): accept kw on account controller
Avoids a crash when trying to view /my/home in debug mode.
2016-09-14 11:01:56 +02:00
Damien Bouvy 581d9c1819 [FIX] website_portal: make route user-restricted
The route /my/home should be auth="user", otherwise you get a
403 when you arrive there (without possibility to login).
2016-09-14 10:32:46 +02:00
Richard Mathot b917cf968b [FIX] hr_expense: wrong mailto: link
Parce que tester c'est douter.
2016-09-14 09:49:25 +02:00
Fabien Meghazi 3a7f211f8b [FIX] hr_expense: elevate privilege in order to subscribe users (closes #13436) (opw-687508) 2016-09-13 19:23:00 +02:00
Denis Ledoux 4e7981f7ac [FIX] web: prevent search dropdowns to close on click inside
The class `oe-search-options`
has been renamed to `o_search_options`
at the revision
977db823c7

See the full explanation of the bug fix here:
4601b044a6e4dbf162cfca9bf0be5ff2a21dd4f5q
2016-09-13 18:22:39 +02:00
Thibault Delavallée 7f8fb0dbfb [FIX] mail: add default recipients only when not having one specified 2016-09-13 18:02:44 +02:00
Christophe Simonis 874fb70543 [FIX] hr_recruitment: bring back postion in applicant kanban view
This was wrongly removed by a8e811a08c
2016-09-13 18:00:17 +02:00
Denis Vermylen (dve) 85741a0687 [IMP] project,...: improve english text
is senT
(*) this configuration -value-(remove) is related to the company you're logged inTO
is -a- plain text
2016-09-13 17:50:20 +02:00
Jeremy Kersten a624d67603 [FIX] website_links: fix position Share this Page + rename it in Track this page 2016-09-13 17:33:42 +02:00
Denis Ledoux 0406d68604 [FIX] stock: remove extra underscore from company__id
This is an oversight during the conversion of the
module `stock` to the new API, in the below revision
fe9b31c0e7

opw-688389
2016-09-13 17:19:38 +02:00
Jeremy Kersten f669ebeaf5 [FIX] website_crm_partner_assign: fix portal lead/issue to use commercial_partner_id
Before this commit, only partner really assigned to the lead AND with a grade was
able to see their leads.
Now we check that the top level partner (commercial_partner_id) has a grade, and show
all the leads under this commercial_partner_id.

Try to get the same behaviour that previous portal backend.

opw-688359
2016-09-13 15:45:52 +02:00
Damien Bouvy 1dd5c50651 [FIX] website_project_issue: apply f0e557c to count controller
The goal is to display the number of issues that are in projects
with a "portal" privacy setting. However, this setting is used by a
record rule to limit access to the project to followers only; this
means that you should add all the customers who submit issues to your
support project. This makes no sense.

To circumvent this problem, the domain of projects with this visibility
setting is fetched as sudo.
2016-09-13 15:21:43 +02:00
Jairo Llopis f0dd8feee5 [FIX] website_portal: fix 403 when changing account details
A portal user couldn't change his address details if he was
of type `contact`

This happens because users usually
have no access to write their parent company.

opw-688192
Closes #13430
2016-09-13 15:18:02 +02:00
qsm-odoo ad930d5208 [FIX] web_editor, website: review responsiveness/style of ace editor 2016-09-13 14:43:50 +02:00
qsm-odoo 142b177c5c [IMP] web_editor: select default text on click instead of mouseup
When a snippet contains two p elements, they will both get the
"o_default_snippet_text" when placed in the page. The individual p are
then automatically selected on mouseup event. This induces strange
behavior when trying to select the two paragraph together ; indeed
only the paragraph on which you mouseup will be selected.
2016-09-13 14:25:41 +02:00
Jeremy Kersten 5b146c6836 [FIX] website_quote: group has been moved from base to sales_team 2016-09-13 14:21:38 +02:00
qsm-odoo d83f7587aa [MOV] web, website(_slides): move PDFjs lib to web
website_sign is now a backend-only module in enterprise, so it should
not use a website library (even in a static way).
2016-09-13 14:18:31 +02:00
Thibault Delavallée 837be69785 [FIX] sale_timesheet: do not erase existing account on analytic line when updating it 2016-09-13 13:52:45 +02:00
Thibault Delavallée 77bad40d9d [FIX] sale_timesheet: fix recordset given to a create / write instead of an id 2016-09-13 13:51:44 +02:00
Christophe Simonis 6ecf6ce39b [FIX] website_crm_partner_assign: correct new-api convertion leftover 2016-09-13 13:19:23 +02:00
qsm-odoo 965d5a42fd [FIX] web_editor: allow to drop a snippet where its movement began
Before this commit, if we dragged a snippet and dropped it where we
began the drag, the snippet was removed.
2016-09-13 13:18:17 +02:00
Denis Ledoux e5f819dc46 [FIX] stock, purchase: fix po confirm of kits BOM
This is an oversight of the revision
cb486d7eb6

In the above revision, which converts the module
`stock` to the new API,
the return value of the method `action_confirm`
has been changed:
 - Before, it returned the list of move ids that have
 been confirmed,
 - After, it returns `True`

The former return value is expected by `mrp`,
when using kits BOM: In this use case,
the purchase of one product can lead to the reception
of multiple products, and therefore the confirmation
of one move can lead to the confirmation of multiple
moves.

In addition, the move that was initially confirmed could
no longer exist after the call of the method `action_confirm`.

The method `action_confirm` of `stock.move`
is expected to return the list of moves that were actually confirmed.

e.g. in purchase, before the conversion to the new API (<= saas-10),
to assign all the moves that were created through
the action confirm of the initial move, and not only the initial moves,
thanks to:
```
move_ids = moves.action_confirm()
moves = self.env['stock.move'].browse(move_ids)
moves.force_assign()
```
The above code has been wrongly converted in the new API with just
```
moves.action_confirm()
moves.force_assign()
```
Which changes the behavior, as, before, all the moves that were
created through `action_confirm` were being assigned, and, after,
only the moves with which the method `action_confirm` has been called
are being assigned.

Besides, with the kits BOM, the move with which `action_confirm` was
being called no longer exists after the call, and attempting to
call the `force_assign` method on it leads to the error
`Record does not exist or has been deleted.`

opw-688231
2016-09-13 12:48:55 +02:00
Damien Bouvy f0e557cbc6 [FIX] website_project_issue: fetch the portal projects domain with sudo
The goal of this controller is to display issues that are in projects
with a "portal" privacy setting. However, this setting is used by a
record rule to limit access to the project to followers only; this
means that you should add all the customers who submit issues to your
support project. This makes no sense.

To circumvent this problem, the domain of projects with this visibility
setting is fetched as sudo.
2016-09-13 12:09:02 +02:00
Thibault Delavallée 0da908db83 [FIX] mail: fix error when calling channel_invite when inviting someone on a channel 2016-09-13 11:04:14 +02:00
Thibault Delavallée 1e37196e8c [IMP] mail: remove needaction on last found message when assigning as now an email is sent 2016-09-13 10:53:40 +02:00
Frédéric Gilson bfc3313bd5 [IMP] website,website_sale,crm: improve planner content 2016-09-12 16:57:15 +02:00
Martin Trigaux 29ed42d901 [I18N] export master translations
odoo-master project is the latest master, so saas-12 here
2016-09-12 16:11:54 +02:00
Martin Trigaux 45ae2f153a [FIX] point_of_sale: correct the pluralisation
The correct plural of 'Point of Sale' is 'Points of Sale', not 'Point of Sales'
Courtesy of Nick Booker, OpusVL
cf #13417
2016-09-12 16:08:50 +02:00
Richard Mathot 4581d02abe [FIX] sale: typo in data 2016-09-12 16:01:50 +02:00
qsm-odoo 5e9ebcfb01 [FIX] web_editor: properly call on_remove method of snippet options
The snippet options can define an on_remove method which was supposed
to be called when the snippet is removed. This was not the case since
the method was written so that the options were removed before the
on_remove method was called... (Un)fortunately, the on_remove callbacks
were not doing any critical job in current implementation. In saas-13
however, some elements will rely on this.
2016-09-12 15:35:16 +02:00
qsm-odoo aea466ec48 [FIX] website_theme_install: use correct xml_id for theme/hidden category
Commit a00ea2755d restored correct
definition of external id for the theme/hidden category but forgot
to adapt its use everywhere.
2016-09-12 15:33:54 +02:00
Martin Trigaux 64f0b217b4 [FIX] website_crm_partner_assign: do not browse a recordset
search returns a recordset, not ids
In previous code `country.id` retuns the record, not the id.
2016-09-12 15:27:35 +02:00
tdi-odoo 6fee3fb72e [FIX] stock: fix typing error in opening inventory valuations 2016-09-12 15:14:09 +02:00
Ryan Cole d3d360ace6 [FIX] doc: typo in deployment
Closes #13387
2016-09-12 15:06:50 +02:00
Mansi Gandhi e0089f6fcd [FIX] point_of_sale: typo
opw-688169
2016-09-12 14:58:45 +02:00
Damien Bouvy 629a747d13 [FIX] mail: fix the update notification
The registration code was apparently not tested properly. Or at all.
2016-09-12 13:57:42 +02:00
Damien Bouvy 91610a5862 [IMP] sale_timesheet: make the message useful for task creation
When a SO creates a task, the chatter message displayed "Task Created",
which was not extremely helpful.

This commit add meaningful messages on the SO and on the task itself
and makes use of the "chatter link" feature to make the references
clickable.
2016-09-12 13:33:10 +02:00
Christophe Matthieu 8182d98ac7 [FIX] web: traceback when click on logo 'Edit Company data' button 2016-09-12 10:10:49 +02:00
Damien Bouvy 3e4206b4d4 [FIX] payment_paypal: accept GET requests for Paypal DPN
Although we have been reluctant to perform this change, a specific
use case can cause customers to be redirect to the Odoo DPN url
with a GET request.

This happens when a Paypal Merchant account has the feature Guest
Checkout active; in that case, a customer can pay without having
a Paypal account (using only his credit card) and will *not* be
subjected to auto-return; as detailed here:
https://www.sandbox.paypal.com/be/cgi-bin/webscr?cmd=p/pop/help-account-optional
Request coming from that payment flow will always trigger a GET
request, causing the customer to be welcomed by a
405 - Method Not allowed
error on the Odoo server. The payment is normally correctly processed
through IPN, so this does not normally causes loss of data; however
this is not a nice way to welcome back your customer right after
they pay you.
2016-09-12 09:24:38 +02:00