odoo/odoo.git
9 years ago[FIX] website_forum_doc fixes
Fabien Pinckaers [Tue, 2 Dec 2014 13:56:19 +0000 (14:56 +0100)]
[FIX] website_forum_doc fixes

9 years ago[FIX] links and threads
Fabien Pinckaers [Tue, 2 Dec 2014 13:48:13 +0000 (14:48 +0100)]
[FIX] links and threads

9 years ago[IMP] karma retag checks
Fabien Pinckaers [Tue, 2 Dec 2014 13:07:51 +0000 (14:07 +0100)]
[IMP] karma retag checks

9 years ago[IMP] Tags on discussions and links
Fabien Pinckaers [Tue, 2 Dec 2014 13:04:28 +0000 (14:04 +0100)]
[IMP] Tags on discussions and links

9 years ago[IMP] css forum
Fabien Pinckaers [Tue, 2 Dec 2014 12:58:25 +0000 (13:58 +0100)]
[IMP] css forum

9 years ago[IMP] default demo data forum
Fabien Pinckaers [Tue, 2 Dec 2014 12:56:55 +0000 (13:56 +0100)]
[IMP] default demo data forum

9 years ago[IMP] Layout of forum
Fabien Pinckaers [Tue, 2 Dec 2014 12:47:31 +0000 (13:47 +0100)]
[IMP] Layout of forum

9 years ago[FIX] fix reloading problem (crash) in web client
Géry Debongnie [Mon, 1 Dec 2014 15:28:09 +0000 (16:28 +0100)]
[FIX] fix reloading problem (crash) in web client

The previous viewmanager (before its refactoring in sept/oct 2014) was
ignoring some promises in its do_load_state method.  The refactoring
actually fixed that, but of course, some other code was dependent on
the broken implementation.  This commit removes the use of promises in
do_load_state, which is functionally equivalent to the previous code.

As a result, it relies on some subtle timing of the creation and
initialization of various views.  It is somewhat fragile, but it is
actually what the former code did, only in a more explicit way.

9 years ago[FIX] fix a crash when editing dashboard title (web)
Géry Debongnie [Fri, 28 Nov 2014 13:34:56 +0000 (14:34 +0100)]
[FIX] fix a crash when editing dashboard title (web)

fix is very simple. no further comment required I think.

9 years ago[FIX] mail: remove deprecation warning when converting a non Date object into moment
Cedric Snauwaert [Fri, 28 Nov 2014 14:20:30 +0000 (15:20 +0100)]
[FIX] mail: remove deprecation warning when converting a non Date object into moment

9 years ago[REV] stock: revert of f229d40fb7a2a16c6f211a059694b18124b9719a
Richard Mathot [Fri, 28 Nov 2014 13:25:08 +0000 (14:25 +0100)]
[REV] stock: revert of f229d40fb7a2a16c6f211a059694b18124b9719a

Reintroduction of field mes_type on product.template. This field was not
used in the code anymore, but we keep it for future use.

This field allows the user to express that there is no fixed conversion
rate between uom and uos.

(also very partial revert of 52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7)

9 years ago[FIX] stock: rename picking to transfer, to be coherent with 52c3b52bf09fea7e0920ebce...
Richard Mathot [Fri, 28 Nov 2014 13:20:37 +0000 (14:20 +0100)]
[FIX] stock: rename picking to transfer, to be coherent with 52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7 (this commit replaces 39606a7d270a6c08c1e95d557b9d8f2751207139)

