Commit Graph
104113 Commits
Author SHA1 Message Date
Yannick Tivisse 4d8894c8d6 [REM] hr_payroll, hr_payroll_account: removed unused onchange method 2016-07-29 09:55:49 +02:00
Yannick Tivisse 195e4625df [MOV] hr_payroll_account: Restructure directory according to new API guidelines 2016-07-29 09:55:49 +02:00
Nicolas Martinelli 9975e52723 [FIX] sale_stock: incorrect value in error message
The error message has an hardcoded precision of 2 digits, which is not
enough of the product precision is higher than 2.

opw-683639
Fixes #12629
2016-07-28 15:28:43 +02:00
Yannick Tivisse 5982b857f8 [MERGE] account_budget: Migrate to new API 2016-07-28 09:15:36 +02:00
Yannick Tivisse 0f0b4f4266 [MIG] account_budget: Migration to new API
The following test have been removed because they were calling methods that doesn't
exist anymore or looking for xmlids that doesn't exist anymore too. Since the new accounting
the test imports were commented, because the features were removed I guess.
- account_budget_report.yml
- account_budget_spread.yml

The 'test/demo' account_budget_demo.yml was something like a common.py file so the test
account_budget_report.yml was rewritten in python with a common file and the test
test_theoreticalamount.py has been adapted accordingly (no more strange use to _update)

For the rest of the migration, nothing particuliar to notice
2016-07-28 09:14:42 +02:00
Yannick Tivisse 5bce1d7c17 [REM] account_budget: Remove budget reports and associated wizards
These reports are broke since saas-7, very badly written, and have exactly
the same layout than the form view.

al approval
2016-07-28 09:14:10 +02:00
Yannick Tivisse eb1982336f [SPLIT] account_budget: split files according to the models 2016-07-28 09:14:10 +02:00
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