Commit Graph
99161 Commits
Author SHA1 Message Date
Josse Colpaert 3943e8ab39 [IMP] delivery: allow mixture of variable and fixed sale price for delivery grid line 2015-07-16 17:16:02 +02:00
Martin Geubelle a0349c01d2 [REF] web_kanban: move mobile kanban style to kanban_view layout 2015-07-16 16:53:30 +02:00
Martin Geubelle e628011b0d [IMP] account,sale,stock: mobile one2many kanbans
One2many kanban views already implemented in some form views but not displayed.
To notice : mode='...,kanban' is needed for all the views in the one2many widget to be loaded.
Kanban view (mobile friendly) will be selected instead of tree view on mobile.
2015-07-16 16:48:12 +02:00
Yannick Tivisse 2b29b3cc2e [FIX] website_quote : Missing report.css as dependency 2015-07-16 16:43:46 +02:00
Yannick Tivisse b7a855952c [FIX] report : grammar error 2015-07-16 16:43:46 +02:00
pvy f3eda82d42 [FIX] account: _query_get() needs to return the table too 2015-07-16 16:24:55 +02:00
Yannick Tivisse aca97c73a9 [FIX] account_analytic_account : Set the partener_id correctly in the context 2015-07-16 16:01:46 +02:00
Alexis de Lattre 4b548d98d1 [FIX] point_of_sale: payment method selection
When giving back change, prioritize the same cache method as the one that was
use for the transaction.
This prevents cases where cash input is registered in journal B and change in
journal A.
Fixes #6975, closes #6976
2015-07-16 15:47:56 +02:00
Raf Ven 39d17c2580 [FIX] base: avoid deleting translations
When updating a translation, the previous one is deleted and a new one is
recreated (with no module and state). When the source module is updated, the
previous term is inserted again to the lsit of terms.
Instead of dropping and recreating terms during update, simply update the
existing term and create one only if there were no previous translation.
Fixes #4617
2015-07-16 15:14:30 +02:00
Frédéric van der Essen 343f462834 [IMP] base: remove multi_company.default
Multi_company.default was used to set the default company on newly created
records in a multi-company environment. We remove it because it is redundant
with User-Defined Default.

The function _company_default_get is left for backward compatibility and to
allow the creation of modules that implement more complex policies.
2015-07-16 14:57:27 +02:00
Antony Lesuisse 8f07f01783 [FIX] base: res.company _company_default_get
Fix rule processing the criteria user.company_id was not honored.

Closes: #4614, #7504
2015-07-16 14:38:13 +02:00
Yannick Tivisse be294bbdcb [IMP] note : hide configuration in group_no_one. Useless and boring in the new design 2015-07-16 13:16:48 +02:00
Goffin Simon e61970241f [FIX] sale_stock: SO status
When creating a SO with a line without specifying a product, the
workflow didn't allow to pass the SO in Done when the invoice is
paid.

opw:644853
2015-07-16 12:03:24 +02:00
Antony Lesuisse 0b20a3d4d2 [IMP] delivery sale order form view 2015-07-16 11:35:20 +02:00
Christophe Simonis 1510a81366 [MERGE] forward port of branch 8.0 up to 9ac62d7 2015-07-16 11:21:22 +02:00
Christophe Simonis 9ac62d76bb [MERGE] forward port of branch saas-3 up to f304fb7 2015-07-16 11:18:52 +02:00
odoo-tac 9d2a86e885 [FIX] Timesheets Modules : Issues could appear due to the change of method signature in account.analytic.line.on_change_account_id(). To prevent such issues without building a bridge module, this method always takes the right number of arguments, even if analytic_user_function is not installed 2015-07-16 11:17:21 +02:00
Christophe Simonis f304fb7f06 [MERGE] forward port of branch 7.0 up to e0c1f54 2015-07-16 11:15:40 +02:00
Damien Bouvy 1240e2ae88 [FIX] payment_ogone: ogone error responses is now handled correctly
There was a mixup in the ogone response parameters that prevented error message to be stored successfully; this commit fixes that.
This commit only fix the s2s code in saas-6, the form payment code has been fixed in 8.0 and will be forward-ported (commit e7085a8bd7)
2015-07-16 11:11:26 +02:00
Aaron Bohy cc2548407d [FIX] website: Test Translator tour: enterprise compatibility
Fixes selector to match in both editions
2015-07-16 11:04:18 +02:00
Damien Bouvy e7085a8bd7 [FIX] payment_ogone: ogone error responses is now handled correctly
There was a mixup in the ogone response parameters that prevented error message to be stored successfully; this commit fixes that.
2015-07-16 09:20:07 +02:00
Arthur Maniet 29a859bf26 [FIX] account: blatant programming mistake in bank reconciliation 2015-07-16 09:17:19 +02:00
Goffin Simon e765b8556a [FIX] website: translate links
When translating on website, the click must be disabled on elements
which can be translated.

