Commit Graph
104106 Commits
Author SHA1 Message Date
Yannick Tivisse 183290c19f [MOV] account_budget: Restructured directory according to new API guidelines 2016-07-28 09:14:10 +02:00
fwi-odoo b4579339c8 [IMP] product_extended: replace openerp tags, rename class and add py coding 2016-07-27 15:56:27 +02:00
fwi-odoo 9ccb88beb5 [MOV] product_extended: reorganise files 2016-07-27 15:55:25 +02:00
fwi-odoo 8b8fe90fd8 [IMP] website_crm_partner_assign: add license in python 2016-07-27 13:22:17 +02:00
fwi-odoo 9fd4ab1b5b [IMP] association: replace openerp tag and move xml into views folder 2016-07-27 10:37:45 +02:00
Martin Trigaux fdb58fc77c [IMP] all: remove reference to statusbar_color
Linked to #5987
2016-07-26 15:13:28 +02:00
Damien Bouvy 8d4b97ef3c [FIX] website_portal: fix typo
No crash, but better to take the value after whitelisting for code
consistency.
2016-07-25 15:59:13 +02:00
Damien Bouvy 16f7485783 [IMP] website_portal_sale: prevent partner changes if invoices exist
We should not allow a partner to *easily* change its invoicing data
if invoices have already been issued to him.
2016-07-25 13:59:11 +02:00
Damien Bouvy 259e778404 [IMP] website_portal: whitelist values in submitted in post 2016-07-25 13:56:50 +02:00
Fabien Pinckaers c5eefb3c7f [IMP] payment*: better acquirer kanban cards and logos 2016-07-20 16:11:18 -07:00
Fabien Pinckaers 04346a0f4a [FIX] timesheet: detailed activities view (tree by default, not grid) 2016-07-20 10:31:53 -07:00
Fabien Pinckaers dde80404f9 [IMP] payment: improved payment kanban view 2016-07-20 10:30:50 -07:00
qsm-odoo ac4c2531ad [IMP] theme_default, website_theme_install: add link to themes
The website_theme_install module now adds a link in the theme customize
modal to propose to install a theme when none is installed.

Also correct the name of the theme_default customize modal template.
2016-07-20 17:02:58 +02:00
Martin Trigaux 33fe066cbb [IMP] website_crm_partner_assign: translates the grade level name
To avoid strange results like 'Gold partenaire' on /partners page.

Fixes #12819
2016-07-20 16:16:11 +02:00
qsm-odoo 5bbe952d30 [IMP] web: simplify deferred chain for form view leaving 2016-07-20 16:08:49 +02:00
Aaron Bohy 1da9f1dc10 [IMP] web: logout client action: prevent toggling app switcher
When the webclient calls do_action from the app_switcher, it toggles it when
the returned deferred is resolved.

The logout client action didn't return anything, so when logging out from the
app switcher, the webclient directly toggled the app_switcher and displayed
the last opened action if any, and a gray screen otherwise.

This commit makes the client action return a deferred which is never resolved,
so the app_switcher isn't toggled when logging out.
2016-07-20 16:06:32 +02:00
Yannick Tivisse 7b439be276 [MERGE] report: Migration to new API 2016-07-19 11:58:44 +02:00
rka-odoo c727a00aca [FIX] hr_payroll: Pass active_ids to 'get_action' 2016-07-19 11:56:45 +02:00
rka-odoo 2681c22089 [FIX] report_webkit: Re-write yml test into python
An yml import is instantiated in old api style, with old api self and
registry. As there are no more api.v7 method in report, rewriting the
yml test in python will make the test valid
2016-07-19 11:56:36 +02:00
rka-odoo 47c67b640b [MIG] report: Migration to new API 2016-07-19 11:56:29 +02:00
rka-odoo 01ad2f3a90 [SPLIT] report: Split files by model 2016-07-19 11:56:22 +02:00
rka-odoo 78fc98574e [MOV] report: Change directory structure according to new api guidelines 2016-07-19 11:55:49 +02:00
Fabrice Henrion e8db7e483f [IMP] im_livechat: improve the tooltip grammar
Closes #12480
2016-07-19 10:30:55 +02:00
qsm-odoo eaf8e82efb [IMP] *: activate automatic tour tests
* project, crm, point_of_sale, website, website_sale, website_blog,
website_event, website_forum
2016-07-18 14:22:29 +02:00
qsm-odoo 35a264144e [IMP] web_tour: allow automatic tour running
Tours can now be launched flawlessly thanks to the run method of the
tour service.

