Commit Graph
110861 Commits
Author SHA1 Message Date
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
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
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
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
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
Ankit Sathvara 0c1941ab15 [IMP] sale,account,pos: Improve label on config to active currencies
PURPOSE
=======

Simplify the way to activate currencies

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

On res.company :

Currency_id: options={‘no_open’: True}
oe_edit_only on “Activate more currencies”

In the list view of the currencies, replace the checkbox active by a boolean_toogle widger

There is normally a default filter on the currencies list view to only show the active currencies : this filter should be kept except if you arrive on this screen by clicking on "Activate more currencies"  from the res.company and from the settings. Only the menuitem Currencies should only show the active ones
2017-07-07 16:18:23 +02:00
Ankit Sathvara f41bd82f66 [ADD] web: Add new widget to toogle a boolean with a slider
Purpose
=======

Currently, it's not possible to activate a boolean on a non-editable list view without adding 2 buttons linked to a python method. These buttons aren't aligned and the result is not pretty.

This commit adds a new widget that allows to toggle a boolean record by record by clicking on the slider.
2017-07-07 16:18:23 +02:00
rmu-odoo c9f0352ac6 [IMP] account: Improve display and etup for bank accounts and journals
Purpose
=======

No way to fully set up a bank account from current form
Must go to journal form to simply apply bank sync, etc. Users cannot figure this out themselves, this is too much complicated

Also the meaning of Manual, Electronic, etc is not clear. What does it do? Field and options to rename or to explain very clearly in tooltip

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

- Add some useful fields on the bank accounts form view to configure it completely
- Add tooltips on some selection fields to explain the meaning of each selection
- Reorganize fields in groups to be more structured
- Improve the field display for account journals that are used in pos
2017-07-07 15:50:48 +02:00
Richard Mathot 4ccd54ccc1 [FIX] account: typo introduced by fwport bf51fe55a1 2017-07-07 15:04:00 +02:00
Christophe Simonis bf51fe55a1 [MERGE] forward port branch saas-16 up to 0f2b2c4e2b 2017-07-07 14:30:30 +02:00
Christophe Simonis 0f2b2c4e2b [MERGE] forward port branch saas-15 up to 514a1a76d8 2017-07-07 14:18:07 +02:00
Christophe Simonis 514a1a76d8 [MERGE] forward port branch saas-14 up to 5b28570769 2017-07-07 14:14:55 +02:00
Christophe Simonis 5b28570769 [MERGE] forward port branch 10.0 up to aef7748845 2017-07-07 14:13:07 +02:00
Christophe Simonis aef7748845 [MERGE] forward port branch saas-11 up to 96fa86779b 2017-07-07 14:07:47 +02:00
Christophe Simonis 96fa86779b [MERGE] forward port branch 9.0 up to 9cc799f511 2017-07-07 14:00:39 +02:00
Christophe Simonis 9cc799f511 [MERGE] forward port branch saas-6 up to 9a79b7b818 2017-07-07 13:59:13 +02:00
Christophe Simonis 9a79b7b818 [MERGE] forward port branch 8.0 up to 63ad8b9597 2017-07-07 13:56:47 +02:00
Martin Geubelle 5241d479b2 [FIX] *: add color option on m2m_tags widgets in kanban
There is a bit of magic in the kanban with many2many: the widget many2many_tags
is automatically set on many2many fields.

Since the previous commit, the `color_field` needs to be explicitly stated
in the options for the tags to be colored.

In kanban views where tags were previously colored, we thus have specified the
widget and the color option.
2017-07-07 13:40:50 +02:00
Martin Geubelle a29f7f671b [FIX] *: explicit color_field attribute for m2m_tags
Since the previous commit, the `color_field` needs to be explicitly stated
in the options for the tags to be colored.

The previous behaviour (always read the field `color`) was leading to server
warnings if the field was not present on the comodel.

Thìs commit set the `color_field´ for every many2many_tags on fields that have
a `color` field on the comodel.
2017-07-07 13:40:50 +02:00
Martin Geubelle e26ccdd0b6 [FIX] web: explicit color attribute for m2m_tags
Before this fix, the field 'color' was hardcoded in the m2m_tags widget,
which means that:
 - one couldn't specify another field (problem for custom models, with x_...)
 - if the related model didn't have the field 'color', a warning was raised
   by the server

Now, the color attribute needs to be specified on the widget options if one
wants to display colored tags.

If the color is not specified, the tags will be displayed in grey.
2017-07-07 13:40:36 +02:00
Richard Mathot bf32940142 [FIX] sale: non-admin users may not have read access on ir_config_parameters
Before this commit, this line prevented users to open their sales
orders.
2017-07-07 12:43:57 +02:00
Yannick Tivisse 15aa164eaf [FIX] account: Fix forward-port mismatch on res_config.py 2017-07-07 11:38:16 +02:00
Deep Patel b8ca0c6985 [IMP] sales_team : assign the Sales channel on salesmen creation
Purpose
=======

When a new sales user is created, user is not in any team. The dashboard doesn't make any sense and he wouldn't know how to start working

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

On salesman creation, the user should be assign to a Sales channel IF there is only one sales team of this type.
2017-07-07 10:13:02 +02:00
Richard Mathot 63ad8b9597 [FIX] tools: prevent crashes with Pillow >= 4.2.0
From Pillow 4.2, it is forbidden to save RGBA images as JPEG
( https://github.com/python-pillow/Pillow/commit/e4d6223c944cf44c468cc65a560b94dfcf351a62 )

A crash was occurring when loading demo JPGs as
image_resize_and_sharpen() was silently changing image mode to RGBA.
Now we ensure that we return the original image mode.

We also avoid crashes when converting from PNG to JPG
2017-07-07 10:11:40 +02:00
Raphael Collet a1f1f85be2 [FIX] workflow: insertion of duplicates in many2many relation 2017-07-07 09:47:04 +02:00
Christophe Monniez c1e154bee1 [FIX] tools: ensure xlsx worksheet names are valid
When xlsx is used, the worksheet name may be longer than 31 chars and
raise an exception.

This fix will troncate the name up to 31 chars and will remove invalid
chars.

Similar patch was already done at 0122c05eff for xlwt

xlsxwriter 0.9.8 has added a parameter worksheet_class=None so adding **kw to be
compatible with installs with the latest version (requirements.txt asks for
version 0.9.3)

Closes #18077
opw-751157
2017-07-07 09:44:09 +02:00
qdp-odoo 1fda216887 [FIX] l10n_fr_certification: set auto_install to False
Due to recent decision by the French government this might not be mandatory for french companies
2017-07-06 17:01:33 +02:00
pashute 2454dce7c5 [CLA] signature for pashute
Done at #18082
2017-07-06 17:01:24 +02:00
Yannick Tivisse afefa1b771 [FIX] account: Display the correct records on 'Invoice' button
Currently it shows all the invoices, not the sales invoices that are paid or validated
2017-07-06 16:47:40 +02:00
Yannick Tivisse 1f277a3572 [FIX] account: Bring back the 'Invoice' stat button on partner form
It has accidentally disappeared in saas-15.
2017-07-06 16:17:23 +02:00