Commit Graph
94222 Commits
Author SHA1 Message Date
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
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
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
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
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
Jérome Maes 3186d86b8b [FIX] im_livechat : display the rating smileys from the origin server 2015-03-05 16:31:18 +01:00
Jérome Maes 3d3c364e47 [FIX] marketing_campaign : add domain on filter field of segment to avoid applying filter domain on campaign object (which may be different of the one of the filter, causes crashes) 2015-03-05 16:31:18 +01:00
Jérome Maes e86a86d108 [FIX] mass_mailing : overflow on mail template kanban card preventing to click on 'show more' button 2015-03-05 16:31:18 +01:00
Jérome Maes 2f6204aca4 [FIX] website_forum : avoid server error when sharing false url on forum. Properly display error message. 2015-03-05 16:31:18 +01:00
Jérome Maes 95a1e6b4fe [FIX] website_event : display the located date instead of the utc date. Add the timezone to be sur the visitor understand. 2015-03-05 16:31:18 +01:00
Jérome Maes d988cdd494 [FIX] project : style of kanban status as label in form view 2015-03-05 16:31:18 +01:00
Goffin Simon 6c9afff057 [FIX] account_payment: amount in payment order is not correct.
Amount in payment order is not correct if the account move
line has already been paid by another way. The right amount is
in the residual field related with move_id to the account invoice.

opw:628903, 628428
2015-03-05 15:37:20 +01:00
Denis Ledoux c9a72b79e4 [FIX] web: size of text fields textarea when invisible by default
Text fields, or char fields having widget="text",
were not sized correctly when the field was not
visible by default, ans was set visible thanks
to attrs and other fields values.

opw-629394
2015-03-04 17:56:05 +01:00
Raphael Collet c204bf2a82 [FIX] report_ir_model: fix template with inappropriate usage of t-field 2015-03-04 17:46:54 +01:00
Thibault Delavallée 7b4a82884d [FIX] website_forum: fix crash in convert answer to comment
raised by last commits in saas-6. Browse user object as superuser
to avoid access issues.
2015-03-04 17:15:57 +01:00
Goffin Simon ab9f02cdee [FIX] account_followup: overdue payments must exclude payments not yet due.
Before this revision, the overdue payments report contained all payments due,
including the ones in the future, that are not actually due yet.

opw-628874
2015-03-04 17:12:23 +01:00
Thibault Delavallée b992343ec5 [FIX] website_event, website_event_sale: when an event is sold out do not
allow to choose tickets, even without having a register button. Tell directly
it is sold out.
2015-03-04 16:34:38 +01:00
Thibault Delavallée ff4bbdd356 [FIX] website_forum: crash when xml files holdign qweb content
contain a dot in the name.
2015-03-04 16:06:12 +01:00
Thibault Delavallée 56090ded69 [FIX] event_sale: wizard to edit registrations was failing due to some
strange construct in the context of an action. Basic code works well, no need to
try to do dirty things in the context.
2015-03-04 15:38:58 +01:00
Christophe Simonis bc2fd0515b [MERGE] forward port of branch 8.0 up to 017f346 2015-03-04 15:16:10 +01:00
Laetitia Gangloff f18304c0cd [IMP] account: Add auto_join on account move line
As the number of journal entries can grow quickly, domains such as
[('move_id.state', 'in', ['draft'])] will degrade very quickly.
Fixes #5573
2015-03-04 14:55:17 +01:00
Leonardo Donelli 017f346dd3 [FIX] product: keep partner to base pricelist
When a rule is based on another pricelist, the partner was not passed to the
base pricelist.
2015-03-04 14:33:06 +01:00
Leonardo Donelli 667e42868b CLA 2015-03-04 14:33:06 +01:00
Christophe Simonis 7bfd56d9c6 [FIX] base: correct test
Bad things happen when you write your code for master and
commit it in 8.0 without testing...
2015-03-04 13:38:36 +01:00