opw:644542
2015-07-16 08:56:42 +02:00
Nicolas Lempereur e0c1f54fd7 [FIX] mail: reload only in log after composer
The commit 312b85e added a reloading of the chatter messages after
closing the mail composer. But e.g in Messaging > Inbox a simple reload
isn't enough. For now this commit restrict the reload to chatter logs
(e.g the chatter of a quotation).

related to PR #7596
2015-07-16 08:16:36 +02:00
Irenie White 4cd8b15fd5 [CLA] Credativ Ltd. github usernames 2015-07-15 17:04:57 +02:00
Irenie White 56143f05a0 [CLA] Credativ Ltd. 2015-07-15 16:50:02 +02:00
Martin Trigaux dab537c0be [FIX] project_issue: add missing pivot mode
1fb33a8 added pivot mode to the project.issue action (since it was split from
the graph view) but forgot to add it in the action called from project.project
kanban (act_project_project_2_project_issue_all).
2015-07-15 16:42:00 +02:00
Alessio Gerace fc2d7f7945 [ADD] archetipo CLA 2015-07-15 15:53:40 +02:00
Simon Lejeune e9403a7ab7 [FIX] packaging: tarball nightly test
This reverts commit 5bbcc14d2f and allow
to use the pil from debian's "python-pil" by telling pip to not install
the dependencies
2015-07-15 15:34:14 +02:00
Olivier Dony 8ea4bf81f7 [FIX] fetchmail: workaround poplib line length bug
In order to fix Python bug https://bugs.python.org/issue16041
a maximum line length was introduced in poplib when reading
email contents from the POP3 server.
That limit is set to prevent DoS attacks via malicious POP3
servers.

The default limit (2048) seems to be too low for emails
commonly found on the internet, retrieved via POP3 from
popular mail services such as GMail, Hotmail, etc.
(The POP3 servers might send back the lines verbatim
without splitting them up)

This is discussed in follow-up Python bug
https://bugs.python.org/issue23906.

Workaround implemented by forcing a higher default limit
to accomodate POP3 responses with lines up to 64KB.
2015-07-15 14:18:09 +02:00
Aaron Bohy a0ddaf8b84 [IMP] web: trigger an event when webclient is ready
The main purpose of this commit is to be consistent with the enterprise edition,
in which the event 'DOM_updated' is triggered when new content is inserted in
the DOM. This way, addons that need to know when a view has been attached in the DOM
(e.g. web_tip) can listen to this event and will work fine with both editions
of the web addon.

With the actual structure of the webclient (action_manager, view_manager),
there is no easy way to decide whether or not a view is attached in the DOM,
because every rendering is performed in a detached element. For instance,
when a view_manager instantiates a new view, it appends it in its $el once
the view is ready, but it can't know if its $el is attached in the DOM (it is
only the case if the view_manager is the current action of the action manager).

This rev. introduces utility functions to centralize the appending/prepending of
content, so that an event can be triggered (at a unique place) when the content
is really in the DOM. These functions are used by the the action_manager and the
view_manager.

Another change is that the action_manager keeps the view_manager informed when
they are attached in/detached from the DOM, through the variable is_in_DOM.
2015-07-15 13:32:58 +02:00
Aaron Bohy 27df65c878 [IMP] board,google_spreadsheet,web,web_calendar: Favorites menu
Adapt the Favorites menu so that addons appending stuff in it are compliant with
the enterprise edition.

Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins
defined in the web addon.

Some changes as well in the dashboard view to make it compliant with the enterprise
edition.

