Commit Graph
111138 Commits
Author SHA1 Message Date
Christophe Simonis e26d85e836 [MERGE] forward port branch 8.0 up to 49407e46cb 2017-07-10 14:58:37 +02:00
Goffin Simon 2b307b37ff [FIX] product: Print Price list
When printing a report, if the company logo or report layout
is not set, it will return an action (ir.actions.act_window)
to set the layout or the logo.
But this change of actions does not forward the data parameters
to print the price list. So it raised an error.

PS: the problem comes from function "set_report_template" which doesn't
take the data parameters into account when it is called from "res.company.report.form".

opw:749724
2017-07-10 14:50:04 +02:00
jpr-odoo 711455f9b9 [IMP] account: Print payment receipts from Print menu.
PURPOSE
=======

Users don't find where to print the payment receipts because it's under the `Action` menu

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

Allow to print the payment receipt pdf directly from the print menu
2017-07-10 14:07:56 +02:00
Goffin Simon fafdd027fa [FIX] sale: Wrong taxes amount printed in SO
Steps to reproduce the bug:

-Create a tax group TX with two taxes: 15% and 5%
-Create a SO with one line and set TX on it
-Print the SO

Bug:

Only the first tax of TX was taking into account

opw:748923
2017-07-10 14:05:20 +02:00
Mohammed Shekha 6cb6803975 [FIX] mail: prevent chat window buttons to wrap on multiple lines 2017-07-10 14:01:49 +02:00
qsm-odoo 7ebedd9438 [MERGE] website, *: review web(site) editor UI
* web, web_editor, web_planner

See sub-commits for details.

task-32191
2017-07-10 13:38:32 +02:00
stefanorigano 330e0cccd4 [IMP] web_editor, website: preserve tabs in modals 2017-07-10 13:37:40 +02:00
stefanorigano 9ac73d6873 [IMP] web_editor: refine @o-we-color-paper color + 'Well' color 2017-07-10 13:37:40 +02:00
stefanorigano 48aece3835 [FIX] web_editor: fix 'Video Dialog' video sizing 2017-07-10 13:37:40 +02:00
stefanorigano 4c334fc474 [IMP] web_editor: 'Media Dialog' library navigation btns design 2017-07-10 13:37:40 +02:00
stefanorigano 1a91a8f0a1 [IMP] web_editor: only uppercase main modal buttons
Uppercase style shouldn't be applied to all btns by default.
The usage should be set progressively, following an importance criteria.
If we design everything as important (uppercase), nothing will be
perceived as important anymore.
2017-07-10 13:37:40 +02:00
stefanorigano 39baec94d1 [IMP] website: fix design of 'Rename' & 'Delete' modals 2017-07-10 13:37:40 +02:00
stefanorigano e37b708292 [IMP] website: hide menu '.divider' if not necessary 2017-07-10 13:37:40 +02:00
stefanorigano 2cbe19e3f1 [FIX] web_editor: fix preservation mixin of '.btn-default' 2017-07-10 13:37:40 +02:00
stefanorigano 72e0f8a056 [IMP] website: fix design of 'Edit Menu' modals 2017-07-10 13:37:40 +02:00
stefanorigano 4c6e4936de [IMP] website: improve design/UX of SEO modal 2017-07-10 13:37:40 +02:00
stefanorigano 95c7f65365 [IMP] website: add close icon mixin 2017-07-10 13:37:40 +02:00
stefanorigano 196b9dacd4 [FIX] web_editor: preserve links inside labels 2017-07-10 13:37:40 +02:00
stefanorigano 4856b27d5d [IMP] web_editor: improve <select/> tags design 2017-07-10 13:37:40 +02:00
stefanorigano cae48bd872 [IMP] web_editor: make compact design for 'o_switch'
- Cleaner design
- Reduce element size
- Use LESS variables to simplify maintenance.
- Switch from ‘em’ to ‘ex’ measure units.
- Remove :hover state (not useful).
2017-07-10 13:37:40 +02:00
stefanorigano d2251dcb0e [IMP] web_editor: improve margins system UX
- Clearly show margins' size on editing

- Top margin icons/cursors: by an user point of view, adding a
  margin-top will move the content 'down', so change handler's icons
  and cursors accordingly

- Highlight handles during editing and if previously edited

