Commit Graph
115484 Commits
Author SHA1 Message Date
qdp-odoo 4a3df5256a [FIX] *: fixed decorators on copy() 2018-02-09 10:32:23 +01:00
jpr-odoo cfef0ad480 [IMP] expense: Highlight 'Submit to Manager' when there's an attachment
Purpose
=======

Only highlight the button when there's an attachment on the expense.
2018-02-09 07:31:38 +01:00
jpr-odoo ba892f7811 [IMP] hr_expense: Add 'Activities' on expenses
Add the "log activity" in the expense/report chatter
2018-02-09 07:01:02 +01:00
jpr-odoo 60d50dc0ec [IMP] hr_expense: Add an 'Attach Document' action button on expenses
Purpose
=======

Ease the process to add receipt from the mobile app

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

Add an "Attach Document" action button.

On mobile, it should open the camera app + have a link to choose a photo from the gallery
2018-02-09 06:59:56 +01:00
jpr-odoo b7aa439826 [ADD] web: Add a new widget to attach documents on a record
Purpose
=======

Add the possibility to easily attach a document on a record. That could be used for to attach receipts on expense for example.

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

Add a new widget (AttachDocument) to allow attach document from mobile/web directly on record form

After attaching document it will call action given on widget, that action will be a method name on given model
2018-02-09 06:59:56 +01:00
Prakash Prajapati dfdc06fe43 [IMP] base_settings,...: Improve usability to tend towards a perfect onboarding.
Purpose
=======

Lots of small things could be improved in the general settings (labels to rename, layout issues,...)

Specifications
==============

- auth_oauth: Remove useless title
- base_gengo,  : Fix layout issue due to missing oe_inline class
- base_setup: Modify Inter_company_rule labels
- google_calendar: Remove technical menuitem leading to general settings
- ir_actions_todo, ir_ui_menu, mail_message_subtype: Add a handle widget on the line instead of displaying the sequence
2018-02-08 08:04:10 +01:00
Laurent Smet b10932d8a5 [IMP] account: allow partial reconciliation with write-off
Suppose you have an invoice of 3000. You want to pay with paypal
    3 x 1000 but having of fee of 10 in each transaction. So, you attempt
    to reconcile 3000 with 3 x (990 + 10) that is not possible with the
    reconciliation widget.

Was PR #17489. Was task: https://www.odoo.com/web#id=23384&view_type=form&model=project.task&action=333&active_id=967&menu_id=4720
2018-02-07 16:48:53 +01:00
Dhaval Panchal 197a5f3887 [IMP] account: Display full instead of cut bullets on dashboard graphs
Purpose
=======

http://nimb.ws/q12J40
Bullets are cut in the middle, improve so we can see the full bullet.
2018-02-07 14:32:17 +01:00
Aaron Bohy 7937347d75 [IMP] web: invalidate JS cache for some models
Models concerned are 'ir.ui.view', 'ir.actions.act_window' and
'ir.filters'.

The DataManager's cache is invalidated at each create, update and
unlink operation. This cache stores actions (results of calls to
/web/action/load route), views (results of load_views RPCs) and
filters (fetched alonside views).

This rev. thus spares the user from reloading the webclient after
performing such operations on these models to see the changes in
the interface, as he only has to replay the action to see the
changes.
2018-02-07 08:49:58 +01:00
Martin Trigaux 20f2de8296 [FIX] resource: prevent adding wrong hours
e.g. negative hours, over 24h, start > end

Task id: 36965
opw-802816
Closes #20449
2018-02-06 19:58:42 +05:30
Mehul Patel 2a350c0934 [IMP] *: Add kanban view for smart mobile list view
See https://www.odoo.com/web#id=40281&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 for more information...
2018-02-06 15:23:44 +01:00
Nicolas Martinelli 4d213a3795 [IMP] purchase: consistency in method parameters
Make `_prepare_purchase_order` and `_prepare_purchase_order_line` using
consistent parameters.

opw-806807
2018-02-06 13:36:46 +01:00
Mitali Patel 3d913cd5f4 [IMP] website_quote: show product description only once ,In case of several variants of the same product template in the quotation
Purpose
=======

In website quote template
Example: I have 3 bikes with 3 different colors.
     On web page i have 3 blocks, 1 per variant.
This is confusing to have 3 times the same description...

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

In case of several variants of the same product template in the quotation, only show the product html description once (since it's common to all the variants)

- On the Preview Quotation page, display the product description only once.
- On the Quotation Template edition, display the suggested product and the product description only one.
2018-02-06 13:08:59 +01:00
rmu-odoo f6216a99df [IMP] sale,account: display tax amount when rounding method is perline
Display the tax amount on the sale/invoice line report

Task id: 31052
Closes #20531
2018-02-06 15:49:45 +05:30
Kinjal Mehta e25d0b3891 [IMP] project: Remove a shared stage if no linked record inside this project
Purpose
=======

Projects may have share columns. If we want to delete a stage on a project there's several use case

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

Different use cases:
- The stage is shared
	- There's no task in this stage for this project: Remove the stage from this project, don't delete it
	- There's a task in this stage (Active or not): Raise an error from the ondelete restrict
- The stage is not shared
	- There's no task in this stage: Delete the stage (unlink)
        - There's a task in this stage (Active or not): Raise an error from the ondelete restrict
2018-02-06 08:56:54 +01:00
Kinjal Mehta 05fc6f52d0 [IMP] web: combine user context with record context on 'deleteRecords' 2018-02-06 08:56:54 +01:00
Kinjal Mehta 89c07862d5 [IMP] crm, project,...: Prevent stage deletion when there's a linked record
Purpose
=======

Avoid having people getting some tasks lost in the "undefined" column. Because they won't understand what it means an how they achieve it.

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

Add an "ondelete='restrict'" on the stage field definition.
2018-02-06 08:56:54 +01:00
Nikunj Ladava b2d4238246 [FIX] account_payment: Remove the title argument form UserError
Purpose
=======

Actually UserError is not made to take a title actument.
2018-02-06 08:49:31 +01:00
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
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