Commit Graph
99161 Commits
Author SHA1 Message Date
Nicolas Martinelli 2cc09e86af [FIX] web: on_change event on one2many fields was not fired if an attribute is mandatory (courtesy of Christophe Matthieu)
opw: 626974
2015-03-09 16:20:36 +01:00
Christophe Simonis 6cce8d5a55 [FIX] website_forum: remove duplicated method 2015-03-09 16:07:44 +01:00
Christophe Simonis 0894bdafe2 [MERGE] forward port of branch 8.0 up to 5e3e41b 2015-03-09 16:06:29 +01:00
Frédéric van der Essen 18a44a5476 [FIX] point_of_sale: automatically add a default payment method when entering payment amount if there was none. 2015-03-09 15:46:28 +01:00
Frédéric van der Essen c11edf0423 [FIX] pos_loyalty: hilight the reward button if there's available rewards. 2015-03-09 15:33:43 +01:00
Frédéric van der Essen 6ca0ccbd57 [FIX] point_of_sale: centering the icon in the circle. 2015-03-09 15:33:43 +01:00
Frédéric van der Essen 1e4b6b87b7 [FIX] point_of_sale: larger payment buttons 2015-03-09 15:33:43 +01:00
Christophe Matthieu 1b71399de2 [FIX] ir.qweb: The name of the template should not added to the first tag of a template. 2015-03-09 15:28:49 +01:00
Pankaj Joshi 02cc08586b [ADD] fa-icon for website applications dropdown menu 2015-03-09 15:19:28 +01:00
qdp-odoo 5e3e41b730 [FIX] mrp_repair: removing deprecated and confusing tooltip on guarantee_limit 2015-03-09 15:12:31 +01:00
Olivier Dony 3a8ce072cd [FIX] sale_stock: context is generally frozen in 8.0 2015-03-09 15:03:19 +01:00
Olivier Dony 64da3c5e17 [FIX] website_forum: hide questions coming from abusive users
When a user's karma is driven to a negative value
due to repeated abuse or the posting of spam,
automatically hide all their posts from public
view.
This will reduce the effectiveness of their abuse,
and simplify moderation and cleanup.
2015-03-09 14:41:14 +01:00
Olivier Dony 13476c844d [FIX] fields.html, forum: opt-in stripping of @style attrs
For public-facing HTML content provided by the user,
`<style>` tags and `style` attributes should be stripped
automatically, as they can easily be abused to deface
pages for abusive users and spammers.
<style> tags were already stripped, the optional `strip_style`
for fields.html enables the automatic stripping of style
attributes.

This is opt-in because custom style attributes are still
desirable in trusted HTML fields.
2015-03-09 14:41:14 +01:00
Christophe Simonis 40d9f7c7d8 [FIX] mrp: correct import 2015-03-09 13:30:01 +01:00
Christophe Simonis 449f601f8e [MERGE] forward port of branch 8.0 up to 948befb 2015-03-09 12:40:57 +01:00
Denis Ledoux 948befbb34 [FIX] mrp: set decimal precsion on qty field for produce wizard
In manufacturing bom lines, digits_compute is set
to the precision 'Product Unit of Measure'.

It should be the case as well in the produce wizard,
otherwise you won't be able to change the quantity
within this wizard to the according product quantity precision

opw-629657
2015-03-09 12:23:14 +01:00
Denis Ledoux 20173836b1 [FIX] mrp: preserve bom lines order within produce wizard
BOM Lines are ordered by a sequence field,
the "handle" widget makes even possible the lines reordering.
The order was respected within the mrp.production
(in o2m products to consume and consumed products)
but not within the mrp.product.produce wizard