9 years ago[IMP] im_livechat : the rule are now matching with the country (these are not blocked...
Jérome Maes [Tue, 25 Nov 2014 16:02:24 +0000 (17:02 +0100)]
[IMP] im_livechat : the rule are now matching with the country (these are not blocked country anymore). A rule is define for a specific URL and country (if geoip installed). Add the sequence field to prioritize the matching. Also improve xml views.

9 years ago[IMP] account: account.statement.operation.template model
Arthur Maniet [Thu, 27 Nov 2014 10:30:34 +0000 (11:30 +0100)]
[IMP] account: account.statement.operation.template model
- better many2one ondelete strategies
- added analytic account domain
- added multi-company support

9 years ago[IMP] allow many2many to specify formview (web client)
Géry Debongnie [Thu, 27 Nov 2014 10:18:36 +0000 (11:18 +0100)]
[IMP] allow many2many to specify formview (web client)

One2Many fields can specify sub tree and sub form view, to be used when
displaying a list view and when adding/editing an element.  Many2many
can display a sub tree view, but ignore sub formviews.  This can be
fixed by specifying an alternative_form_view to the popup form widget.

9 years ago[REV] stock: partial revert of 52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7
Richard Mathot [Wed, 26 Nov 2014 14:56:03 +0000 (15:56 +0100)]
[REV] stock: partial revert of 52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7

The <div> were introduced to correct alignement issues in this form view. Actually, they are generic and due to inherited invisible group, so CSS is sometimes incorrect when you hide groups. Should be fixed in form view implementation.

9 years ago[REF] stock: replace <div> in view by nolabel
Richard Mathot [Wed, 26 Nov 2014 14:32:51 +0000 (15:32 +0100)]
[REF] stock: replace <div> in view by nolabel

This patch does not change the look of the view; it is only intended to
use the standard feature "nolabel" instead of hacking the HTML with a
<div> tag.

9 years ago[FIX] stock: correct label for picking_id
Richard Mathot [Wed, 26 Nov 2014 14:20:41 +0000 (15:20 +0100)]
[FIX] stock: correct label for picking_id

9 years ago[REM] product: leftovers of unused field "mes_type"
Richard Mathot [Wed, 26 Nov 2014 14:00:37 +0000 (15:00 +0100)]
[REM] product: leftovers of unused field "mes_type"

Also removed in data in point_of_sale, project_timesheet and sale_mrp.

9 years ago[REF] stock: product quantity stat button
Richard Mathot [Wed, 26 Nov 2014 13:52:56 +0000 (14:52 +0100)]
[REF] stock: product quantity stat button

Clean version of stat button of product quantity. Will also work in
creation mode and avoid unuseful computed string field

(fix parts of commit 52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7)

9 years ago[IMP] stock: onboarding (display improvements)
Jitendra Prajapati [Fri, 7 Nov 2014 10:25:10 +0000 (15:55 +0530)]
[IMP] stock: onboarding (display improvements)

9 years ago[IMP] mrp: BoM name is now accessible to the 'manage multiple level
Bhumi Patel [Mon, 20 Oct 2014 09:44:11 +0000 (15:14 +0530)]
[IMP] mrp: BoM name is now accessible to the 'manage multiple level
of bom' group, not the properties group. Indeed this will allow more users
to see and search the name.

9 years ago[FIX] web: radio buttons
Pankaj Joshi [Fri, 14 Nov 2014 07:22:46 +0000 (12:52 +0530)]
[FIX] web: radio buttons

removed js that let user to uncheck radiobutton and from addons removed radiobuttons used for not required field except sync_typ.
changed this field as required because of functional requirement

9 years ago[FIX] fix debug mode: correct id and xml_id (web client)
Géry Debongnie [Mon, 24 Nov 2014 10:35:13 +0000 (11:35 +0100)]
[FIX] fix debug mode: correct id and xml_id (web client)

This commit fixes two issues with debug mode:
* when a default searchview is requested, it is
initialized without its view_id. Problem is that it prevents debug mode from editing the view.
*  add xml_id in Edit action form view(debug mode) : this makes the xml id visible in form view

9 years ago[IMP] im_livechat : add rule to display (or not) the support button.
Jérome Maes [Thu, 18 Sep 2014 08:22:46 +0000 (10:22 +0200)]
[IMP] im_livechat : add rule to display (or not) the support button.

9 years ago[IMP] im_livechat : add nbr_sessions field on channel and modifications of various...
Jérome Maes [Tue, 18 Nov 2014 12:47:32 +0000 (13:47 +0100)]
[IMP] im_livechat : add nbr_sessions field on channel and modifications of various views

9 years ago[IMP] crm: opportunity kanban view: display tags.
Desai Binjal [Wed, 29 Oct 2014 07:12:30 +0000 (12:42 +0530)]
[IMP] crm: opportunity kanban view: display tags.

[FIX] crm: opportunity kanban view: description of a crm stage is requirements
not description.

9 years ago[FIX] project, project_issue: when no project in context, display default
Thibault Delavallée [Fri, 21 Nov 2014 09:22:54 +0000 (10:22 +0100)]
[FIX] project, project_issue: when no project in context, display default
columns in kanban view. Also fixed some issues in the issue kanban view.

9 years ago[FIX] sale: removed now dead and unnecessary menu.
Thibault Delavallée [Thu, 20 Nov 2014 15:02:10 +0000 (16:02 +0100)]
[FIX] sale: removed now dead and unnecessary menu.

9 years ago[IMP] portal_sale, sale, website_quote: display the payment
Bhumi Patel [Wed, 22 Oct 2014 10:25:38 +0000 (15:55 +0530)]
[IMP] portal_sale, sale, website_quote: display the payment
button in emails only if there is an amount to pay. Free orders
exist (free events for example).

[IMP] website_sale: pay now is now confirm order if the sale order
amount is 0. Also improved the confirmation message in the checkout
process.

9 years ago[FIX] update tests and change search logic (webclient)
Géry Debongnie [Thu, 20 Nov 2014 13:58:10 +0000 (14:58 +0100)]
[FIX] update tests and change search logic (webclient)

previous commit broke some tests.  The issue is that the search view
now avoid making requests if there is no action id.  But this is an
assumption that tests use, so some slight adjustments have to be made.

Also, this is the moment to give properly the action id to the favorite
menu.  Instead of bypassing its parent, it now receives the action id
from the search view.

9 years ago[FIX] web client fix: crash when loading translation
Géry Debongnie [Thu, 20 Nov 2014 11:09:39 +0000 (12:09 +0100)]
[FIX] web client fix: crash when loading translation

Problem happens when the user from the website tries to load a translation,
it opens up a modal window without an action.  But the modal has a (hidden)
searchview which tries to load custom filters corresponding to that
non-existing action.

Another problem at the same time was that the view manager could not
display the breadcrumbs for a non-existing breadcrumb.

9 years ago[FIX] web_tip: tip repositioning
Julien Legros [Thu, 20 Nov 2014 11:33:20 +0000 (12:33 +0100)]
[FIX] web_tip: tip repositioning

* call reposition when editable list view is rendered
* also reposition the popover when reposition is called

9 years ago[IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to...
qdp-odoo [Fri, 21 Nov 2014 09:09:29 +0000 (10:09 +0100)]
[IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API

9 years ago[IMP] productbetter menutips and help for product menus.
Bhumi Patel [Mon, 20 Oct 2014 10:26:44 +0000 (15:56 +0530)]
[IMP] productbetter menutips and help for product menus.

9 years ago[IMP] website_forum: add a new karma to control the
tpa-odoo [Mon, 27 Oct 2014 13:02:51 +0000 (18:32 +0530)]
[IMP] website_forum: add a new karma to control the
way links displayed in posts and answers. A nofollow attribute is
added is the author has not enough karma, adding a protection for
spammer tryign to improve their SEO.

9 years ago[FIX] Add missings files from previous forward port.
Jeremy Kersten [Tue, 18 Nov 2014 16:02:58 +0000 (17:02 +0100)]
[FIX] Add missings files from previous forward port.

9 years ago[MERGE] forward port of branch 8.0 up to c41109f
Jeremy Kersten [Tue, 18 Nov 2014 15:57:06 +0000 (16:57 +0100)]
[MERGE] forward port of branch 8.0 up to c41109f

9 years ago[MERGE] forward port of branch 8.0 up to fc329b6
Jeremy Kersten [Tue, 18 Nov 2014 10:52:25 +0000 (11:52 +0100)]
[MERGE] forward port of branch 8.0 up to fc329b6

9 years ago[FIX] im_chat : momentjs undefined on external pages. Temporary fix by replacing...
Jérome Maes [Tue, 18 Nov 2014 10:35:28 +0000 (11:35 +0100)]
[FIX] im_chat : momentjs undefined on external pages. Temporary fix by replacing moment() by window.moment(). The moment helper is defined in core.js, which is not imported in web_assets common. If refactoring, the dates will be pre-process in render_messages().

9 years ago[FIX] website_forum: use common method to compute tags for orm
Jeremy Kersten [Tue, 18 Nov 2014 10:25:31 +0000 (11:25 +0100)]
[FIX] website_forum: use common method to compute tags for orm

9 years ago[FIX] doc: incorrect class access in new api guide
Tymoteusz Motylewski [Tue, 18 Nov 2014 09:45:25 +0000 (10:45 +0100)]
[FIX] doc: incorrect class access in new api guide

When creating a class with the new API, we should use models.Model
instead of just Model.

closes #3713

9 years ago[FIX] doc: double period in footer
Xavier Morel [Tue, 18 Nov 2014 10:18:14 +0000 (11:18 +0100)]
[FIX] doc: double period in footer

9 years ago[FIX] web_tip: properly remove the tip popover
Julien Legros [Tue, 18 Nov 2014 09:43:52 +0000 (10:43 +0100)]
[FIX] web_tip: properly remove the tip popover

9 years ago[FIX] web_tip: prevent useless calls to eval_tip
Julien Legros [Mon, 17 Nov 2014 15:48:10 +0000 (16:48 +0100)]
[FIX] web_tip: prevent useless calls to eval_tip

9 years ago[MERGE] forward port of branch 8.0 up to 5ed0739
Jeremy Kersten [Tue, 18 Nov 2014 09:40:59 +0000 (10:40 +0100)]
[MERGE] forward port of branch 8.0 up to 5ed0739

9 years ago[REM] board: "reset dashboard" button
Dikshit Prajapati [Tue, 18 Nov 2014 07:21:47 +0000 (08:21 +0100)]
[REM] board: "reset dashboard" button

9 years ago[FIX] website_forum: read badge owners as SUPERUSER
Christophe Simonis [Mon, 17 Nov 2014 18:13:48 +0000 (19:13 +0100)]
[FIX] website_forum: read badge owners as SUPERUSER

9 years ago[FIX] doc: latex building
Xavier Morel [Mon, 17 Nov 2014 16:40:38 +0000 (17:40 +0100)]
[FIX] doc: latex building

* add latex support for exercise admonition
* latex freezes/crashes on {HEAVY WIDE-HEADED RIGHTWARDS ARROW} so
  replace them by more manual arrows
* add some preamble configuration, may not even be necessary
* generate WS setup code only in HTML output. WS doc in latex still
  isn't great as it displays all 4 languages one after the other,
  ideally they should be tagged or something, so only one language at a
  time is generated in non-HTML outputs

9 years ago[MERGE] forward port of branch 8.0 up to c92e70b
Christophe Simonis [Mon, 17 Nov 2014 16:31:12 +0000 (17:31 +0100)]
[MERGE] forward port of branch 8.0 up to c92e70b

9 years ago[FIX] website_forum: add fake tour for people waiting the tour. To remove in master...
Jeremy Kersten [Mon, 17 Nov 2014 15:04:57 +0000 (16:04 +0100)]
[FIX] website_forum: add fake tour for people waiting the tour. To remove in  Without it, localstorage loop to search this unexisting tour after the install...

9 years ago[FIX] website_forum - replace texttext by select2 for the tags fields
Jeremy Kersten [Fri, 14 Nov 2014 18:14:12 +0000 (19:14 +0100)]
[FIX] website_forum - replace texttext by select2 for the tags fields

9 years ago[IMP] doc: improve index, WS page
Xavier Morel [Mon, 17 Nov 2014 15:25:34 +0000 (16:25 +0100)]
[IMP] doc: improve index, WS page

9 years ago[IMP] doc: have ws page take whole page width
Xavier Morel [Mon, 17 Nov 2014 15:20:43 +0000 (16:20 +0100)]
[IMP] doc: have ws page take whole page width

Doc pages used container() which is width-limited, works acceptably for
single-column content but WS page takes 2 columns with code, having as
much space as possible is a much better idea.

Mayhaps it should even use lg-column(2) instead of md-column(3)?

9 years ago[IMP] doc: wording of method-calling introduction
Xavier Morel [Mon, 17 Nov 2014 15:17:07 +0000 (16:17 +0100)]
[IMP] doc: wording of method-calling introduction

9 years ago[IMP] doc: rename WS page, lift to top-level
Xavier Morel [Mon, 17 Nov 2014 15:10:06 +0000 (16:10 +0100)]
[IMP] doc: rename WS page, lift to top-level

9 years ago[FIX] tests: make self.assertRaises() return the expected object
Raphael Collet [Mon, 17 Nov 2014 14:39:14 +0000 (15:39 +0100)]
[FIX] tests: make self.assertRaises() return the expected object

9 years ago[IMP] doc: try to make some bits of the porting guide less confusing
Xavier Morel [Mon, 17 Nov 2014 14:18:14 +0000 (15:18 +0100)]
[IMP] doc: try to make some bits of the porting guide less confusing

9 years ago[IMP] doc: move old API sections to orm toplevel
Xavier Morel [Mon, 17 Nov 2014 14:14:22 +0000 (15:14 +0100)]
[IMP] doc: move old API sections to orm toplevel

also move porting checklist/doc/thing to bottom of document, it's mostly
for seasoned or internal developers

9 years ago[IMP] doc: more indexy index
Xavier Morel [Mon, 17 Nov 2014 14:10:34 +0000 (15:10 +0100)]
[IMP] doc: more indexy index

9 years ago[IMP] event: chatter on registration proposes to add
Thibault Delavallée [Mon, 17 Nov 2014 12:45:20 +0000 (13:45 +0100)]
[IMP] event: chatter on registration proposes to add
the partner and attendee email as followers.

9 years ago[CLEAN] event: removed unnecessary count_registrations field;
Thibault Delavallée [Mon, 17 Nov 2014 12:28:05 +0000 (13:28 +0100)]
[CLEAN] event: removed unnecessary count_registrations field;
on form view, display attendees (not canceled, ...) instead of
registration count.

9 years ago[FIX] tests: make sure that a failed tests does not leave the environment dirty
Raphael Collet [Thu, 13 Nov 2014 16:40:41 +0000 (17:40 +0100)]
[FIX] tests: make sure that a failed tests does not leave the environment dirty

When a failure occurs, or when exiting an assertRaises(), the environment
should not contain fields to recompute.

9 years ago[IMP] doc: indexify index
Xavier Morel [Mon, 17 Nov 2014 13:07:36 +0000 (14:07 +0100)]
[IMP] doc: indexify index

* opt-in toc navification
* unhide index toctree, it's now back to a list of documents
* remove text thing

9 years ago[IMP] website_event: when buying tickets, display them by type
Yannick Tivisse [Mon, 20 Oct 2014 14:40:40 +0000 (16:40 +0200)]
[IMP] website_event: when buying tickets, display them by type

9 years ago[FIX] ir_model: on a custom model, _rec_name should be 'x_name' if it exists
Raphael Collet [Mon, 17 Nov 2014 10:35:06 +0000 (11:35 +0100)]
[FIX] ir_model: on a custom model, _rec_name should be 'x_name' if it exists

9 years ago[fix] portal: typo in description
hiekmann [Mon, 17 Nov 2014 09:22:23 +0000 (09:22 +0000)]
[fix] portal: typo in description

closes #3685

9 years ago[IMP] sale & sale_stock : removed 'Enable Invoicing Sales order lines' group from...
Dikshit Prajapati [Thu, 30 Oct 2014 12:38:54 +0000 (18:08 +0530)]
[IMP] sale & sale_stock : removed 'Enable Invoicing Sales order lines' group from user setting and 'Generate invoices based on the sales order lines' group from sale setting.

9 years agoRevert "[IMP] Remove unnecessary refresh statements because of new api"
Josse Colpaert [Mon, 17 Nov 2014 08:44:10 +0000 (09:44 +0100)]
Revert "[IMP] Remove unnecessary refresh statements because of new api"

This reverts commit b213438176b16e96686d94063a3cdf6dc5c49618.

9 years ago[IMP] crm: added reason for loosing opportunities
fwi-odoo [Thu, 9 Oct 2014 07:19:58 +0000 (09:19 +0200)]
[IMP] crm: added reason for loosing opportunities

9 years ago[IMP] Remove unnecessary refresh statements because of new api
Josse Colpaert [Thu, 13 Nov 2014 16:48:21 +0000 (17:48 +0100)]
[IMP] Remove unnecessary refresh statements because of new api

9 years ago[MERGE] forward port of branch saas-3 up to c571413
Denis Ledoux [Fri, 14 Nov 2014 17:02:02 +0000 (18:02 +0100)]
[MERGE] forward port of branch saas-3 up to c571413

9 years ago[MERGE] forward port of branch 7.0 up to 922a52d
Denis Ledoux [Fri, 14 Nov 2014 16:59:00 +0000 (17:59 +0100)]
[MERGE] forward port of branch 7.0 up to 922a52d

9 years ago[FIX] web: date autocompletion should not harcode 'date'
Denis Ledoux [Fri, 14 Nov 2014 16:57:10 +0000 (17:57 +0100)]
[FIX] web: date autocompletion should not harcode 'date'

But should use date or datetime according to the widget type

This fix is related to 69d60465ee67969d72210a61a9e23204d037378a

9 years ago[FIX] purchase: keep PO currency on picking
Martin Trigaux [Fri, 14 Nov 2014 15:51:13 +0000 (16:51 +0100)]
[FIX] purchase: keep PO currency on picking

The delivery of a purchase order was not keeping the currency and cost price
from the purchase order for the reception. This was problematic for orders where
the invoice was generated from the picking (Invoicing Control: Based on incoming
shipments). The currency of the purchase order was kept while the cost was the
one in the company's currency.
It's better to keep the currency of the purchase order to make the invoice as
it's usually the one expected (and not convert everything to the currency of the
company). opw 615555

9 years ago[MERGE] forward port of branch saas-3 up to 7ab4137
Denis Ledoux [Fri, 14 Nov 2014 15:58:24 +0000 (16:58 +0100)]
[MERGE] forward port of branch saas-3 up to 7ab4137

9 years ago[FIX] layout - use company name for attribut alt of company logo
Jeremy Kersten [Fri, 14 Nov 2014 15:19:33 +0000 (16:19 +0100)]
[FIX] layout - use company name for attribut alt of company logo

9 years ago[MERGE] forward port of branch 7.0 up to da15c9d
Denis Ledoux [Fri, 14 Nov 2014 14:59:33 +0000 (15:59 +0100)]
[MERGE] forward port of branch 7.0 up to da15c9d

9 years ago[FIX] web: do not set the one2many dirty on field validation
Denis Ledoux [Fri, 14 Nov 2014 14:49:39 +0000 (15:49 +0100)]
[FIX] web: do not set the one2many dirty on field validation

This rev. 06104ba553702b16878d52c5b8ab089355216a5e

Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.

It looks like this is now the case

Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.

9 years ago[FIX] account: allow to use quantity in taxes computated with python code
qdp-odoo [Fri, 14 Nov 2014 14:45:13 +0000 (15:45 +0100)]
[FIX] account: allow to use quantity in taxes computated with python code

9 years ago[IMP] add link to write method in documentation
ged-odoo [Fri, 14 Nov 2014 13:38:15 +0000 (14:38 +0100)]
[IMP] add link to write method in documentation

9 years ago[FIX] point_of_sale: missing multi-company rule
Denis Ledoux [Fri, 14 Nov 2014 13:14:58 +0000 (14:14 +0100)]
[FIX] point_of_sale: missing multi-company rule

9 years ago[FIX] product: more accurate name_search
Denis Ledoux [Fri, 14 Nov 2014 12:40:02 +0000 (13:40 +0100)]
[FIX] product: more accurate name_search

First, name_search searches on default_code, then, if the limit is not reached, it searches on the product name
The results found from the default code search must be removed from the search domain when doing the search on the product name, to avoid having results already found by the search on the default_code

opw-618015

9 years ago[IMP] mass_mailing: add creation date in fields
Dikshit Prajapati [Mon, 20 Oct 2014 09:50:32 +0000 (15:20 +0530)]
[IMP] mass_mailing: add creation date in fields
to display it on list view + perform search on it.

9 years ago[FIX] stock: multicompany reception
Martin Trigaux [Fri, 14 Nov 2014 10:10:15 +0000 (11:10 +0100)]
[FIX] stock: multicompany reception

When a picking is confirmed, the generated account.move(.line) should take the
company, accounts, journals and period with the same company as the picking,
not the one of the current user.

This was problematic if a user in a company confirm a picking linked to
a purchase order done in another company.
For real time valuations, the generated accounting entries were mixing both
companies.

Fixes #3466

9 years ago[IMP] purchase: error message linked to product, not company
Martin Trigaux [Thu, 13 Nov 2014 17:01:25 +0000 (18:01 +0100)]
[IMP] purchase: error message linked to product, not company

9 years ago[FIX] layout: add alt on logo for seo
Jeremy Kersten [Fri, 14 Nov 2014 10:13:38 +0000 (11:13 +0100)]
[FIX] layout: add alt on logo for seo

9 years ago[FIX] hr_holidays: fix virtual remaining leaves computation.
Thibault Delavallée [Fri, 14 Nov 2014 09:46:57 +0000 (10:46 +0100)]
[FIX] hr_holidays: fix virtual remaining leaves computation.

Now only validated allocation requests are taken into account
when computing the number of virtual remaining leaves (leaves
+ pending leaves). This avoid creating allocation request to
have virtual remaining leaves artificially added.

9 years ago[FIX] website_forum: fix broken forum activation email due to the migration to the...
Thibault Delavallée [Fri, 14 Nov 2014 09:21:31 +0000 (10:21 +0100)]
[FIX] website_forum: fix broken forum activation email due to the migration to the new API.

Next step: write tests. Hooray.

9 years ago[FIX] crm: fixed bug in m2m between sales teams and stages introduced
Thibault Delavallée [Thu, 13 Nov 2014 16:32:39 +0000 (17:32 +0100)]
[FIX] crm: fixed bug in m2m between sales teams and stages introduced
when cleaning the models. The m2m table name is different when defined
in sales_team or in stages, leading to a quie strange behavior.

9 years ago[IMP] Pass the invoice type from sale to picking for the sale_journal module that...
Josse Colpaert [Thu, 13 Nov 2014 14:24:31 +0000 (15:24 +0100)]
[IMP] Pass the invoice type from sale to picking for the sale_journal module that is installable again

9 years ago[IMP] Speedup test account_assert_test.xml in account
Samus CTO [Thu, 13 Nov 2014 15:23:08 +0000 (16:23 +0100)]
[IMP] Speedup test account_assert_test.xml in account

9 years ago[FIX] point_of_sale: rounding error in discount computing + removing duplicated code
Frederic van der Essen [Thu, 13 Nov 2014 15:07:52 +0000 (16:07 +0100)]
[FIX] point_of_sale: rounding error in discount computing + removing duplicated code

9 years ago[FIX] fleet: avoid function field computation order issues
Martin Trigaux [Thu, 13 Nov 2014 15:02:11 +0000 (16:02 +0100)]
[FIX] fleet: avoid function field computation order issues

The name of a vehicle is function field.
The field odometer on a vehicle has a a setter that creates an odometer.
The name of an odometer is a function field that uses the name of the vehicle.
If a vehicle is created with a value in odometer field, the odometer is created before the name is computed so the concatanation would fail.
Fixes #3468

9 years ago[FIX] fix bouncing issue in form view (web client)
Géry Debongnie [Thu, 13 Nov 2014 14:02:42 +0000 (15:02 +0100)]
[FIX] fix bouncing issue in form view (web client)

the buttons edit and create have been ungrouped recently.  As a
side effect (of course), the bouncing effect in form view is broken.
This should hopefully fix the issue without introducing any other
problems :/

9 years ago[IMP] models: improve performance of _setup_fields()
Raphael Collet [Thu, 6 Nov 2014 14:03:00 +0000 (15:03 +0100)]
[IMP] models: improve performance of _setup_fields()

There was an issue in _setup_fields(): the method invokes _inherits_reload(),
which recomputes inherited fields, and invokes itself recursively on children
models.  This may be problematic if the children models have already been set
up.

This optimization avoids recursive calls of method _inherits_reload().  In
_setup_fields(), first all parent models are set up, then their fields are
inspected to determine inherited fields, and their setup is done.  This scheme
guarantees that inherited fields are computed once per model.

9 years ago[FIX] models: simplify conditions that seem to lead to missing fields
Raphael Collet [Thu, 13 Nov 2014 09:06:30 +0000 (10:06 +0100)]
[FIX] models: simplify conditions that seem to lead to missing fields

9 years ago[IMP] models: in _init_manual_fields(), create fields instead of columns
Raphael Collet [Thu, 6 Nov 2014 14:48:20 +0000 (15:48 +0100)]
[IMP] models: in _init_manual_fields(), create fields instead of columns

Note that serialized fields are ignored; they are no longer supported, anyway.

9 years ago[FIX] ir_model: always setup models before calling _auto_init()
Raphael Collet [Thu, 6 Nov 2014 14:16:02 +0000 (15:16 +0100)]
[FIX] ir_model: always setup models before calling _auto_init()

9 years ago[FIX] website_forum: fixes
Jeremy Kersten [Thu, 13 Nov 2014 13:51:43 +0000 (14:51 +0100)]
[FIX] website_forum: fixes
    [FIX] website_forum: escape the tags from post at texttext rendering
    [FIX] website_forum: jquery is not already loaded
    [FIX] website_forum: use uid from session because WebsiteForum object has no attribute '_uid'