Use correct naming convention: classnames with underscores, less mixins with hyphens.
2015-07-15 13:32:56 +02:00
Aaron Bohy 45373eb1fc [REM] web_calendar: unused css
it has been converted into less by rev. 46bf047e86 and
is unused since rev. d6d3d0983f.
2015-07-15 13:32:28 +02:00
Simon Lejeune 5bbcc14d2f [FIX] packaging: tarball nightly test
PIL is no more en pypi. Use the external provider.
2015-07-15 12:03:23 +02:00
Aaron Bohy 36e9726c67 [FIX] packaging: tarball nightly test
Workarounded https://launchpad.net/debian/+source/openssl/1.0.1j-1 by updating
requests in requirements.txt and pip in our tests environment.
2015-07-15 11:44:07 +02:00
Jeremy Kersten 4a1986b341 [FIX] website: allow change banner once custom img has been selected 2015-07-15 11:38:18 +02:00
Jeremy Kersten c1d290d699 [FIX] website: fix snippet references 2015-07-15 11:38:15 +02:00
Jeremy Kersten f84bbda221 [FIX] website: fix snippet comparisons 2015-07-15 11:34:28 +02:00
Nicolas Lempereur 6603223c41 [FIX] base: mode debug css traceback
We could get a traceback in debug mode since we had something like
[[4]] instead of [4] as an ids list since 4a2aee45 forward port.
2015-07-15 09:44:22 +02:00
Simon Lejeune ee690395e0 [FIX] package.py: tarball test: don't hardcode pip path 2015-07-15 09:08:38 +02:00
Damien Bouvy 16f60e7f46 [IMP] website_quote: usability: move immediate payment field to other info tab 2015-07-15 08:45:40 +02:00
qdp-odoo 3e39aa1066 [FIX] account_budget: do not rely on account type name to make tests 2015-07-14 23:55:06 +02:00
qdp-odoo 0c473de10c [FIX] account: do not rely on sequence of creation to assign the exchange difference journal on the company, at the installation of CoA 2015-07-14 21:48:24 +02:00
qdp-odoo 0b3e01c13f [IMP] account*: various usability improvements. While most of them are simple renaming, it also includes the following field removals:
- [REM] account_budget: removal of field 'validating _user_id' on account.crossovered.budget, which is now replaced by inheritance with mail.thread
   - [REM] account_budget: removal of field 'code' of account.crossovered.budget, which was not used and redondant with its name
   - [REM] account_asset: removal of field 'note' of account.asset.category, which was not used and redondant with its name
   - [REM] account: removal of field 'to_check' of account.move, which was redondant with state == 'draft'
   - [REM] account_voucher: removal of field 'audit' of account.voucher, which was a fields.related on move_id.to_check
2015-07-14 21:48:23 +02:00
Simon Lejeune 94e2d99283 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 19:15:25 +02:00
Simon Lejeune 936e321ae0 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 19:13:51 +02:00
Simon Lejeune b3f7670c96 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 18:05:01 +02:00
Denis Ledoux c15c07c405 [FIX] expression: search inactive records for multi-path domains
When searching records with a many2one multi-path domain
e.g. [('employee_id.user_id', '=', uid)] on `hr.holidays`,
inactive records were ignored
e.g. if the employee of the leave request is disabled.

For instance, this was not possible to search
holidays of a disabled employee, while you would
want to see holidays of an employee who
is no longer working in the company.

This leads to a huge change of behavior,
and this is why we decided to not apply
this fix within a stable release, such
as 7.0 or 8.0, as companies in production
might rely on the current behavior for
their business, and changing this suddenly is
not accepted.

This must not be applied for one2many fields: Disabled
records of a one2many fields must be considered
as deleted. A search with a multi-path domain
on a one2many must exlude inactive records.

opw-644718
2015-07-14 17:12:28 +02:00
Richard Mathot 6dfbca2ba0 [ADD] Activate 'suds' library for Python
This library is a SOAP client. It will be used to integrate Odoo with
external web services that use SOAP based protocols.
2015-07-14 16:04:31 +02:00
Christophe Simonis d215a08db1 [MERGE] forward port of branch 8.0 up to 86d7f52 2015-07-14 15:57:39 +02:00