opw-629629
2015-03-09 12:14:24 +01:00
Richard Mathot 4e8eacdbbf [REM] account: unused view call
This view was hidden before saas-6, it seems it is a leftover from old
code.
2015-03-09 12:11:34 +01:00
Christophe Simonis 416f0246ac [MERGE] forward port of branch saas-3 up to 4a3c471 2015-03-09 12:03:22 +01:00
Denis Ledoux d93c4bef1d [FIX] mrp: always use float_compare to compare floats
When comparing a float value to 0.0,
it can happen the float value is very near to 0.0,
but not exactly 0. This is the point to use float_compare,
```float_compare(qty, 0, self.pool['decimal.precision'].precision_get(cr, uid, 'Product Unit of Measure'))´´´
will compare qty to 0, with the product unit of measure precision (0.01 by default).
So, if qty is equal to 0.00001, this means the qty is regarded as equal to 0.0.
(float_compare will return 1).
2015-03-09 11:49:41 +01:00
Christophe Matthieu fb8da05e42 [FIX] website: snippet editor: Many2one autosearch a location for the event is working, but result is not saved 2015-03-09 11:26:17 +01:00
Christophe Simonis 4a3c4713e9 [MERGE] forward port of branch 7.0 up to 209ce6f 2015-03-09 11:24:32 +01:00
Thibault Delavallée 9497af4905 [FIX] website_event_track: do not copy tracks and sponsors when duplicating an event 2015-03-09 10:21:02 +01:00
Xavier Morel 8bc89de4d6 [IMP] ws doc: selectivity of the highlight right-alignment 2015-03-09 09:53:00 +01:00
Fabien Pinckaers 6a7f17a057 [IMP] improved usability: revenues & quotes on opportunities, no wizard for opportunity to quotes 2015-03-07 20:34:27 -08:00
odoo-tac 209ce6f48c [FIX] Fixed a typo in project.py exception message 2015-03-06 17:11:57 +01:00
jesusVMayor 591d207ff9 [FIX] sale: reset state of exception procurements only
During the delivery of a picking the procurents in exception or canceled are
reset to confirm state.
As the list of picking was a list shared in the loop, other procurements may be
reset to confirm as well.
2015-03-06 16:00:54 +01:00
Jérome Maes 53fa36df63 [IMP] base : when create a inherited view, the default mode should be 'extension' as the rest of field are already correctly set. 2015-03-06 15:57:16 +01:00
jesusVMayor c040a26120 [CLA]Jesús Ventosinos Mayor. 2015-03-06 15:54:24 +01:00
Frédéric van der Essen 6e359fce07 [FIX] point_of_sale: crash when submitting order 2015-03-06 15:16:12 +01:00
Frédéric van der Essen 102a5392c9 [FIX] point_of_sale: correctly load new partners when there were none before, and only reload customers. 2015-03-06 15:16:12 +01:00
Frédéric van der Essen 448c431829 [FIX] point_of_sale: the numpad popup would not display properly due to some sizing differences ... 2015-03-06 15:16:11 +01:00
Frédéric van der Essen 8d37584b6c [FIX] point_of_sale: fix crash when picking an element in the list popup 2015-03-06 15:16:11 +01:00
Fabien Pinckaers 0c07d00bc8 [IMP] usability improvement: no bugdet lines in poistions 2015-03-06 05:54:49 -08:00
Olivier Dony 0d60cdfd68 [FIX] search view: restore the disable_custom_filters flag effect
This search view option was properly set but not
observed by the search view itself.

This caused all related links and smart buttons
to open a list of records that was wrongly filtered,
as soon as a default filter was applicable to the
target action (e.g. with default filters gloablly
set per model, not per action).

This regression was introduced at refactoring
commit d8d6311b50
2015-03-06 13:34:32 +01:00
xmo-odoo d9c9ac72da [FIX] export: decode Field strings before comparisons
Allows exporting fields whose string is a non-ascii *byte*string (rather than unicode).

backport of 7286f4e424 fixing #773 to branch 7.0 by request of @flotho
2015-03-06 13:12:50 +01:00
Josse Colpaert f1a9ab7025 [FIX] stock: typo not in 2015-03-06 13:00:31 +01:00
Aaron Bohy a6919adf70 [FIX] Web: base.sass: FormView: overflow in One2Many fields
Override the "overflow: auto" rule of view-manager-content in One2Many
fields to remove useless scrollbar displayed in One2ManyKanban.
2015-03-06 11:11:31 +01:00
Josse Colpaert b886e11e47 [IMP] Stock: When changing wh config: check before deactiving locations fixes #4985
When changing e.g. from 3-step to 2-step, we would like to deactivate a location,
but maybe the user still wants to use that location e.g. in a rule on the product, so do a check
if it is not used in some route not related to the warehouse.
2015-03-06 11:06:38 +01:00
Christophe Matthieu c9d7803675 [FIX] website: backend editor don't display the default value and don't exit the fullscreen mode when click on escape 2015-03-06 10:25:31 +01:00
Wolfgang Taferner 6b1f475bb5 [FIX] Missing possibility to define a file_type on creation/write of a
document which leads to an error message in case the indexer could not
retrieve the content type automatically.
2015-03-06 10:10:41 +01:00
Nicolas Lempereur 4f50b1f302 [FIX] planner_crm: fix strong tag mismatch 2015-03-06 08:37:39 +01:00
Fabien Pinckaers c4754c0e33 [IMP] planner typos 2015-03-05 16:53:59 -08:00
Laurent Mignon 6915ded51b [FIX] fixes #5616: use informations from self_fields to populate the ir.model.fields
Fields declared with the new API are converted to column only if they are storable. Use the informations from the field definitions to fill the ir.model.fields table since columns only contains stored field
2015-03-05 22:08:51 +01:00
Josse Colpaert 872a80c419 [IMP] Stock: Not only service products can be invoiced after shipment, but also lines without product
Purchase lines or sale order lines without product should have the same behaviour
when invoicing based on shipments as those with services
2015-03-05 18:09:11 +01:00
Christophe Simonis 5b6617a5e4 [FIX] base: correct m2o design for active items. 2015-03-05 17:29:00 +01:00
Christophe Simonis bab519fd8a [FIX] web: do design changes in sass file!
8ab68d8 introduced css changes not present in sass file.
2015-03-05 17:26:17 +01:00
Denis Ledoux 3508104c97 [FIX] web: autocomplete dropdown wrong initial position
This issue is related to
http://bugs.jqueryui.com/ticket/8656
http://bugs.jqueryui.com/ticket/8749
https://github.com/jquery/jquery-ui/commit/d693ce5324f6f3be8479ef083e4eaf3c705ef043

When opening a form view, scrolling down,
and opening a many2one dropdown menu,
the dropdown menu wasn't directly under its input.
It could be really problematic when the menu was not even
visible on the current browser page (when you had to scroll down
a lot to access the many2one input).

The issue was resolved as soon as you opened the dropdown
menu a second time, and did not happen if you didn't scrolldown.
But, on initialization, the dropdown menu wasn't at the right position.

Fixes #5603
opw-629601
2015-03-05 17:23:41 +01:00
Thibault Delavallée b136f83a87 [FIX] mass_mailing: web bounce exchange banner: removed overkill
css causing issues when editing text (multilines that disappear, ...).
2015-03-05 17:15:53 +01:00
Jérome Maes 63e5341081 [FIX] im_livechat, rating : add a cron in im_livechat to delete empty anonymous sessions. And change the res_name of a rating record for im_chat.session : keep the same notation as in reporting instead of uuid. 2015-03-05 16:31:18 +01:00