Commit Graph
117975 Commits
Author SHA1 Message Date
Wolfgang Taferner 90ab699d90 [CLA] WT-IO-IT GmbH signature of Corporate CLA
Closes #22825
2018-02-06 12:43:23 +05:30
Kirti Choudhary bacc043fb5 [IMP] mass_mailing: Display the number of clicks on reporting
Purpose
=======

On the pivot table for reporting on mass mailing you have all the options on the individual mass mailing, except clicks.
This stat is however available in mass mail form

Secification
============

Add 'Clicks' in pivot table reporting view
2018-02-06 06:36:05 +01:00
Wolfgang Taferner 3b8ba47f11 [FIX] purchase: Display a more accurate title on purchase report 2018-02-06 06:32:17 +01:00
Joren Van Onder 392fa1471e [IMP] l10n_co: add some lesser used document types
These should be all legally recognized documents.

opw-781247
2018-02-05 16:25:55 -08:00
Joren Van Onder 4b74cea413 [FIX] l10n_co: only validate VAT for RUT document types
In Colombia customers can legally identify themselves with various
codes, one of which is the RUT. This is the traditional TIN and
adheres to the rules implement by base_vat. The other types however
don't and so shouldn't be checked by base_vat.

opw-781247
2018-02-05 16:19:48 -08:00
Joren Van Onder b44f559fe7 [FIX] l10n_co: no longer use l10n_co_verification_code
The l10n_co_verification_code field shouldn't have been added in
l10n_co. Instead users should simply append the verification code to
the VAT. This way the vatnumber module used by base_vat will handle
validation correctly.

Removing this is necessary because otherwise we give the impression
that the verification code doesn't have to be included in the VAT
number which makes base_vat complain.

The l10n_co_verification_code will be removed in master.

opw-781247
2018-02-05 16:19:48 -08:00
Joren Van Onder 50f6b19660 [IMP] l10n_co: set some default accounts on taxes
opw-781247
2018-02-05 16:19:48 -08:00
Joren Van Onder a7ca77ce7f [FIX] l10n_co: IVA Compra tax increased to 19% in 2017
opw-781247
2018-02-05 16:19:48 -08:00
Joren Van Onder 4dcb0c83d3 [IMP] l10n_co: set the correct default sale and purchase tax
The default sale and purchase tax are determined by the default_get
method of wizard.multi.charts.accounts. It will pick the sale and
purchase tax with the lowest sequence.

This adds a sequence field in account.tax.template.csv so the default
ones can be given a lower sequence.

opw-781247
2018-02-05 16:19:48 -08:00
Joren Van Onder 986a7550a5 [IMP] l10n_co: add some useful accounts
- Certain income accounts
- Accounts related to taxes
- Accounts related to the Rte Fuente Certificate Report