In a tour definition, here what you might have to do to make it
functionnal in auto mode:
* If actions are required between two steps of an onboarding tour:
    * If the actions have to wait for elements to appear on the screen,
        define new tour steps with no content and add the "auto" key
        and set it to "true".
    * If the actions concern elements which are already on the screen,
        you can use the "run" key in a step to make the tour faster to
        execute actions after the step.

The "run" key may take several values:
* A string with the values "click", "text" or "drag_and_drop". By
    default, you will not have to specify "click" for normal elements
    or "text" for form elements as they are the default values for
    those. Note: the "text" value can be followed by the text to enter
    (default to "Test") and the "drag_and_drop" value can be followed
    by a jQuery selector to specify where to drop the element (default
    to the body element).
* A function which takes an "actions" parameter. This allowed to do
    anything but here are common uses in the run definition :
    * a call to "actions.auto()" will do the default action on the
        step element (click on normal element and add text on form
        elements).
    * a call to "actions.auto(element)" will do the default action on
        the given element. Note: this.$anchor is a reference to the
        step jQuery element.
    * a call to "actions.text([text], [element])" will add the optional
        text (default to "Test") to the optional given element (default
        to the step element).
    * a call to "actions.click([element])" will click on the optional
        given element (default to the step element).
    * a call to "actions.drag_and_drop([to], [element])" will drag and
        drop the optional given element (default to the step element) in
        the optional given "to" element (default to the body element).

Note 1: all the "element" parameters can be given as a jQuery selector,
a DOM node or a jQuery element.

Note 2: the run method is designed to do actions on elements which are
already on the screen. If this is not the case for some of them,
consider using an "auto: true" step as explained above.

Note 3: "auto: true" steps can also contain a run definition.

When defining a tour, you can also add predefined steps (auto or not).
These are defined in the object STEPS of the tour service object. These
include opening the "More" menu if any in community before clicking on
an app, opening the appswitcher in enterprise, ...
The full list is accessible in the tour_manager.js file.
2016-07-18 14:16:35 +02:00
qsm-odoo 4005cf025e [FIX] website_twitter: stop JS code crash if no tweet
Prevent the JS to crash when a well-configured twitter account with
no tweet in it is used with the website twitter snippet.
2016-07-18 11:26:04 +02:00
qsm-odoo 0e43c9c43c [FIX] website_forum: link the .py test file...
Commit cf925c2a58 introduced the test_forum_process file which launches
the UI tests of the website_forum module. Unfortunatly, the file was
not linked in the __init__.py file.
2016-07-18 11:25:21 +02:00
Yannick Tivisse 7403077037 [IMP] hr_recruitment: display job_id on applicant kanban view 2016-07-18 10:43:26 +02:00
Fabien Pinckaers 8eb63b2f06 [IMP] sale, account: custom email when invoice/quotation, not simple messages 2016-07-18 00:16:32 +02:00
Fabien Pinckaers 6ff1c28fb3 [IMP] purchase: improved email template 2016-07-17 23:55:30 +02:00
Fabien Pinckaers 8cb4252d44 [IMP] sale: better email template for quotations 2016-07-17 23:49:23 +02:00
Fabien Pinckaers 96da10de6c [IMP] account: improved email template for invoices 2016-07-17 23:23:12 +02:00
Fabien Pinckaers bce2915954 [IMP] account: adding signature to invoices sent by email 2016-07-17 01:06:18 +02:00
Fabien Pinckaers 9fbe082b2b [IMP] web_editor: css regular spacing between <p> to avoid bad layout
for email previews (e.g. sale order)
[IMP] improved email template for SO, with added signature
2016-07-17 01:02:06 +02:00
Fabien Pinckaers 5b4d247674 [IMP] mail: when replying to an internal message, don't send to followers
When an incoming email is a reply to an internal comment (private msg),
log a note, instead of sending an new message.
2016-07-17 00:32:30 +02:00
Fabien Pinckaers 069a192d69 [IMP] mail: Improved email notification template
Shorter template, cleaner look. Warn about internal note messages.
2016-07-16 23:57:55 +02:00
Christophe Simonis b98bb6d10f [MERGE] forward port branch saas-12 up to c16d5bc 2016-07-15 17:09:24 +02:00
Christophe Simonis c16d5bc750 [MERGE] forward port branch saas-11 up to 87e9639 2016-07-15 16:35:48 +02:00
Christophe Simonis 5858dda75f [MERGE] forward port branch saas-11 up to a62b8cf 2016-07-15 16:34:41 +02:00
Fabien Pinckaers 9bf9eb863b [FIX] rating: correct list view (list --> tree)
[FIX] livechat_rating: ratings from livechat should be consumed
(otherwise invisible)
[IMP] usability: better views and tooltips
2016-07-15 15:13:17 +02:00
Olivier Dony 87e9639a97 [FIX] website_event: correct typo in new API conversion
event.event's field is 'country_id', not 'country'

