Commit Graph
103913 Commits
Author SHA1 Message Date
Christophe Simonis 10148c3c3a [MERGE] forward port of branch saas-9 up to 8ddf1b9 2016-06-17 12:24:47 +02:00
Yannick Tivisse 717f9217bb [IMP] hr_expense: bring back the sheets + other new features
NB:
- The option no_delete is not working, a fix will come from chm
- The many2many widget on a sheet creation is not working correctly as
  the called command is a (1, id, values) without a (4, id, _) before.
  A fix will also come from chm, but a disgusting hack has been
  provided for this particular case (to remove after chm fix)
2016-06-17 12:14:57 +02:00
Jeremy Kersten e9aa5fdd85 [FIX] base: fix domain of serialization_field_id in ir model field view
During refactoring of the field view, parent.model has been replaced by
model_id since it is more elegant. (odoo/odoo@4a60a3)

That was correct when you was working directly from the ir.model.field.
But if you was comming from ir.model -> fields -> 'add an item', the
model_id is unknow in the context of pyeval.

This commit close #12455
2016-06-17 12:13:35 +02:00
Christophe Simonis 8ddf1b909a [MERGE] forward port of branch 9.0 up to 8284c73 2016-06-17 11:32:09 +02:00
Yannick Tivisse 5aa9bde34a [FIX] mass_mailing: Append unsubscribe url to mail body 2016-06-17 11:23:13 +02:00
Keyur Gajjar 7652b6388a [REM] mass_mailing: removed unused method mass_mailing_statistics_action() from models/mass_mailing.py 2016-06-17 11:23:12 +02:00
Keyur Gajjar bbca135410 [MIG] mass_mailing: code migration to new api
NB: A controller in website_mass_mailing has been migrated too. It's not a real issue
as this module will also be migrated in the days to come
2016-06-17 11:23:12 +02:00
Keyur Gajjar 1467689edf [MOV] mass_mailing: splitted the following files + new api
1. Splitted data/mass_mailing_data.xml to security/mass_mailing_security.xml for res_groups data.
2. Splitted views/mass_mailing_views to
    - views/link_tracker_views.xml
    - views/mass_mailing_stats_views.xml
    - views/mass_mailing_template.xml
2016-06-17 11:23:12 +02:00
Keyur Gajjar 1c1b049898 [MOV] mass_mailing: directory restructuring according to new api 2016-06-17 11:23:12 +02:00
Christophe Simonis 8284c7389f [FIX] website_quote: avoid setting unknow field
The field `delay` on `sale.order.line` has been renamed into
`customer_delay` and is already set.

This revert commit d0d3ba921d.
2016-06-17 11:09:44 +02:00
Damien Bouvy c8a94fda19 [FIX] website_quote: test uses field that doesn't exist
Or at least doesn't exist anymore.

(Backport of 654237b43c)
2016-06-17 10:56:46 +02:00
luc-demeyer 1750b90252 [FIX] account: fixed group_lines method of invoices.
The group_lines method didn't make the sum of the quantity field, hence resulting in incorrect results when making product based statistics from the account.move.line records.

Courtesy of Luc De Meyer. Was PR #10551
2016-06-17 10:27:53 +02:00
Khwunchai J a9ea4e7cab [FIX] web_settings_dashboard: Incorrected plural form of "Active Users"
Odoo add the extra letter "s" to the translated word "Active User".
This is caused by adding "s" at the end of the word directly from the template,
which makes no sense in many language.
This prohibits translators from translating the plural form in any language.
The plural form and singular form of "Active User" should be translate
separately.

Fixes #12469
Closes #12470
2016-06-17 10:18:41 +02:00
Nicolas Martinelli 4bb5110926 [FIX] website_livechat: prevent traceback
If no image is defined for the channel, the template rendering will
crash since it will concatenate a string and a boolean.

