Commit Graph
105262 Commits
Author SHA1 Message Date
Martin Trigaux 2d64653853 [FIX] correct the path to base module
In Transifex configuration file
2016-09-05 16:45:43 +02:00
Damien Bouvy 7b489ed42c [IMP] sale: show complete SO view by default
Instead of showing the columns delivered/invoiced qties on SOs
by setting a special key in the view's context, let's do the opposite
and hide them for a sepcial key instead.

The rationale behind this decision is that when a user wants to see
a SO from another place in the system, it is often a SO and not a quote
(i.e. accessing from an invoice's chatter message, from a subscription,
etc.). The default should then be to show these fields unless otherwise
specified in the context (and not the opposite).
2016-09-05 16:42:15 +02:00
Martin Trigaux e37d0909a2 [I18N] export master source terms
Since the externalidpocalypse
2016-09-05 16:33:43 +02:00
Martin Trigaux 136630c56f [FIX] mail: do not split translations on mail template
This commit is a port of a17c09af to master
The email templates may contain non-html content (mako) which should not be
sanitized.
Changing this attribute to sanitize_attributes made the translations to be split
when translated.
2016-09-05 15:54:01 +02:00
Thibault Delavallée 06e97cf766 [FIX] account: fix groups on invoice buttons
Double tap

 * fix wrong group xml_ids probably introduced when rebasing the branch
   removing workflow after xml-id-pocalypse
 * fix wrong group used for buttons, should be for Billing users
2016-09-05 15:21:42 +02:00
qsm-odoo b6b3e156a0 [IMP] web, website(_quote): move jSignature lib location (website -> web)
The jSignature lib is now used by non-frontend module (at least it
will be in upcoming commits).
2016-09-05 15:01:21 +01:00
Richard Mathot 0494ae5cd6 [REV] 827b9988ce
Because it does not fix the problem.
2016-09-05 14:59:55 +02:00
Richard Mathot 33dd2e5a54 [FIX] l10n_in_hr_payroll: no crash when installing
This is a minimal fix after a broken inheritance. Usability may not be
optimal.
2016-09-05 14:41:50 +02:00
Pierre Masereel 5a939ba4d8 [FIX] base: error during migration
There is a traceback when we are trying to install module from the list
view and clicking on the button 'Module Immediate Install'.
This traceback appears because of a server action that has not been migrated
during the rev https://github.com/odoo/odoo/commit/d465346f1

To fix this, we've converted the server action in new API.
2016-09-05 14:28:15 +02:00
Richard Mathot 827b9988ce [FIX] l10n_cr: bad external ids for new records 2016-09-05 14:26:51 +02:00
Yannick Tivisse 0b83dd9a8d [FIX] sale_timesheet: Set the account_id on the analytic entries from timesheets
When we create a timesheet activity, it create an analytic line that allows to re-invoice the costs from the employee. If the account_id is not set on the analytic account line, the employee cost is not passed correctly on the Analytic Entries, which is not the behavior we should expect.

This commit simply adds a account_id on the employee and this account is returned with the cost and the uom by the method `_get_timesheet_cost`
2016-09-05 13:59:48 +02:00
Martin Trigaux 6fc692d383 [FIX] hr_attendance: correct bad module in external id 2016-09-05 13:24:41 +02:00
Thibault Delavallée 96f0dd01ac [MERGE] project_issue: improve usability
This branch contains several usability improvements targetting saas-13.
Each commit contains its own small feature or improvement.
2016-09-05 12:51:26 +02:00
Thibault Delavallée e89fdf7788 [IMP] project_issue: make visible choice of tasks and/or issues on project form view
Indeed currently it is only visible in edit mode. However we noticed
people did not trigger the edit mode to find fields they do not expect
to find. Making them visible helps understanding projects can be used
notably for tasks and issues.
2016-09-05 12:18:55 +02:00
Thibault Delavallée 0194365e0c [IMP] project_issue: slightly improve issue reporting
* Number of emails should not take into account internal notifications
 * Remove Channel and Tasks from issue report as those are not really
   used anymore
 * Remove New filter as it can be done through stage filtering instead
   of using a not obvious heuristic based on stage sequence
2016-09-05 12:18:42 +02:00
Thibault Delavallée d3bbcd6474 [IMP] project_issue: hide Add new Column through Search / Issues action
A new view is dedicated for that kanban view. It is based on the standard
issue kanban view but using the group_create=false attribute to disable
the ability to create new columns.

It is done using a different view because standard issue kanban view
requires this ability. However it is not possible to achieve that goal
using conditional attributes.
2016-09-05 12:18:09 +02:00
Thibault Delavallée c76c1f98f8 [IMP] project_issue: display choice of task and issues in quick create of forms in kanban 2016-09-05 12:18:06 +02:00
Thibault Delavallée 4eb6a4bd4d [CLEAN] project_issue: clean view files and organization
New API migration of project issue was not correctly done considering
module organization. This commit reorder files according to the
guidelines.
2016-09-05 12:17:54 +02:00
Olivier Dony 6ea36beec5 [FIX] models: preserve order when merging recordsets
RecordSets were not preserving order when combined
with AND/OR set operators. Order was lost as well
through mapped().

