Commit Graph
106838 Commits
Author SHA1 Message Date
David Tran bee407d8d7 [IMP] crm: improve crm opportunity report extendability
split SQL query inside the init method of the model
'crm.opportunity.report' into multiple methods (i.e.
_select, _from, _join, _where, _group_by) to bring ease for other
modules to inherit

Closes #14568
2016-12-09 13:59:00 +01:00
Fabien Pinckaers eff9045741 [iMP] mass_mailing: adding color or kanban views 2016-12-09 13:37:12 +01:00
Fabien Pinckaers b17029cf5d [IMP] mass_mailing: better CSS padding on kanban views 2016-12-09 13:30:11 +01:00
Fabien Pinckaers 5ab390c444 [IMP] mass_mailing: default kanban view non grouped (as there is only 2 columns really used 2016-12-09 13:27:06 +01:00
Patrik Lermon f61dc8451e [IMP] doc: update guidelines.rst
Typo
Closes #14652
2016-12-09 09:29:42 +01:00
joe1981alAPR 286aecea7c [ADD] base_import: allow to import XLSM file types in open dialog
XLSM are parsed as MS Office Excel files using xlrd

Closes #14137
2016-12-07 16:10:15 +01:00
Moises Lopez f507fc95c7 [IMP] fields: remove '_id(s)' from the label
For autogenerated labels.
Use title instead of capitalize to get every word with a capital letter.

Closes #12769
2016-12-07 10:47:04 +01:00
Christophe Simonis b33f919e3d [MERGE] forward port branch 10.0 up to aec8e25 2016-12-06 17:38:40 +01:00
Christophe Simonis aec8e2582f [MERGE] forward port branch saas-11 up to 345755e 2016-12-06 17:24:37 +01:00
Christophe Simonis 345755e271 [MERGE] forward port branch 9.0 up to 799f12c 2016-12-06 16:49:12 +01:00
qdp-odoo 3fc879e3eb [REF] account: improve inheritancy of default_get values of WizardMultiChartsAccounts class.
This will allow localization to define more easily extra bank or cash journals
2016-12-06 16:13:17 +01:00
Fabien Pinckaers ad49255ce5 [FIX] event: add location name 'Espace Diamand' in the mail + fix if no street 2016-12-06 16:01:50 +01:00
Juan Pablo Arias 799f12c326 [ADD] base: Colombian data
- adds position before to COP currency in res_currency_data
- adds address_format to Colombia in res_country_data
- CLA signature for kurkop

Closes #10618
2016-12-06 15:55:43 +01:00
Haresh Shyara bc3d55550c [IMP] project, project_issue: tasks and issue stat button on partner view
- Use read_group to compute task_count of res.partner
for performance sake
- When creating a task/issue from partner form view,
the default partner will be the current one (event if
the use case is rare)
- Only display button when count is greater than 0
- Also avoid default 'My Tasks' filter when coming from
partner form view
2016-12-06 15:39:06 +01:00
Christophe Simonis 5301951931 [MERGE] forward port branch 9.0 up to 1f3f155 2016-12-06 15:18:45 +01:00
Thibault Delavallée db72451607 [FIX] mail: avoid notifying a message by email when it is already an email
When creating a mail.mail without giving a mail_message_id, a new mail.message
is created. It does then through _notify that notifies people of the message
creation. This leads to mail being sent two times, one when sending the
mail.mail, one when sending the notification.

This commits fixes that behavior. When creating directly a mail.mail without
giving a mail.message, call to _notify is bypassed. This way either an email
is created, either a message that has to be notified is created, but not both.
2016-12-06 15:15:48 +01:00
Thibault Delavallée df037e2959 [FIX] mail: correctly handle replies to thread containing external emails
When Odoo sends emails their Message-Ids are either generated by Odoo or
use the original Message-Id in the case of an incoming email going through
the mail gateway.

When the mailgateway handles replies to those emails it checks their
References or In-Reply-To in order to find matching Message-Ids and find
the reply's parent. Currently it is limited to Message-Ids matching the Odoo
pattern. However if an external email began a discussion thread, references
will not hold any odoo-like pattern.

Previously to commit 0028c42136 this was hidden due to a bug when
managing private messages. This code was also managing replies to external
emails due to a probably undesired side effect.

Correct way of checking if an incoming email is a reply to a thread is to
check that References or In-Reply-To Message-Ids match some stored Message-Ids
of mail.message. They don't have to match Odoo patterN
2016-12-06 15:15:48 +01:00
Thibault Delavallée 588b6020a6 [CLEAN] mail: remove unused import 2016-12-06 15:15:48 +01:00
Darshaka Pathirana ecc6733cee [FIX] doc: remove remaining references to 9.0
Closes #14608
2016-12-06 14:58:55 +01:00
Darshaka Pathirana b3a0622b52 [CLA] signature for jkirk
cf #14608
2016-12-06 14:58:54 +01:00
Goffin Simon 45284a3f03 [FIX] sale: action_view_invoice
When clicking on button "invoices" in a SO, the invoice linked
was opened without the action in url. So when refreshing the browser,
a supplier invoice was displayed instaed of a customer invoice.

opw:695844
2016-12-06 14:56:19 +01:00
Nicolas Martinelli 9dc9a058cd [FIX] account_asset: modify asset
- Create a new assets
- Set a any gross value, any number of depreciation, and any number of
  months in period
- Set "Prorata temporis" to True!
- Save, then confirm the asset
- Post at least one of the line by clicking on the red bubble next to it
- Click on "Modify Depreciation" and choose another number of month
- Click on "modify" to confirm the modifications

The depreciation of the latest posted month is duplicated. However, the
first unposted depreciation should be the first period after the last
posted period, as it is the case for non prorata temporis assets.

opw-693081
2016-12-06 14:10:14 +01:00
Atchuthan a55a83cb61 [FIX] report: add fontawesome to print icons in report
Fontawesome icons were available in v9.0, but not in v10.0 following
refactoring.

Closes #14433
opw-694666
2016-12-06 13:24:49 +01:00
Nicolas Martinelli b67871d5c7 [FIX] account: account domain in reconciliation
In the reconciliation widget, create a counterpart line. No domain is
applied on the "Account" field regarding the company, meaning that we
can select an account from any company.

opw-694149
2016-12-06 12:41:06 +01:00
Fabien Pinckaers 4b877547ef [FIX] event: tests on mails, registration has some title 2016-12-06 12:36:33 +01:00
Martin Trigaux 1f3f155a05 [FIX] mail: pass the missing context
session.context no longer exists, it is session.user_context

Add the missing context in the message_fetch call. The dates in the chatter were
not formatted according the user locale.
2016-12-06 11:50:36 +01:00
Fabien Pinckaers 2696f70f58 [FIX] evnet: test scenario, scheduled emails 2016-12-06 11:46:31 +01:00
Martin Trigaux 91139b483a [FIX] mail: untranslated message subtypes
The tacked messages in the chatter were parially translated.
e.g. "Lead created"
The call did not gave the user context and the subtype message was not
translated.

Closes #14589
2016-12-06 11:45:08 +01:00
Nicolas Martinelli 34981f5ad4 [FIX] project_issue_sheet: copy issue
- Create a project which handles Tasks and Issues
- Create an issue
- Book some timesheet on the issue, thanks to the tab "Timesheet"
- Go to the Timesheet application, you'll see that the time booked
  appears in the grid
- Change the time spent from the grid view.

The time added is booked on the issue, while the user doesn't expect it.

This is because the modification of a timesheet line copies an existing
line, then change the necessary values (see method `adjust_grid`).

Ideally, we should have a link module between timesheet grid and project
issue. Another solution would be some hack in the `timesheet_grid`
module to prevent `issue_id` to be copied. However, there is little to
no use of copying a timesheet line in general, so the solution chosen
should not affect the existing processes.

opw-697018
2016-12-06 11:07:25 +01:00
Fabien Pinckaers 5482c163ef [FIX] event: fixing automated tests 2016-12-06 10:56:43 +01:00
qdp-odoo a20d1e9256 [FIX] account: do not create the 'undistributed profits/losses' account if it is already given in the CoA 2016-12-06 10:22:00 +01:00
Fabien Pinckaers b8708aa5d9 [FIX] event: 'next month' in emails instead of date 2016-12-06 10:16:57 +01:00
qdp-odoo ef556192d4 [REF] account, account_tax_cash_basis: merge the module account_tax_cash_basis and all its features into the core module account.
This will help localization to define tax template with the cash basis configuration defined.
2016-12-06 10:13:38 +01:00
Fabien Pinckaers b048d1154f [FIX] event: test scenario, removing this month, which can be too vague for a short term date 2016-12-06 08:53:31 +01:00
Fabien Pinckaers ec2354a568 [FIX] event: display date correctly accoring to the locale 2016-12-05 23:00:33 +01:00
Fabien Pinckaers f8c6c76044 [FIX] event: emails: no map if no location (webinar)
[FIX] event: emails: format of date: 31 Janvier instead of '20160131T1010110'
[IMP] event: better emails (button to zoom to event, cleaner text, show
      organizer phone and email)
2016-12-05 22:37:07 +01:00
Balázs Palcsó 09fdda0c7a [ADD] l10n_hu: add a missing Hungarian account tax template entry
Closes #14582
2016-12-05 17:47:35 +01:00
Balázs Palcsó fa66aad703 [CLA] signature for balapal
cf #14582
2016-12-05 17:47:35 +01:00
Yannick Vaucher 97f95de89c [FIX] website_membership: wrong list of membership line for google map
Variable `membership_line_ids` was misspelled `membership_lines_ids`
Thus the list of partner returned has extra partners not filtered by search domain

Closes #13768
2016-12-05 16:58:10 +01:00
Nicolas Lempereur 83956d4c49 [IMP] mail: keep multiple spaces in chatter and chat
In chat window, a chatter and discuss, the text zone appear as a pure
text zone but is transformed later on in HTML to add mentions links and
possibly other features.

Thus, when we wrote multiple spaces or a space at the next to html tag,
with how html worked they were collpased into one (or zero).

To keep them, we need to wrap the content with `<pre />` tag or replace
spaces with `&nbsp;`.

closes #14593
opw-695535
2016-12-05 16:53:04 +01:00
Nicolas Martinelli 3ea207b5c3 [FIX] mrp: potential traceback
- Create a MO for 500 Units
- Produce 500 Units
- In the "Finished Products" tab, change the produced quantity to 450

At that point, the button "Mark As Done" doesn't appear anymore.
Therefore, we need to change the "Quantity To Produce" to 450 => This
causes a traceback because of a division by zero.

Fixes #14499
opw-695269
2016-12-05 16:50:37 +01:00
Yenthe V.G d5a99319b0 [IMP] stock: remove unused logger import
The logger is imported but never used so let us remove it anyway.

Closes #14047
2016-12-05 16:45:35 +01:00
Eric Antones d6b26f1d62 [FIX] base: Catalan separator format and thousands separator
* The thousands separator does not appear by default in Catalan language. Using
it is the usual practice

Closes #14123
2016-12-05 16:43:14 +01:00
Alexis de Lattre ef8116628b [FIX] base: display the value of ir.property
For the records with type='selection' (example: "Cost Method Property")

Closes #14413
2016-12-05 16:33:56 +01:00
Osval Reyes 5a4c548ab1 [REF] base: update peruvian currency symbol
- Currency symbol position is set before the amount, not after
- Since last month 2015 (see https://es.wikipedia.org/wiki/Sol_(moneda_del_Per%C3%BA) )
the currency passed from S/. to S/ (without the dot)

Closes #14370
2016-12-05 16:26:55 +01:00
Osval Reyes e4d1155d6f [CLA] include osvalr as a member of Vauxoo
cf #14370
2016-12-05 16:26:54 +01:00
Sebastián Ramírez f378a31564 [FIX] project: raise validation error
The ValidationError in Task._check_dates was returned instead of raised
Closes #14393
2016-12-05 16:20:59 +01:00
Goffin Simon e48d4bb85f [FIX] account: tax_ids in function prepareCreatedMoveLinesForPersisting
For the field "tax_ids", a command must be written in the the returned dictionary.
In this way, the ids of the tax will be set on the account move line.

opw:689806
2016-12-05 15:57:40 +01:00
Goffin Simon 14e5b7fcb6 [FIX] portal_stock: access rights
When clicking on the delivery order linked to the SO with a portal user,
a access right error was raised.

1. Due to this record rule: res_partner: portal/public: read access on my commercial
The portal user cannot read the fields of the partner linked to the warehouse of the picking.
The unreadable fields were in external_layout_footer.

2. The portal user is not allowed to read the field barcode on a product.

opw:693238
2016-12-05 15:52:48 +01:00
bpa e9ed03ae57 [IMP] pos_reprint: Improve point of sale configuration form for receipt repriting fields
- Bring receipt reprinting configuration fields together
- Highlight the reprint button, improve in configuration when reprint option is checked then receipt printer option should be checked
- Reorganise the receipt printing options, remove Reprint Receipt button highlighting
- Moved print receipt option of the hardware section
- If enabled Reprint Receipt then Receipt Printer enable automatically
2016-12-05 14:54:19 +01:00