opw-680938
2016-06-17 10:05:44 +02:00
Martin Trigaux 9007ed4c0b [FIX] doc: Research -> Search
If I need to do researchs to find a quotation, the goal of having a userfriendly
software may be missed.
2016-06-17 09:48:47 +02:00
Nick-OpusVL bdf93910c3 [FIX] doc: 'Searching' instead of 'Research'
The word 'Research' isn't usually used in this context.  'Searching' is better.
Closes #11517
2016-06-17 09:40:46 +02:00
Ramon Bartl 46867bbbce [CLA] Corporate signature for RIDING BYTES
Closes #11888
2016-06-17 09:36:39 +02:00
Jarmo Kortetjärvi 41da40d49c [CLA] Signature for jarmokortetjarvi
Closes #10997
2016-06-17 09:33:58 +02:00
Telnet Data 4beb1a9f7e [CLA] Corporate signature for Telnet Servizi Srl
Closes #11070
2016-06-17 09:33:58 +02:00
Sharjeel Ali Shaukat 9a20889fd2 [CLA] signature for salishaukat
Closes #11940
2016-06-17 09:33:58 +02:00
Ross Golder 8ca505d6f6 [CLA] Signature for rossigee
Closes #11488
2016-06-17 09:33:58 +02:00
Florian Kisser 80db184616 [CLA] Corporate signature for Seekda GmbH
Closes #12463
2016-06-17 09:20:40 +02:00
William Moreno eeb53881dc [CLA] signature for williamjmorenor
Closes #12467
2016-06-17 09:20:40 +02:00
Goffin Simon 225023f1d1 [FIX] account: Wrong "amount_currency" in account move line after reconciliation
Use case:
-enable multi currency (use UDS as company currency and EUR as secondary currency)
-create account account in a different currency (EUR)
-create journal for the bank account in EUR
-create a new tax included tax
-create a new bank statement in EUR journal and add one line
-reconcile
-Choose a counterpart with the included tax and click on reconcile

Before the fix:
After reconciliation the amount_currency for tax and expense were wrong.
You could check this in the journal items linked to the bank statement.

Video:https://youtu.be/678rFb4OE2Q

opw:680693
2016-06-17 09:18:39 +02:00
Damien Bouvy 654237b43c [FIX] website_quote: test uses field that doesn't exist
Or at least doesn't exist anymore.
2016-06-17 08:33:07 +02:00
Damien Bouvy 9c007ac375 [IMP] db_manager: better uuid management
* Always change the uuid of a duplicate database by default
* Clearer message when restoring a backup
2016-06-16 17:29:41 +02:00
Raphael Collet 1a6e934a55 [MIG] yaml_import: convert to the new API 2016-06-16 16:54:30 +02:00
Raphael Collet c69831379f [MIG] convert: convert to the new API 2016-06-16 16:54:30 +02:00
Raphael Collet 6056a7d1d2 [MERGE] convert BaseModel and expression to the new API 2016-06-16 16:53:22 +02:00
Raphael Collet 7901349779 [FIX] expression: in subsearch, use all remaining fields
For instance, searching on `partner_id.company_id.name` was doing a sub-search
on `company_id` instead of `company_id.name`.
2016-06-16 16:50:49 +02:00
Raphael Collet 8aec98cde8 [MIG] expression: convert to the new API
With code simplification, and turning recursive functions into iterations.
2016-06-16 16:50:48 +02:00
Raphael Collet 4edcba696e [IMP] api: make Environment implement the Mapping API 2016-06-16 16:50:48 +02:00
Raphael Collet 5ba7ce138b [FIX] test_new_api: avoid crappy monkey-patching of res.partner 2016-06-16 16:50:48 +02:00
Raphael Collet 2c6f34d568 [FIX] models: fix implementation of method _check_m2m_recursion
The former algorithm was incorrect: when checking two related nodes together,
it returned as if a cycle was found (even when no cycle was present.) The new
algorithm computes the transitive closure of the relation from the root nodes,
and stops as soon as a cycle is found.
2016-06-16 16:50:47 +02:00
Raphael Collet 5161e25112 [FIX] models: in _write(), the smallest parent_left is 0 instead of 1 2016-06-16 16:50:47 +02:00
Raphael Collet 19561727a7 [MIG] models: convert class BaseModel to the new API 2016-06-16 16:50:47 +02:00
Raphael Collet 4f2f1247a6 [IMP] api: make decorator @returns work when model=None
Specifically, the `upgrade` function simply returns the given value.
2016-06-16 16:50:47 +02:00
Raphael Collet 684df5b2dc [REM] fields: remove support for deprecated properties read and write 2016-06-16 16:50:46 +02:00
Raphael Collet 8da9116f5d [REM] models: remove deprecated method BaseModel.import_data() 2016-06-16 16:50:46 +02:00
Cedric Snauwaert b350ee65a4 [FIX] account: speed optimization of dashboard
when there are too many unreconciled entries, showing dashboard is really slow, switch the computation of unreconciled entries to SQL
2016-06-16 16:44:30 +02:00
Cedric Snauwaert 6b1bff4ee9 [FIX] account: fix condition to create exchange_rate_entries, in some case we don't want to create one
Typically when sum(debit) = sum(credit) and sum(amount_currency) = 0
2016-06-16 16:12:45 +02:00
Martin Trigaux 43f619ed76 [FIX] payment: correctly trigger the constraints
The third parameter expects a list of field, not some random string.
This made the constraints for the fields tagged with required_if_provider to be
never checked.