This caused various recurring "heisenbugs" during
tests executions on runbot, specifically comming
in the test of stock_landed_costs.

Using OrderedSets instead of basic Sets to resolve
these operation avoids the indetermination.

This required an implementation of __or__ / __and__
for OrderedSet.
2016-09-05 12:17:04 +02:00
Olivier Dony 859d443863 [IMP] *: rename manifest files for v10 naming convention 2016-09-05 11:57:50 +02:00
Olivier Dony 4339196e52 [IMP] support v10 manifest file naming convention
- As of v10, manifest files should be named `__manifest__.py`
- For backwards-compatibility, __openerp__.py manifest files
  will still be supported for the time being
- Limited refactoring, to add support for the 2 different
  naming conventions
- All textual references to __openerp_.py updated in
  documentation and examples
2016-09-05 11:57:50 +02:00
Olivier Dony c0566b2896 [IMP] module: parse manifest files with literal_eval
Manifest files are literal Python dictionaries, and
aren't supposed to contain expressions that require
a full-fledged eval.
`literal_eval` is therefore sufficient *and* safer.

This parsing method was already used when listing addons
during startup of the Root controller (http.py, load_addons())
2016-09-05 11:57:50 +02:00
Martin Trigaux 3efa9d39c6 [I18N] Update translation terms from Transifex 2016-09-05 11:34:17 +02:00
Christophe Simonis 1a77d9d02a [MERGE] forward port branch saas-12 up to 476cb5a0 2016-09-03 23:57:57 +02:00
Haresh Shyara 6d9b4de939 [IMP] mrp: timer duration improvement 2016-09-02 18:17:52 +02:00
qsm-odoo 5a1db6cde2 [DEL] web: remove old tour system 2016-09-02 18:09:07 +01:00
Christophe Matthieu 689bf6185b [IMP] account: deactivate tour_bank_statement_reconciliation JS file
The test is never started and the tour is not up to date so remove it
from the DOM until it is converted to new tour system.
2016-09-02 18:09:07 +01:00
Mansi Trivedi 6a72e2e574 [IMP] mrp: Added form view of 'mrp.bom.line' model 2016-09-02 18:06:49 +02:00
Gaurav Panchal 3ae55ed232 [IMP] mrp: open produce product wizard + add barcode in mrp report 2016-09-02 18:06:49 +02:00
Christophe Simonis 476cb5a090 [MERGE] forward port branch saas-11 up to a989680 2016-09-02 18:01:42 +02:00
Denis Vermylen (dve) ac442a3f08 [IMP] payment_ogone: change outdated logo 2016-09-02 17:42:43 +02:00
Denis Vermylen (dve) f31b2c8a83 [FIX] website_sale: add invisible fields to view to update them
in "Website Admin" settings pricelist groups were not updated because they were
not declared in the view. added now.

Also added group to pricelists menu and fix typos.
2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) b4d7b7e6dc [IMP] website, doc: replace eCommerce by e-Commerce 2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) 07a1ed406f [IMP] website,website_sale: improve settings view
rename options, add radio widget
2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) 7ace88f6a9 [IMP] website_sale: add click on planner to tour 2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) e142d78d92 [IMP] theme_*: add ir.actions.todo to themes
installing a theme redirects to the website instead of the backend menu.
2016-09-02 17:42:42 +02:00
Hparfr a989680b60 [FIX] stock: remove eval from search method
Using a safe_eval is overkill and can nicely be replaced by operator

Closes #13138
2016-09-02 17:40:07 +02:00
Thibault Delavallée 3311c57839 [FIX][IMP] website_forum: send comments on answers to people following the question 2016-09-02 17:36:03 +02:00
Thibault Delavallée c4246dc773 [FIX] website_forum: fix comment notification subject being forum.post() 2016-09-02 17:35:56 +02:00
Raphael Collet 79331ec09b [MERGE] rename openerp to odoo, and adapt imports 2016-09-02 17:29:00 +02:00
Raphael Collet 7596fa3ee3 [FIX] base: adapt imports 2016-09-02 17:28:13 +02:00
Raphael Collet 0783318f97 [FIX] adapt logger names 2016-09-02 17:28:13 +02:00
Raphael Collet 4a700d0ad9 [FIX] odoo: rename imports and adapt import hooks 2016-09-02 17:28:12 +02:00
Raphael Collet 9e64f9f951 [REF] openerp: move openerp to odoo 2016-09-02 17:28:12 +02:00
Hpar 627d78b34f [CLA] Update akretion
+ hparfr
2016-09-02 17:27:48 +02:00
Christophe Simonis 55d2e4b7cf [MERGE] forward port branch saas-11 up to bde7f88 2016-09-02 17:23:34 +02:00
Christophe Simonis bde7f883b7 [FIX] stock: fix error introduce during previous forward-port 2016-09-02 17:02:05 +02:00
Christophe Simonis 54e5bbdf35 [MERGE] forward port branch saas-10 up to 897b9b8 2016-09-02 16:28:28 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
Martin Trigaux e5f05074f8 [FIX] gamification: remove duplicated manager groups
hr_gamification should be adding hr groups to the security of gamification.
Creating the group base.group_hr_manager in gamification in case hr is not
installed is confusing and redundant with existing manager groups.
2016-09-02 16:13:29 +02:00