opw-781247
2018-02-05 16:19:48 -08:00
Géry Debongnie a98beb13db [FIX] web_editor: correct check of 'rules' property
see issue #22517
2018-02-05 20:24:23 +01:00
remi-filament 160ddc8567 [FIX] web_editor: correct check of property 'rules'
Port of PR #22603 from v9 to v10
See Issue #22517

 (#22679)
2018-02-05 20:21:45 +01:00
Nicolas Lempereur 32ba4a20ca [FIX] website_quote: website quote array on mobile
On website quote the main informations are displayed in 4 columns (2 for
headers, 2 for content) which can be ugly or having content overlaying
content on mobile.

This commit makes a change so mobile gets only two columns (header and
content).

opw-805200
closes #22808
2018-02-05 17:26:35 +01:00
Christophe Simonis bba0bc6ded [MERGE] forward port branch saas-11.2 up to eefca5d492 2018-02-05 17:21:35 +01:00
Christophe Simonis eefca5d492 [MERGE] forward port branch saas-11.1 up to 73610ff992 2018-02-05 16:20:48 +01:00
Christophe Simonis 73610ff992 [MERGE] forward port branch 11.0 up to d130f22432 2018-02-05 15:59:31 +01:00
Pierre Masereel 86c0045bef [REF] stock,stock_account: remove function do_transfer
We removed the function do_transfer that is deprecated since Odoo 10.0

We also remove useless call of functions with context 'debug'
2018-02-05 15:54:25 +01:00
qsm-odoo d130f22432 [FIX] web_editor: resolved failed forward-port
Forward-port https://github.com/odoo/odoo/commit/f5e7b866860436782ade53308da1ff725be1f124
failed for commit https://github.com/odoo/odoo/commit/78a556601e6b1e72c6d1ac776e31588dd2ffa28f
2018-02-05 15:30:18 +01:00
qsm-odoo 1ed7f219a5 [FIX] mass_mailing: complete commit 66aefb1723
- There should not be margins around lists
- There should not be editor overlay on the whole content
2018-02-05 15:18:55 +01:00
qsm-odoo 4999449c8a [FIX] mass_mailing: resolve failed forward-port
Forward-port https://github.com/odoo/odoo/commit/e00a447e2ca277697bd3e3cae5196e8177d3e867
failed for commit https://github.com/odoo/odoo/commit/94c954121efafcf01e0ae4a37425678642b5d4a5
2018-02-05 15:18:55 +01:00
Christophe Simonis 33bf2fe922 [MERGE] forward port branch 11.0 up to aed8f45346 2018-02-05 15:06:55 +01:00
Priyanka Kakadiya f787ac9edb [FIX] web: ActionManager: switch to unknown view
A traceback occurred on the Intrastat list view (Accounting >
Reporting > Management > Intrastat), when the user clicked on a row
of the list. This action only specifies 2 view modes: list and
kanban. When a record is clicked, the ActionManager tries to open
that record in a form view. As the view isn't in the action, this
request should be ignored. Before this rev., this case wasn't
correctly supported.
2018-02-05 14:55:30 +01:00
RomainLibert bb02b93c3a [IMP] resource: timezone support for global leaves
Purpose
=======

We should add some real timezone support for the global leaves
(resource.calendar.leaves without a resource assigned) currently it is
declared in UTC and never changed to the user or employee timezone.

Specification
=============

In order to support this, we have to add some choices for the user
defining the global leave. He can specify how the timezone is
configured,
  - no value is specified, we keep the dates in UTC then convert those to
    user timezone
  - current user timezone specified, we set the timezone of the leave to
    the company timezone
  - a timezone is specified, we keep this specific timezone
2018-02-05 14:45:42 +01:00
jem-odoo b9c8394247 [FIX] project: reset correct tour
Partial revert of 88ff096c96
Please, avoid bring things ...
2018-02-05 14:38:50 +01:00
Dhawal LimbuwalaandRomainLibert a76f8715fb [FIX] crm: Fix double smiling face issue.
Static help from xml and python generated help were both showing the new
smiling face, we needed to sort that out.
Python dynamic help now prevails over static help.

Co-authored-by: RomainLibert <rli@odoo.com>
2018-02-05 14:27:15 +01:00
Arnold Moyaux aed8f45346 [FIX] delivery: compatibility with batch_picking.
Use case to reproduce:
- Install delivery/batch picking
- Process 2 pickings in a batch.
-> Traceback due to ensure_one.

It happens because the action_done method in delivery is
not multi and batch_picking launch action_done on multiple
picking.

This commit makes action_done in delivery multi.
2018-02-05 14:03:54 +01:00
Christophe Simonis 2dbc1edef9 [MERGE] forward port branch saas-16 up to b503e79722 2018-02-05 13:42:10 +01:00
Yannick Tivisse bc87f9e988 [IMP] account: Translate message from 148d23915c 2018-02-05 13:27:52 +01:00
Prakash Prajapati 148d23915c [ADD] account: Display a rainbow man after the configuration steps
Purpose
=======

There should be a rainbow man when finishing to configure the accounting via the new config bar
2018-02-05 13:19:38 +01:00
Christophe Simonis b503e79722 [MERGE] forward port branch saas-15 up to 81003c82e0 2018-02-05 13:08:32 +01:00
Christophe Simonis 81003c82e0 [MERGE] forward port branch saas-14 up to f22cf5f711 2018-02-05 12:36:48 +01:00
Kinjal Mehta 4b78e71806 [IMP] crm: use partner's phone and email on the lead
When available, use the phone and email on the partner
When creating a partner, use the information already available

Task id: 35420

Closes #18660
2018-02-05 16:33:57 +05:30
Christophe Simonis f22cf5f711 [MERGE] forward port branch 10.0 up to e5f2e6d390 2018-02-05 12:02:02 +01:00
Arnold Moyaux dad3b4a663 [FIX] mrp: test_oee works during the weekend
It happens due to workcenter working hours,
the workcenter is not active during the weekend thus
the productivity loss are not counted in the oee.

This commit removes 2 days to the test date if it is
during the weekend.
2018-02-05 11:48:56 +01:00
Florent de Labarre 3d18214637 [FIX] stock: unpack wrong implementation of api.multi
The filtered on move_line_ids should be applied on move_line_ids of
package and not self.
2018-02-05 11:48:37 +01:00
Andrea Stirpe 9cba40fa89 [FIX] website_rating: typo
typo in the manifest of website_rating: auto_installable instead of auto_install
2018-02-05 11:32:08 +01:00
Christophe Simonis e5f2e6d390 [MERGE] forward port branch 9.0 up to b08185fc66 2018-02-05 11:30:42 +01:00
Yannick Tivisse 41a9eeff1a [MERGE] account: Apply some usability improvements
Purpose
=======

General improvements on the accounting application

SPECIFICATION
=============

1. On a supplier invoice, everyhting should be in the language of the user, not in the language of the supplier

2. list view on invoices and vendor bills: Add the amount VAT excl. and the tax amount in the columns
https://drive.google.com/file/d/0B9XXHE6oGlGJVXVaYjdUekxZbkE/view

3. remove tax scope in the list view of the taxes coming from the search more of the invoice line
https://drive.google.com/a/odoo.com/file/d/0B0ITmdw6h3ZrVWc4NVFQZVFpY0E/view?usp=drivesdk

4. Hide the Filters option (While venders bills search view showing only tax scope purchase and sales bills search view showing only tax scope sales so no need purchase and sales option of the filter, also hide active and inactive filters.)  https://drive.google.com/file/d/1rWzGr4X5SswUZLZXiNI15Qg4Oqb5wopC/view?usp=drivesdk

5. Payment terms
It should not be possible to delete a payment term that is used in another document.
Raise the following error : "You can not delete this payment terms as other records still reference it. However, you can archive it."
2018-02-05 11:06:54 +01:00
Priyanka Kakadiya d65856bdb2 [IMP] account: Prevent user to delete a payment term used in another document
Purpose
=======

Payment terms
It should not be possible to delete a payment term that is used in another document.
Raise the following error : "You can not delete this payment terms as other records still reference it. However, you can archive it."
2018-02-05 11:03:24 +01:00
Priyanka Kakadiya ccf6386acf [IMP] account: Remove 'Tax Scope' on list and search views
Purpose
=======

- Remove tax scope in the list view of the taxes coming from the search more of the invoice line

- Hide the Filters option (While venders bills search view showing only tax scope purchase and sales bills search view showing only tax scope sales so no need purchase and sales option of the filter, also hide active and inactive filters.)
2018-02-05 11:03:24 +01:00
Priyanka Kakadiya 7a7f959f74 [IMP] account: Add 'Amount VAT excl' and 'Tax amount' on invoices tree views
Purpose
=======

List view on invoices and vendor bills: Add the amount VAT excl. and the tax amount in the columns
2018-02-05 11:03:13 +01:00
Priyanka Kakadiya 83a437dd8f [IMP] account: Use the user lang instead of the supplier lang
Purpose
=======

On a supplier invoice, everything should be in the language of the user, not in the language of the supplier
2018-02-05 11:03:05 +01:00
Fabien Pinckaers 88ff096c96 [IMP] project: when doing a subtask, missing space after colon
[IMP] project: "Task Title">Title (could be named differently)
[FIX] project: don't assign a person on a task during the tour
Someone is already assigned as tasks are created from the kanban,
directly, with a responsible by default.
2018-02-05 10:53:29 +01:00
rmu-odoo ccaea94a66 [IMP] anlaytic: display total of balance/credit/debit on group_by
Purpose
=======

User not able to see his total balance per customer if user has several projects with same customer..

see here : https://www.odoo.com/web/content/3287924

Specification
=============

User should be able to see the sum of the debit, credit and balance when group by partner

The difficulty here is that debit,credit and balance are non-stored computed fields depending on the company and the date passed with the context. As these parameters depend on the user and the current date, we can't store the field. The simplest way to achieve this is to override the read_group method and compute the sum by hand when the values are aggregated (means when a group_by is applied).
2018-02-05 10:11:56 +01:00
Kirti Choudhary 1ce899d118 [IMP] resource: Set company_id on a resource.calendar on company creation
Purpose
=======

Currently, when creating a company, the resource calendar is created if not specified.

This lead to duplicated data. In Manufacturing > Configuration > Working Time, two same working time demo data('Standard 40 Hours/Week')

Specification
=============

Company should be correctly set in the calendar.
2018-02-05 09:40:41 +01:00
Adrian Torres 985c224e2f [FIX] sale_management,account_invoicing: proper uninstall
Previous to this commit, installing sale_managmenet/account_invoicing
would add some menu items for the `sale/account` module
(which contains all the logic for the sale/accounting flow)
and it would also install sale/account since it's a dependency, however,
horror would strike if one were to go and uninstall
sale_management/account_invoicing: nothing happens!

This is because these "facade" modules don't actually install anything, and
uninstalling an app does not force the uninstallation of its
dependencies, thus the `sale/account` module would stay installed, along with
the views introduced by the "facade" module.

To fix this, we create an uninstall_hook which forces the removal of
the ir.ui.menus that the "facade" modules introduce, so that the
functionality remains (for modules that depend on it) but it's not
user-accessible (because it should only be accessible to users if the
facade module is installed).
2018-02-05 09:25:08 +01:00
Nicolas Martinelli 352be6b6df [FIX] mail: date format
Use a date format in order to display the due date of an activity since
it is a date filed, not a datetime.

Closes #22614
opw-813736
2018-02-05 09:07:38 +01:00
Grzegorz Krukar 5a6123c699 [FIX] hr: don't use restricted field in domain
is_address_home_a_company has a groups on the field (introduced at c6b2fa47,
forward port of 2d777d5ade)

Fixes #22687
Closes #22686
2018-02-05 12:29:31 +05:30
Fabien Pinckaers e02e7517b3 [FIX] project, mail: improved empty list message 2018-02-04 17:06:52 +01:00
Fabien Pinckaers 8368f09858 [FIX] kanban: avoid empty message broken by folded columns 2018-02-04 16:39:44 +01:00