Closes #12458
2016-06-16 15:51:50 +02:00
Martin Trigaux 1cd356c6f6 [FIX] payment_sips: missing required value 2016-06-16 15:51:50 +02:00
Nicolas Lempereur f7ec48b6df [FIX] crm: needed _order for group by crm.stage
When grouping result the BaseModel method _read_group_fill_results add
the possible groups which had no result.

But, if the order of the group is not consistent, we can get really
wrong results. The code logic is expecting that the grouped result
gotten and the list of groups (returned by _read_group_stage_ids of
crm.lead) is in the same order.

If the _order attribute of the model is not enough specific (as was the
case in crm.stage) the inconsistent order would kill aggregation values
(displaying 0 instead of what should have been present).

opw-680952
2016-06-16 15:38:27 +02:00
Mohammed Shekha 58d57f9154 [IMP] website_event_question: Front-end register display improvements
Purpose:
Registration form needs some improvement : When there is lots of question
and answer and sometimes question is too long then view is mashed/weired

Improve the view and show one question and one answer on line, next question
and answer will come on next line,
Also change the common question/answers view, put question answer in
inline and each question/answer should come into next line

Mockup : http://bit.ly/1zpoWju
2016-06-16 15:09:54 +02:00
Aaron Bohy a48f47d470 [MERGE] web_tour, *: onboarding
- Deletion of addon web_tip
- Creation of addon web_tour (a tour being a succession of tips)
- Creation of onboarding tours for several apps:
	- Accounting
	- CRM
	- Discuss
	- HR Expense (first step only)
	- HR Recruitment
	- Project
	- Sale
- Various usability improvements (mainly onboarding-oriented)
2016-06-16 14:59:57 +02:00
Aaron Bohy 99a6f4ac72 [ADD] mail: onboarding tour 2016-06-16 14:59:41 +02:00
Fabien Pinckaers f972b60dc2 [ADD] sale: onboarding tour 2016-06-16 14:59:41 +02:00
Fabien Pinckaers ad0bc9adf2 [ADD] project: onboarding tour
Also:
 - creation of a (archived by default) sample project with tasks, that the
   user can activate to discover the project app.
 - improvement of the simplified form view to create a new project
2016-06-16 14:59:41 +02:00
Fabien Pinckaers 3c319b2b8b [ADD] hr_expense: onboarding tour
first step only, to be continued...
2016-06-16 14:59:41 +02:00