Cfr 616f294786
2016-07-15 14:02:01 +02:00
Jérome Maes eee72c8380 [MERGE] survey: migrate to new API
Purely merge, line per line code to new api.
No refactoring was done here.

Migrated modules are 'survey' and 'survey_crm'
2016-07-15 13:02:13 +02:00
Jérome Maes 35e7e93316 [MIG] survey_crm: migrate to new api 2016-07-15 12:57:51 +02:00
Jérome Maes ba3eaa61ba [MOV] survey_crm: module directory organization 2016-07-15 12:57:51 +02:00
Tanguy Charlier 09ea5c7d49 [IMP] survey: add gc of empty survey userinputs in the autovacuum cron 2016-07-15 12:57:51 +02:00
Ravi Gadhia 66cb880b74 [MIG] survey: migrate into new api 2016-07-15 12:57:51 +02:00
Tanguy Charlier 628c1d9564 [MOV] survey: module directory organization 2016-07-15 12:57:50 +02:00
Christophe Simonis a62b8cfaeb [FIX] hr_timesheet: add missing icon for Timesheets main menu
This icon was remove by 05a143a416 but is
still referenced by the menu entry.

This is also a backport of 3843b86fef.
2016-07-14 19:34:35 +02:00
Olivier Dony f5eba9e4d8 [FIX] web: repair grouping on date fields in list view
This is a temporary workaround, which probably deserves
further thinking by @ged-odo, as the root cause
stems from commit 96bf5b2656

The problem is that the list view looked for composite group_by
keys such as "create_date:month" within `fields_get`, which
only contains true fields.
2016-07-14 18:48:08 +02:00
Denis Ledoux 18dc5b3b87 [FIX] web: default many2many tags color
When there is no `color` field on the model
e.g. On invoice line taxes
The color class to apply on the badge was set to
`o_tag_color_undefined`
which doesn't exist. It must be set
from `o_tag_color_0` to `o_tag_color_10`
in order have a color.

Because of this, the taxes in the invoices lines
were not visible, because they were written in white
on a white background.

This has been broken by the below revision:
fe66472e2c
removing the or statement (`||`) to set a default
color for models not having a `color` field.

We choose to set `10` as default value, so the color
remains the same compared to the previous release
(light grey). However, if the new behavior chosen
by the usability is to have these in black, it should then
be changed to `0` again.
2016-07-14 18:38:29 +02:00