Commit Graph
105449 Commits
Author SHA1 Message Date
Olivier Laurent 30260bbb0e [FIX] doc: typo in upgrade_api 2016-09-20 11:34:25 +02:00
Srushti Patel a866d1819c [IMP] event : Add Stat button on contact form to count attended events
Count childs_ids too
2016-09-19 10:46:48 +02:00
Mansi Gandhi 88a5873d5a [IMP] web: Remove tooltip on tags because it displays the same string 2016-09-16 15:41:08 +02:00
Srushti Patel 7b5acb8216 [IMP] hr_holidays : remove leave meetings action, as it is not relevant 2016-09-16 15:33:29 +02:00
Foram Shah 9b589ad8c5 [REM] hr_timesheet: removed invoicing dependency from timesheet 2016-09-16 14:46:40 +02:00
Haresh Shyara e4c8bed5b0 [ADD] stock : add a chatter in the form view of lot/Stock Numbers
PURPOSE
=======

In the form view of Lots/Serial Numbers, it is impossible to see who created the Lot number, leave a note or send emails
2016-09-16 14:31:00 +02:00
Ravi Patel acc1b4467a [IMP] product: Move products create and write access rights to related app managers
PURPOSE
=======

A lot of customer are struggling with the fact that from the SO lines their users sometimes type too fast the product name and end up by creating or selling products that are simply mistakes.

Only the sale/manager, subscription/manager, purchase/manager, mrp/manager, warehouse manager, event/manager, pos/manager and invoicing person should have access rights to create and update products.

SPECIFICATION
=============

Remove create and write rights on product_product, product_template and product_price_history for stock users and move these rights to the subcited apps managers
2016-09-16 13:36:06 +02:00
Jainik Patel 0916b50c29 [IMP] stock: Display 'Create' in location and warehouse views according to management settings
Purpose
=======

Settings "Warehouses Management" menuitem is only available if 'Manage several Warehouses, each one composed by several stock locations'. How can i edit my single warehouse if i choose 'Manage only 1 Warehouse with only 1 stock location'?
Same for locations

Specification
=============

Always display warehouse and location menuitems but display the 'Create' button according to the following use cases:

Settings "Warehouses and Locations usage level" in following condition:
    1) Manage only 1 Warehouse with only 1 stock location
         - Warehouse no create, just edit in form view.
         - Location no create, just edit in form view.
    2) Manage only 1 Warehouse, composed by several stock locations
         - Warehouse no create, just edit in form view.
         - Location create and edit both.
    3) Manage several Warehouses, each one composed by several stock locations
         - Warehouse create and edit both.
         - Location create and edit both.
2016-09-16 11:59:27 +02:00
Rohan Patel 5814b0fc45 [IMP] pad: Use standard full screen icon and add tooltips
replace the icon for fullscreen by the same one used on YouTube (or a similar one) + add tooltip 'Full Screen' and 'Exit Full Screen'
2016-09-16 11:44:31 +02:00
Srushti Patel a44e49cba7 [IMP] crm : Display current and lost Opportunities in pivot view
When looking at the opportunities report for a commercial, we want to see all the opportunities for him (lost and current)

A lost opportunity is set as inactive. So we should display the active true and false.
2016-09-16 11:23:34 +02:00
Fabien Pinckaers 6b7813f270 [IMP] expense: usability - filter by default on employee name 2016-09-16 09:10:34 +02:00
Christophe Simonis 63c7517126 [MERGE] forward port branch saas-13 up to 25f271c 2016-09-14 13:00:33 +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