- Vertically center handle's icon if enough room is available
2017-07-10 13:37:40 +02:00
stefanorigano 99b205949b [IMP] website: remove useless css rules
The entire .o_menu_systray is hidden in mobile, so no need for extra
mobile style.
2017-07-10 13:37:40 +02:00
stefanorigano 219edc67a2 [IMP] web, web_planner: remove navbar unnecessary borders
Although a dark 'border-bottom' is necessary in some occasions (to add
contrast between the page's content and the navbar itself), the other
borders were totally unnecessary.

Moreover, having a complete border causes complications to calculate the
sidebar height and to manage buttons' size and line-height.

This fix will keep the border-bottom only, removing the other ones.
Compensation rules ("- 2px") are no longer necessary.
2017-07-10 13:37:40 +02:00
Martin Geubelle f6985ca21c [FIX] purchase: correctly link purchase order and invoice
When creating an invoice from the purchase order, the later one wasn't correctly
linked anymore (and the invoice couldn't be found through the stat button).

The link is actually done with an onchange at the invoice creation.

The problem here was that the readonly attribute was set on the fields
description but it was not overriden in the view. The onchange was taken into
account in previous versions but with the new views, the correct behaviour has
been implemented: if a field is readonly, the onchange won't write on it.
2017-07-10 13:00:53 +02:00
Mehul Patel 548dd8bec7 [IMP] hr_expense: Review expense sheet form view
PURPOSE
=======

Improve the expense sheet form view.

From SaaS 14, one expense sheet will generate one journal entry. So there is no need for a button for journal entries anymore.
The form view of the expense sheet needed to be reviewed

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

Remove "Account Entries" button
Clickable to see related journal entry
2017-07-10 12:47:00 +02:00
Raphael Collet faacacb45f [IMP] registry: check existence of tables with a single SQL query 2017-07-10 12:38:25 +02:00
Richard Mathot 9e08da51ef [FIX] product: allow to create products even when dumb people do delete default category
(or at least give 'em a hint on what's happening)

opw-751701
2017-07-10 10:46:47 +02:00
Lucas Perais (lpe) 8bd56bb466 [FIX] website_sale, website_sale_options: fixing prices of product vs options in the modal
Before this commit, having an option on a product, the modal had every prices set to the one of the option
This was brought about by commit c8a434306f which was designed for the pricelists and striked prices

After this commit, we keep the intended behavior for pricelists while controlling that options would not mess up the modal
The prices that are displayed are the right ones.

OPW 744943
GH-17342

[FIX] website_sale, website_sale_options:fix the modal of options

Before this commit, the add quantity button were not working at all

This commit corrects the behavior by browsing the dom for anything that looks like a product section

Closes #17353
2017-07-10 10:44:43 +02:00
davemc50 e2739d6e49 [IMP] account_cancel: Update manifest description
Added more detailed description of what the module does.
2017-07-10 10:40:11 +02:00
David McNeill 12131b68ed [CLA] Signature for davemc50
Sign Odoo Contributor License Agreement

Signed and included.
2017-07-10 10:38:51 +02:00
Jérome Maes 411102d31c [MERGE] rating,rating_*: statistics for parent objects
These commits brings the ability to get rating stats
for parent models. Simplify the way to get rating
for project or livechat channel, but using a parenting
system, inspired by mail.alias.

Also customize search view for objects: rating for
project does not have the same filter as rating
for livechat.

It also provide grouping on rating label and other
UX improvements
2017-07-10 09:43:33 +02:00
Rohan Patel cc6fc799a6 [IMP] im_livechat: set the 'rater' partner
If user is logged (example: portal user), set the
partner_id on rating.
2017-07-10 08:49:22 +02:00
Rohan Patel 184e6f68c6 [IMP] im_livechat: rating improvements
This commit display rating on kanban card
of livechat channel, in order to directly
jump on the kanban rating used to compute
the customer satisfaction on the last 7 days.
Default filters are used.

A reporting menu entry is also added to have
access to global livechat satifaction reporting
with graph and pivot views.
2017-07-10 08:49:12 +02:00
Jérome Maes 7702bbf42c [IMP] rating_project: simplify action to see project rating
Rating improvements :
- use parent res_model/res_id in action domain for
performance issue
- satisfaction on project kanban card redirect to
rating kanban with default filter
- UX improvements
- Clean method generatign action to rating kanban,
according to the project settings (use tasks and/or
issues).
2017-07-10 08:46:27 +02:00
dbh 145853c9c7 [IMP] rating,rating_project,livechat: primary views
Rating is used on different objects that
don't have the same business needs.
We want rating module to provide the common
needs (filter, views, basic actions, ...) and
other module will extends these basic tools
to complete their specific business needs.
2017-07-10 08:46:27 +02:00
dbh d55d168cd4 [IMP] rating: UX improvements
This commit adds
- a button to redirect to rated document
on the form view
- only display the customer if there is one
on kanban card
2017-07-10 08:46:27 +02:00
dbh f784c26cf9 [IMP] rating: add groupby on rating_text
This commit change field rating_text into
selection computed field.

In customer satifaction, we want to be able
to group by note, but not use the rating value
itself. So a label representing provide 3 satisfaction
levels : 'Dissatisfied' (1-3 points), 'Not satisfied'
(4-7 points) and 'Satisfied' (8-10 points).
2017-07-10 08:46:27 +02:00
dbh 798c1da440 [IMP] rating: parenting model mecanism
This commit provide a parenting system for rated
record, such as mail alias.
For instance, 'project.project' is the parent of
task and issue objects.

This will allow to have a global view of customer
statisfaction on 'parent' objects (project and
livechat channel for now).

To do so, the rating
mixin provides 2 methods that need to be
overriden: `rating_get_parent_model_name` and
`rating_get_parent_id`.
2017-07-10 08:46:27 +02:00
Richard Mathot 57089bbc78 [FIX] account: wrong variable name due to fwport 2017-07-10 08:40:02 +02:00
Richard Mathot 7522e29927 [FIX] event: a user may not have set its timezone 2017-07-10 08:21:16 +02:00
Joren Van Onder 2c605ab08f [FIX] point_of_sale: allow easier template extension of PosTicket
Fixes #17704
2017-07-07 17:57:28 -07:00
Joren Van Onder 49407e46cb [FIX] sale_margin: convert standard_price to SO currency before using 2017-07-07 16:01:36 -07:00
Invitu 7102fcfc4f [FIX] point_of_sale: also clone orderline price
Otherwise during e.g. bill splitting of an orderline which had it's
price overridden you end up with the original price again.

Fixes #17810
Closes #17811
2017-07-07 16:00:38 -07:00
Elkasitu 0e39cc9345 [IMP] payment: Add search for token_implemented
Since subscriptions only accept tokenizable (credit-cards and such)
payment options, we must use the token_implemented field to filter out
non-tokenizable payment options (such as wire transfer) and because
token_implemented is a computed field, a search function had to be
created
2017-07-07 20:06:41 +02:00
Hiral Bhavsar 182c8d2815 [IMP] account, crm, sale, sales_team, website: Rename the module 'sale_contract' to 'sale_subscription' and 'website_contract' to 'website_subscription'. 2017-07-07 20:06:41 +02:00
Olivier Dony e8271ffcc7 [FIX] mail: avoid attaching auto-notifications to foreign parents
`parent_id` fields are common in many models, and thus default values
for those fields are sometimes passed in the context.

Because mail.message also has `parent_id` field, it would automatically
use the default when an automatic message was being posted. While of
course, the parent_id value comes from a different model.
This "adoption" by a random "parent message" is unexpected,
not desired, and it can even cause a very surprising AccessError if the
parent message is not readable by the user.

Forcing the `parent_id` value during the creation of an automatic message
avoids this confusion.

One way to trigger the bug was to use the "subtask" stat button to create a
child subtask for a project task (it relies on the parent task ID
passed in the context)
2017-07-07 18:34:54 +02:00
Mehul Patel 5291ba97ee [IMP] stock_account: Put stock input,output,valuation accounts required if Perpetual stock valuation
PURPOSE
=======

As a "user"
I want to "know which fields I'm supposed to fill in to have a workable configuration"
In order to "avoid getting error messages later"

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

When I select "Perpetual" in Inventory Valuation on the product category, it should be great to put Stock input,output,valuation accounts fields required.
2017-07-07 17:18:55 +02:00
Pragnesh Mistry fdc13474e7 [IMP] account: Add the possiblity to filter and group by analytic accounts
PURPOSE
=======

Add the possibility to filter on analytic accounting in the invoices report

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

Accounting > Reporting > Invoices (Business Intelligence)

- Add filter / group by analytic account
- If possible, filter/group by visible only if "Analytic Account" group enabled in configuration
2017-07-07 17:10:48 +02:00
Yannick Tivisse d9b2045bcc [FIX] sale: Fix attribute redefinition on views
Github got me on that one
2017-07-07 16:43:02 +02:00
Vandan Shah b0650464fe [IMP] base: Rename xmlid correclty from report to base
Grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep grep
2017-07-07 16:32:22 +02:00