Commit Graph
110883 Commits
Author SHA1 Message Date
Thibault Delavallée 54ec442780 [FIX] website_project(_issue): correct class name for status table
Class status_table is actually o_my_status_table. Not really wonderful
but at least it matches what is already used in other portal modules.
2017-07-11 11:28:18 +02:00
Géry Debongnie bd4e026786 [FIX] purchase: fix another invalid option in xml
There was an extra ', which makes the options dictionary totally
invalid.  Because of this, it is impossible to open the 'Purchase'
application (it causes a traceback)
2017-07-11 10:44:58 +02:00
Géry Debongnie f39dee3e59 [FIX] purchase: fix invalid options in xml
There was an extra ', which makes the options dictionary totally
invalid.  Because of this, it is impossible to open the 'Purchase'
application (it causes a traceback)
2017-07-11 09:24:11 +02:00
Raphael Collet e25bcf41e2 [REF] models: group recomputation triggers to minimize the number of requests
When several fields are modified and trigger the same recomputations, the same
SQL queries were made to determine the records to recompute, because each field
was processed independently.  In order to avoid duplicated SQL queries, process
the triggers of the modified fields altogether.

This reduces the number of queries by 15% to 25%, depending on the number of
computed fields.
2017-07-10 16:18:33 +02:00
Raphael Collet c47a41b8b4 [IMP] mail: avoid useless query
Replace `model.search([('id', 'in', ids)])` by `model.browse(ids)`, which is
safe because `ids` come from reading a many2one field.  The performance impact
is negligible.
2017-07-10 16:18:33 +02:00
Wolfgang Taferner 170db9e03d purchase: order field must be changed only in invoice draft state 2017-07-10 15:57:47 +02:00
Raphael Collet 8b5257b1e5 [IMP] base: optimize method _add_manual_fields by making less queries 2017-07-10 15:03:04 +02:00
Raphael Collet 439fa82676 [IMP] models: improve code of read()
Remove the `ORDER BY` clause from the query.  The values fetched from the
database are stored in the records' cache, and their ordering is irrelevant.
2017-07-10 15:02:44 +02:00
Raphael Collet ffd93a9937 [REF] models: do vacuum of transient models by cron only 2017-07-10 15:02:44 +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
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
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