odoo/odoo.git
9 years ago[MERGE] forward port of branch saas-5 up to 7eab880
Christophe Simonis [Mon, 15 Sep 2014 11:52:44 +0000 (13:52 +0200)]
[MERGE] forward port of branch saas-5 up to 7eab880

9 years agoMerge pull request #2348 from odoo-dev/8.0-fix-website_sale-breadcrumb-chm
Christophe Matthieu [Mon, 15 Sep 2014 11:24:24 +0000 (13:24 +0200)]
Merge pull request #2348 from odoo-dev/8.0-fix-website_sale-breadcrumb-chm

[FIX] website_sale: The product breadcrumbs in shop not working.

9 years ago[FIX] account: missing context assignation in self
Denis Ledoux [Mon, 15 Sep 2014 10:25:32 +0000 (12:25 +0200)]
[FIX] account: missing context assignation in self

9 years ago[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previo...
Christophe Simonis [Mon, 15 Sep 2014 10:09:35 +0000 (12:09 +0200)]
[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previous forward-port)

also add tests of `_group_by_full` functionality

9 years ago[IMP] Improve stock's barcode start page
Fabien Meghazi [Tue, 15 Jul 2014 13:26:18 +0000 (15:26 +0200)]
[IMP] Improve stock's barcode start page

remove module_boot() usage

9 years ago[FIX] web: fixes issues with custom filters and search view
Géry Debongnie [Tue, 9 Sep 2014 10:26:16 +0000 (12:26 +0200)]
[FIX] web: fixes issues with custom filters and search view

The problem was that when the user manipulates the graph view (in pivot
table mode), the graph view resetted the group by facet in the search
view.  It was not a problem unless a custom filter with a groupby was
already there, in which case, the group bys were duplicated.

The search view is now smarter, it only resets the additional groupbys
(and col_groupbys).   Also, to prevent usability problems, the graph
view disable the '+/-' groupbys added by a custom filters.

Note that this fix is only temporary: a revamp of custom filters, facets,
search view is coming in the next months. (at least, that's the idea). Right
now, too much 'search logic' is in the graph view.

Another note: this fix is somewhat fragile: it makes some assumptions
about the search query (mainly that the custom filter is the first facet,
also, that no other filters add groupbys/col_groupbys)

9 years ago[FIX] website_event_sale: remove invalid code chunk introduced during previous forwar...
Christophe Simonis [Sat, 13 Sep 2014 15:00:51 +0000 (17:00 +0200)]
[FIX] website_event_sale: remove invalid code chunk introduced during previous forward-port (56f2b7ae0f6)

9 years ago[MERGE] forward port of branch saas-3 up to fdc6271
Christophe Simonis [Fri, 12 Sep 2014 16:53:48 +0000 (18:53 +0200)]
[MERGE] forward port of branch saas-3 up to fdc6271

9 years ago[IMP] modules: add support for loading module description from README.{md,rst,txt}
Daniel Reis [Wed, 13 Aug 2014 08:57:53 +0000 (09:57 +0100)]
[IMP] modules: add support for loading module description from README.{md,rst,txt}

Showcase the feature by moving auth_ldap's description to README.rst

(Manual rebase of PR #1759)

9 years ago[MERGE] forward port of branch 7.0 up to 9b1cdea
Christophe Simonis [Fri, 12 Sep 2014 15:28:55 +0000 (17:28 +0200)]
[MERGE] forward port of branch 7.0 up to 9b1cdea

9 years ago[FIX] mrp_repair: invoice the actual invoice partner id
Denis Ledoux [Fri, 12 Sep 2014 14:25:48 +0000 (16:25 +0200)]
[FIX] mrp_repair: invoice the actual invoice partner id

9 years ago[FIX] l10n_ro: backport of fix done in res_partner.py from aa76885
Fekete Mihai [Fri, 12 Sep 2014 14:04:22 +0000 (16:04 +0200)]
[FIX] l10n_ro: backport of fix done in res_partner.py from aa76885

PR #720

9 years ago[IMP] website_crm: keep the new id from the created lead to allow another function...
Jeremy Kersten [Fri, 12 Sep 2014 13:58:59 +0000 (15:58 +0200)]
[IMP] website_crm: keep the new id from the created lead to allow another function which override this one to get the new lead.

9 years agoMerge pull request #2292 from odoo-dev/8.0-wmsstaging8-jco
Josse Colpaert [Fri, 12 Sep 2014 12:24:29 +0000 (14:24 +0200)]
Merge pull request #2292 from odoo-dev/8.0-wmsstaging8-jco

8.0 wmsstaging8 jco

9 years ago[IMP] Solve landed costs bug + invoice_state in account_anglo_saxon.yml
Josse Colpaert [Thu, 11 Sep 2014 14:02:44 +0000 (16:02 +0200)]
[IMP] Solve landed costs bug + invoice_state in account_anglo_saxon.yml

9 years ago[FIX] Bom qty
Josse Colpaert [Wed, 10 Sep 2014 17:11:21 +0000 (19:11 +0200)]
[FIX] Bom qty

9 years ago[IMP] Implement comments on pull request
Josse Colpaert [Tue, 9 Sep 2014 17:06:26 +0000 (19:06 +0200)]
[IMP] Implement comments on pull request

9 years ago[WIP] Improve views for qty available + forecast qty in product and product template...
Josse Colpaert [Mon, 8 Sep 2014 16:00:50 +0000 (18:00 +0200)]
[WIP] Improve views for qty available + forecast qty in product and product template tree views

9 years ago[IMP] Invoice_state on move and search custom picking type
Josse Colpaert [Mon, 8 Sep 2014 13:20:01 +0000 (15:20 +0200)]
[IMP] Invoice_state on move and search custom picking type

9 years ago[IMP] Put wkf_action_cancel back, so the method does not call itself recursively...
Josse Colpaert [Fri, 5 Sep 2014 12:50:41 +0000 (14:50 +0200)]
[IMP] Put wkf_action_cancel back, so the method does not call itself recursively (issue 2079)

9 years ago[FIX] When purchase, do not overwrite price
Josse Colpaert [Fri, 5 Sep 2014 10:16:09 +0000 (12:16 +0200)]
[FIX] When purchase, do not overwrite price

9 years ago[IMP] Patch for boms that explode in boms to have the correct quantities courtesy...
Josse Colpaert [Thu, 4 Sep 2014 15:54:44 +0000 (17:54 +0200)]
[IMP] Patch for boms that explode in boms to have the correct quantities courtesy of chm

9 years ago[WIP] Pricelist of purchase is not in stock only and remove product_manufacturer...
Josse Colpaert [Thu, 4 Sep 2014 12:54:39 +0000 (14:54 +0200)]
[WIP] Pricelist of purchase is not in stock only and remove product_manufacturer module in view + manufacturer

9 years ago[IMP] Inter-company pricing: put price on move when only partner and not connected...
Josse Colpaert [Wed, 3 Sep 2014 17:15:10 +0000 (19:15 +0200)]
[IMP] Inter-company pricing: put price on move when only partner and not connected to sale or purchase + invoice_state inverse function

9 years ago[IMP] Make sure property_ids on sale order line are visible and able to work
Josse Colpaert [Wed, 3 Sep 2014 13:24:49 +0000 (15:24 +0200)]
[IMP] Make sure property_ids on sale order line are visible and able to work

9 years ago[IMP] Old hack where uom_id had to be empty in on_change
Josse Colpaert [Mon, 1 Sep 2014 13:39:32 +0000 (15:39 +0200)]
[IMP] Old hack where uom_id had to be empty in on_change

[IMP] Add purchase order origin on picking

[WIP] Picking type on move for location on routing

[IMP] Provide extra function for custom buttons on picking

[IMP] Action assign optim

[IMP] Push apply should take invoice_state into account.  Propagation of cancel of stock moves should depend on procurement rule

9 years ago[FIX] report: /report/download route should not be website enabled
Simon Lejeune [Fri, 12 Sep 2014 10:29:29 +0000 (12:29 +0200)]
[FIX] report: /report/download route should not be website enabled

There's a little magic inside the website enabled route modifying the
context's lang, thus breaking the logic to print the report in the
current user's lang. The direct route to display the report should
stay in website_enabled mode, as it allows to switch lang, use the
website translator and so on.

9 years ago[FIX]stock_account: missing default value for Inventory Valuation
Denis Ledoux [Fri, 12 Sep 2014 07:57:56 +0000 (09:57 +0200)]
[FIX]stock_account: missing default value for Inventory Valuation

9 years ago[FIX] product: can be sold as default filter for templates
Denis Ledoux [Thu, 11 Sep 2014 15:54:58 +0000 (17:54 +0200)]
[FIX] product: can be sold as default filter for templates

9 years ago[FIX] web: sort with undefined value
fka-odoo [Wed, 2 Jul 2014 08:38:41 +0000 (14:08 +0530)]
[FIX] web: sort with undefined value

In this awesome programming language called javascript, undefined is neither bigger nor smaller than a string. Previous code was then considering undefined values equal to any string.
This fix allows to sort in a column of a o2m field and group the undefined values together. opw 607704

9 years ago[FIX] stock: return picking, pass serial number value when returning
Denis Ledoux [Thu, 11 Sep 2014 15:20:27 +0000 (17:20 +0200)]
[FIX] stock: return picking, pass serial number value when returning

9 years ago[FIX] survey: access rights error when editing
Dharti Ratani [Thu, 11 Sep 2014 15:01:03 +0000 (17:01 +0200)]
[FIX] survey: access rights error when editing

The wizard 'Edit Survey' > 'Add Question' was trowing an access rights error as the id was passed as a string instead of a real id. opw 607854

9 years ago[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False
Denis Ledoux [Thu, 11 Sep 2014 15:00:45 +0000 (17:00 +0200)]
[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False

9 years ago[FIX] website: customize menu, only a with data-view-id should actually call do_customize
Denis Ledoux [Thu, 11 Sep 2014 13:47:48 +0000 (15:47 +0200)]
[FIX] website: customize menu, only a with data-view-id should actually call do_customize

9 years ago[FIX] website_forum: moved editor-related js files into the editor asset
Simon Lejeune [Thu, 11 Sep 2014 12:08:03 +0000 (14:08 +0200)]
[FIX] website_forum: moved editor-related js files into the editor asset

9 years ago[FIX] website: do not bind do_customize to menu without data-action
Denis Ledoux [Thu, 11 Sep 2014 11:57:28 +0000 (13:57 +0200)]
[FIX] website: do not bind do_customize to menu without data-action

9 years ago[FIX] report_webkit: re-enable test, disabled during new API developement
Olivier Dony [Thu, 11 Sep 2014 11:54:16 +0000 (13:54 +0200)]
[FIX] report_webkit: re-enable test, disabled during new API developement

Requires an extra use_global_header to be added on
the report record, to mimic the super.create()
behavior, as super.create() is not called.

9 years ago[FIX] hr_expense: tax amount computation
Martin Trigaux [Wed, 10 Sep 2014 16:06:38 +0000 (18:06 +0200)]
[FIX] hr_expense: tax amount computation

The tax_amount field should contain the basic amount (without tax) for base tax code. (opw 613470)

9 years ago[FIX] stock: multicompany warehouse creation
Martin Trigaux [Thu, 11 Sep 2014 09:25:36 +0000 (11:25 +0200)]
[FIX] stock: multicompany warehouse creation

When creating a new warehouse, the linked locations should have the same company as the warehouse.
The company_id field is required on warehouse (not necessary in vals as could be added by default values) while it is not for stock.location (meaning global location, also filled with default value).

9 years ago[IMP] website_blog: more generic xpath expression when inheriting view. ease migration.
Christophe Simonis [Thu, 11 Sep 2014 11:18:22 +0000 (13:18 +0200)]
[IMP] website_blog: more generic xpath expression when inheriting view. ease migration.

9 years ago[FIX] web: scroll should move top on clicking menu on top bar
Ronak Baxi [Wed, 27 Aug 2014 09:55:20 +0000 (15:25 +0530)]
[FIX] web: scroll should move top on clicking menu on top bar

Backported from 97d99d1974c965506ed9005d4854fcc5ffee0590

9 years ago[FIX] fields: in computed fields, handle AccessError and MissingError
Raphael Collet [Thu, 11 Sep 2014 08:31:10 +0000 (10:31 +0200)]
[FIX] fields: in computed fields, handle AccessError and MissingError

When computing a field on a recordset, a subset of the records may be missing
or forbidden by access rules.  In that case, evaluate the compute method record
by record, and mark failed records as such in cache.

9 years ago[FIX] website_forum: header template: double display of questions
Simon Lejeune [Thu, 11 Sep 2014 08:55:59 +0000 (10:55 +0200)]
[FIX] website_forum: header template: double display of questions

The <t t-raw='0'/> is already defined lower in the view (line 101)

9 years ago[FIX] web: about odoo: correct bootstrap structure inside the modal
Simon Lejeune [Wed, 10 Sep 2014 12:59:00 +0000 (14:59 +0200)]
[FIX] web: about odoo: correct bootstrap structure inside the modal

Bootstrap's container class has a fixed width, using it in a modal
with the previous commit allowing an horizontal scrollbar makes the
layout goes crazy. Use container-fluid instead and cleaned some css.

9 years ago[FIX] web: modals: overflow-x on modal-body to prevent large content to be displayed...
Simon Lejeune [Wed, 10 Sep 2014 10:20:16 +0000 (12:20 +0200)]
[FIX] web: modals: overflow-x on modal-body to prevent large content to be displayed outside

9 years ago[FIX] models: in onchange(), do not send a field value if it has not changed
Raphael Collet [Wed, 10 Sep 2014 12:55:28 +0000 (14:55 +0200)]
[FIX] models: in onchange(), do not send a field value if it has not changed

The method onchange() executes onchange methods in cascade.  Suppose onchange()
is called and a field F=1 in the form.  If an onchange method set F=2, that
value is put in the result variable.  If another onchange method set it back to
F=1, the binding F=2 must be removed from the result variable.

Fixes #2309

9 years ago[FIX] web: *.openerp.com to *.odoo.com
Denis Ledoux [Thu, 11 Sep 2014 07:58:38 +0000 (09:58 +0200)]
[FIX] web: *.openerp.com to *.odoo.com

9 years ago[IMP] point_of_sale: field company_id on pos.config view
Martin Trigaux [Thu, 11 Sep 2014 07:32:59 +0000 (09:32 +0200)]
[IMP] point_of_sale: field company_id on pos.config view

Move invisible field on bottom to avoid blank space in view if display journal, group or sequence field

9 years ago[FIX] website_blog: fix js error from 0a8aad990c86b18dfba5bb5dc964847fd97e7153
Jeremy Kersten [Wed, 10 Sep 2014 17:50:22 +0000 (19:50 +0200)]
[FIX] website_blog: fix js error from 0a8aad990c86b18dfba5bb5dc964847fd97e7153

9 years ago[FIX] website_blog: change group restriction to load the JS editor
Jeremy Kersten [Wed, 10 Sep 2014 16:20:54 +0000 (18:20 +0200)]
[FIX] website_blog: change group restriction to load the JS editor

9 years ago[FIX] website_blog: wait that document is ready before to check if we need to update...
Jeremy Kersten [Wed, 10 Sep 2014 16:10:25 +0000 (18:10 +0200)]
[FIX] website_blog: wait that document is ready before to check if we need to update menu for blog

9 years ago[FIX] mail: encoding of sender name with unicode
Martin Trigaux [Wed, 10 Sep 2014 15:35:44 +0000 (17:35 +0200)]
[FIX] mail: encoding of sender name with unicode

When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part.
Instead of using a limited regex, use the parseaddr method from email library.
Fixes lp:1272610, opw 607683

9 years ago[FIX] mail: alias domain should be fetch as superuser
Denis Ledoux [Wed, 10 Sep 2014 15:25:56 +0000 (17:25 +0200)]
[FIX] mail: alias domain should be fetch as superuser

as ir.config.parameter has limited access

9 years ago[FIX] website_event_track: force type from related to fix bug with convert_to_cache...
Jeremy Kersten [Wed, 10 Sep 2014 15:23:19 +0000 (17:23 +0200)]
[FIX] website_event_track: force type from related to fix bug with convert_to_cache on picture

9 years ago[FIX] mrp: force default values for dropped fields
Olivier Dony [Wed, 10 Sep 2014 15:01:38 +0000 (17:01 +0200)]
[FIX] mrp: force default values for dropped fields

Those values were dropped at rev 9b34358 but
need to be forced to empty so older databases
get fixed when upgrading

9 years ago[FIX] sale: force default values for dropped fields
Olivier Dony [Wed, 10 Sep 2014 14:35:03 +0000 (16:35 +0200)]
[FIX] sale: force default values for dropped fields

Those values were dropped at rev 3b636a5 but
need to be forced back to default so older
databases get properly updated when upgrading.

9 years ago[FIX] hr_recruitment: fixed computation and storage of day_open and day_close + assig...
Pankaj Joshi [Wed, 3 Sep 2014 13:37:41 +0000 (19:07 +0530)]
[FIX] hr_recruitment: fixed computation and storage of day_open and day_close + assignment of date_open and date_closed.

9 years ago[FIX] website_sale: the order of the attribute list doesn't matter
Denis Ledoux [Wed, 10 Sep 2014 13:07:06 +0000 (15:07 +0200)]
[FIX] website_sale: the order of the attribute list doesn't matter

9 years ago[FIX] product,purchase,point_of_sale: force empty values for dropped fields
Olivier Dony [Wed, 10 Sep 2014 12:58:25 +0000 (14:58 +0200)]
[FIX] product,purchase,point_of_sale: force empty values for dropped fields

At 96f038a product-related fields were removed due
to an important product.template/product.product
refactoring. As the field values were simply
dropped, they may not be nullified when upgrading an
existing database. Forcing them to False will take
care of it.

9 years ago[FIX] mrp: force empty values for fields that were dropped
Olivier Dony [Wed, 10 Sep 2014 12:55:08 +0000 (14:55 +0200)]
[FIX] mrp: force empty values for fields that were dropped

This ensures the field values are cleared during
upgrades from previous versions

9 years ago[FIX] point_of_sale: chrome was dropping the cookie when loading the company logo...
Frederic van der Essen [Wed, 10 Sep 2014 12:30:43 +0000 (14:30 +0200)]
[FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups.

9 years ago[FIX] point_of_sale: fix some image chaching issues with the receipt logo. Using...
Frederic van der Essen [Wed, 10 Sep 2014 11:39:50 +0000 (13:39 +0200)]
[FIX] point_of_sale: fix some image chaching issues with the receipt logo. Using a random url at each fetch ensures that we don't get cached results

9 years ago[FIX] point_of_sale: chrome was dropping the cookie when loading the company logo...
Frederic van der Essen [Wed, 10 Sep 2014 12:34:58 +0000 (14:34 +0200)]
[FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups.

9 years ago[FIX] models: in method onchange(), check for record dirtiness only on *2many fiels
Raphael Collet [Wed, 10 Sep 2014 10:10:22 +0000 (12:10 +0200)]
[FIX] models: in method onchange(), check for record dirtiness only on *2many fiels

Cascading onchanges can be caused by a related field computed in cache.  This
causes a bug in sale order lines, were setting the uom field forces reading
product fields, which are inherited from product templates.  The inherited
fields are computed as related fields, which marks the product record as dirty.
This subsequently triggers an onchange on the product field, which resets the
uom field!

9 years ago[FIX] point_of_sale: prevent the company logo from being cached by the browser by...
Frederic van der Essen [Wed, 10 Sep 2014 11:52:04 +0000 (13:52 +0200)]
[FIX] point_of_sale: prevent the company logo from being cached by the browser by accessing it via a random URL

9 years ago[FIX] web: revert 9f0834771d49a
Simon Lejeune [Wed, 10 Sep 2014 11:42:35 +0000 (13:42 +0200)]
[FIX] web: revert 9f0834771d49a

Revert "[FIX] web: base.css: fixed width for input of file type under oe_avatar"
A better fix for opw-613318 is done in f8bd25c852e

9 years ago[FIX] website_sale: The product breadcrumbs in shop not working. Internal Server...
Christophe Matthieu [Wed, 10 Sep 2014 11:24:56 +0000 (13:24 +0200)]
[FIX] website_sale: The product breadcrumbs in shop not working. Internal Server Error appears

9 years ago[FIX] web: FieldBinaryImage upload file at the right place
Denis Ledoux [Wed, 10 Sep 2014 11:12:21 +0000 (13:12 +0200)]
[FIX] web: FieldBinaryImage upload file at the right place

Before this, the div wasn't in the right place in the form view
for instance, in the product form view, the third checkbox triggered this binary upload file
opw-613318
task-8982

9 years ago[FIX] ir_attachment: attachements removed on record unlink
Denis Ledoux [Wed, 10 Sep 2014 10:18:14 +0000 (12:18 +0200)]
[FIX] ir_attachment: attachements removed on record unlink

9 years ago[FIX] web: stages positioned properly when there is no sheet
Bhavik Bagdiya [Fri, 22 Aug 2014 09:29:39 +0000 (14:59 +0530)]
[FIX] web: stages positioned properly when there is no sheet

Fixes #271
Closes #2004

9 years ago[ADD] l10n_do: Chart of Account for Dominican Republic
eneldoserrata [Mon, 8 Sep 2014 16:21:46 +0000 (12:21 -0400)]
[ADD] l10n_do: Chart of Account for Dominican Republic

Fixes #2257

9 years agoMerge pull request #2312 from odoo-dev/8.0-wmsoptimassignrereserve-jco
Josse Colpaert [Wed, 10 Sep 2014 09:49:09 +0000 (11:49 +0200)]
Merge pull request #2312 from odoo-dev/8.0-wmsoptimassignrereserve-jco

[IMP] Add possibity to add rereserve button and optimize action assign

9 years ago[IMP] Add possibity to add rereserve button and optimize action assign
Josse Colpaert [Wed, 10 Sep 2014 09:23:48 +0000 (11:23 +0200)]
[IMP] Add possibity to add rereserve button and optimize action assign

9 years ago[FIX] website_sale: Price of accessory product are all time null. Need to use new...
Christophe Matthieu [Wed, 10 Sep 2014 08:30:25 +0000 (10:30 +0200)]
[FIX] website_sale: Price of accessory product are all time null. Need to use new api to send the context.

9 years ago[FIX] website_event_sale: need to use new api to send the context. Add some step...
Christophe Matthieu [Thu, 4 Sep 2014 13:30:42 +0000 (15:30 +0200)]
[FIX] website_event_sale: need to use new api to send the context. Add some step for test to check if the cart have the distinct products

9 years ago[FIX] website.editor: need to set the range on start because the browser can be lost...
Christophe Matthieu [Thu, 4 Sep 2014 13:30:18 +0000 (15:30 +0200)]
[FIX] website.editor: need to set the range on start because the browser can be lost the caret and can't insert the media in the page.

9 years ago[FIX] openerp/osv/fields: disable prefetching when reading inverse of one2many fields
Raphael Collet [Tue, 9 Sep 2014 13:23:52 +0000 (15:23 +0200)]
[FIX] openerp/osv/fields: disable prefetching when reading inverse of one2many fields

This fixes issue #2146.  The inverse of a one2many field can be an inherited
field (_inherits).  In that case, we cannot read its value with a simple
database query.  Instead, we let the related field read it, but for performance
considerations we disable the prefetching of other fields.

9 years ago[FIX] mrp: force empty domain to reset action at upgrade
Olivier Dony [Tue, 9 Sep 2014 17:20:44 +0000 (19:20 +0200)]
[FIX] mrp: force empty domain to reset action at upgrade

There was a domain in 7.0 but it must be forced
to empty during upgrade, as the MRP BoM model
has changed.

9 years ago[FIX] email_template: a tag link rendering, do not process if no href
Denis Ledoux [Tue, 9 Sep 2014 17:17:23 +0000 (19:17 +0200)]
[FIX] email_template: a tag link rendering, do not process if no href

9 years ago[FIX] website_event_sale: take taxes from product_id_change into account
Denis Ledoux [Tue, 9 Sep 2014 17:00:58 +0000 (19:00 +0200)]
[FIX] website_event_sale: take taxes from product_id_change into account

9 years ago[MERGE] forward port of branch 7.0 up to 8dff247
Denis Ledoux [Tue, 9 Sep 2014 16:23:32 +0000 (18:23 +0200)]
[MERGE] forward port of branch 7.0 up to 8dff247

9 years ago[FIX] ir_qweb: contact widget: properly pass the context when browsing the contact
Simon Lejeune [Tue, 9 Sep 2014 16:16:21 +0000 (18:16 +0200)]
[FIX] ir_qweb: contact widget: properly pass the context when browsing the contact

As the context was not transferred, it was never translated.

9 years ago[MERGE] forward port of branch 7.0 up to 33e0910
Denis Ledoux [Tue, 9 Sep 2014 16:02:30 +0000 (18:02 +0200)]
[MERGE] forward port of branch 7.0 up to 33e0910

9 years ago[FIX] im_chat : search user method, split the sql query into 3 smaller
Jérome Maes [Fri, 5 Sep 2014 12:43:20 +0000 (14:43 +0200)]
[FIX] im_chat : search user method, split the sql query into 3 smaller

9 years ago[FIX] web: invoke fields_view_get with kwargs instead of positional args
Raphael Collet [Tue, 9 Sep 2014 14:28:08 +0000 (16:28 +0200)]
[FIX] web: invoke fields_view_get with kwargs instead of positional args

The mapping old api → new api mistakenly takes the last positional argument as
the context (fields_view_get() has an extra parameter after context.)

Fixes issue #2063

9 years ago[IMP] crm: Use cookies to save utm instead of session.
Jeremy Kersten [Tue, 9 Sep 2014 14:51:35 +0000 (16:51 +0200)]
[IMP] crm: Use cookies to save utm instead of session.

9 years ago[FIX] website_sale: typo in tour
Jeremy Kersten [Tue, 9 Sep 2014 14:50:42 +0000 (16:50 +0200)]
[FIX] website_sale: typo in tour

9 years ago[FIX] orm, read_group: read_group_fill_results handle no_leaf
Denis Ledoux [Tue, 9 Sep 2014 14:45:42 +0000 (16:45 +0200)]
[FIX] orm, read_group: read_group_fill_results handle no_leaf

9 years ago[FIX] point_of_sale: display an error when trying to print a receipt on an outdated...
Frederic van der Essen [Tue, 9 Sep 2014 14:14:27 +0000 (16:14 +0200)]
[FIX] point_of_sale: display an error when trying to print a receipt on an outdated posbox

9 years ago[IMP] product: Order product.template by name
Commandant Custo [Tue, 9 Sep 2014 13:02:18 +0000 (15:02 +0200)]
[IMP] product: Order product.template by name

When no order is forced, it's more user-friendly if the products are ordered by alphabetical order.
This will mainly be applied:
* In the list view in the back-end
* In the eCommerce, for products with equal website_sequence

9 years ago[FIX] hr_expense: tax included computation
Martin Trigaux [Tue, 9 Sep 2014 11:43:04 +0000 (13:43 +0200)]
[FIX] hr_expense: tax included computation

When a tax included has a several childs, the source line should not be duplicated for each tax.
Without the patch, the actual product price (without taxes) would be (total - tax amount) for the last tax only (and not the sum of each tax). (opw 609104)

9 years ago[FIX] Report: search associated qweb views: do not forward context
Simon Lejeune [Tue, 9 Sep 2014 12:36:00 +0000 (14:36 +0200)]
[FIX] Report: search associated qweb views: do not forward context

The context may be inconsistent (for instance, containing a group_by associated to another
model). The client will take care of keeping it consistent. Fixes issue #1768

9 years ago[IMP] product : Improve tooltip of pricelist on min_quantity field.
rsi-odoo [Tue, 9 Sep 2014 05:49:43 +0000 (11:19 +0530)]
[IMP] product : Improve tooltip of pricelist on min_quantity field.

9 years ago[FIX] web_calendar: calendar title and column according to l10n
Denis Ledoux [Tue, 9 Sep 2014 11:30:07 +0000 (13:30 +0200)]
[FIX] web_calendar: calendar title and column according to l10n

9 years ago[FIX] fields.py: One2many fields only set inverse field on Many2one fields
Christophe Simonis [Tue, 9 Sep 2014 11:26:51 +0000 (13:26 +0200)]
[FIX] fields.py: One2many fields only set inverse field on Many2one fields

9 years ago[FIX] base: ir.model.data.name_get() respect expected behavior.
Christophe Simonis [Tue, 9 Sep 2014 11:09:50 +0000 (13:09 +0200)]
[FIX] base: ir.model.data.name_get() respect expected behavior.

name_get() must return a value for each ids and keep order of ids.

9 years ago[FIX] web: missing backport of rev df3c6b750249
Simon Lejeune [Tue, 9 Sep 2014 09:52:44 +0000 (11:52 +0200)]
[FIX] web: missing backport of rev df3c6b750249

[FIX] web: do not try to close a destroyed dialog. trigger "closing" signal on close by top-right "X" button

9 years ago[FIX] account.invoice.line: move context to last position in onchange methods
Raphael Collet [Tue, 9 Sep 2014 09:42:50 +0000 (11:42 +0200)]
[FIX] account.invoice.line: move context to last position in onchange methods

The methods product_id_change() and uos_id_change() have been converted to the
new api, and now use the decorator @multi.  When invoked with the old api, by
convention the methods will take the last argument as the context.  But this
will not work properly for those methods, as the context is passed in another
position.  In order to avoid an argument swap in the api wrapper, we moved the
context to its expected position.

Fixes #1943

9 years ago[IMP] auth_crypt: auto-install, improve description, bump version
Olivier Dony [Tue, 9 Sep 2014 08:35:38 +0000 (10:35 +0200)]
[IMP] auth_crypt: auto-install, improve description, bump version

The compatibility issue with auth_ldap has been
fixed and the default key derivation function
switched to PKDF2+SHA512. `auth_signup` provides
a password reset mechanism that can be used in
combination with `auth_crypt`.

9 years ago[ADD] l10n_no: Add Norwegian chart of accounts
rolvraen [Fri, 18 Jul 2014 21:57:30 +0000 (23:57 +0200)]
[ADD] l10n_no: Add Norwegian chart of accounts

Fixes #1272