odoo/odoo.git
9 years ago[MERGE] forward port of branch saas-3 up to d36eee9
Christophe Simonis [Wed, 5 Nov 2014 18:34:53 +0000 (19:34 +0100)]
[MERGE] forward port of branch saas-3 up to d36eee9

9 years ago[FIX] point_of_sale: the order should not be displayed in the print screen, and the...
Frederic van der Essen [Wed, 5 Nov 2014 19:02:49 +0000 (20:02 +0100)]
[FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen

9 years ago[MERGE] forward port of branch 7.0 up to 65d92da
Christophe Simonis [Wed, 5 Nov 2014 18:34:18 +0000 (19:34 +0100)]
[MERGE] forward port of branch 7.0 up to 65d92da

9 years ago[FIX] base: incorrect code and locale for Bosnian
Olivier Dony [Wed, 5 Nov 2014 18:09:23 +0000 (19:09 +0100)]
[FIX] base: incorrect code and locale for Bosnian

Stems from prebiblical commit f083aa2.

Fixes #3480

9 years ago[MERGE] forward port of branch saas-3 up to 48ffbb6
Christophe Simonis [Wed, 5 Nov 2014 18:00:51 +0000 (19:00 +0100)]
[MERGE] forward port of branch saas-3 up to 48ffbb6

9 years ago[MERGE] forward port of branch 7.0 up to cb91966
Christophe Simonis [Wed, 5 Nov 2014 17:58:07 +0000 (18:58 +0100)]
[MERGE] forward port of branch 7.0 up to cb91966

9 years ago[REVERT] 056c06570c741fab1515978a957766b0a77bd80a and a5cf71973916f3e9b6ea578a614c76b...
Julien Legros [Wed, 5 Nov 2014 17:24:40 +0000 (18:24 +0100)]
[REVERT] 056c06570c741fab1515978a957766b0a77bd80a and a5cf71973916f3e9b6ea578a614c76b0b34689d8

9 years ago[FIX] website: correct padding of footer
Christophe Simonis [Wed, 5 Nov 2014 15:12:38 +0000 (16:12 +0100)]
[FIX] website: correct padding of footer

9 years ago[IMP] sale_order_dates: quotation views (backport of b5e9e11)
Lionel Sausin (Numérigraphe) [Fri, 31 Oct 2014 13:21:14 +0000 (14:21 +0100)]
[IMP] sale_order_dates: quotation views (backport of b5e9e11)

Add the same fields on the quotation tree view than on the sale order tree view.

9 years ago[FIX] account_asset: asset depreciation should use the correct dates
Julien Legros [Wed, 5 Nov 2014 16:38:50 +0000 (17:38 +0100)]
[FIX] account_asset: asset depreciation should use the correct dates

fix a5cf71973916f3e9b6ea578a614c76b0b34689d8

9 years ago[IMP] safe_eval allow math
Antony Lesuisse [Wed, 5 Nov 2014 16:25:41 +0000 (17:25 +0100)]
[IMP] safe_eval allow math

9 years ago[FIX] doc: typo missed when merging contribution
Xavier Morel [Wed, 5 Nov 2014 16:12:46 +0000 (17:12 +0100)]
[FIX] doc: typo missed when merging contribution

9 years ago[FIX] longpolling/gevent: automatically restart worker when killed
Olivier Dony [Wed, 5 Nov 2014 13:28:59 +0000 (14:28 +0100)]
[FIX] longpolling/gevent: automatically restart worker when killed

Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.

9 years ago[FIX] longpolling/gevent: log errors occurring in main loop
Olivier Dony [Wed, 5 Nov 2014 13:36:19 +0000 (14:36 +0100)]
[FIX] longpolling/gevent: log errors occurring in main loop

9 years ago[FIX] forum: closing spam/offensive questions should give author karma penalty
Olivier Dony [Tue, 4 Nov 2014 18:03:17 +0000 (19:03 +0100)]
[FIX] forum: closing spam/offensive questions should give author karma penalty

This is a partial patch for issue #3460, pending more
improvements and refinements in master.

Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.

9 years ago[FIX] account_asset: move lines should use the depreciation line date
Julien Legros [Wed, 5 Nov 2014 15:56:44 +0000 (16:56 +0100)]
[FIX] account_asset: move lines should use the depreciation line date

opw-616843

9 years ago[IMP] doc: various improvements to website tutorial
hiekmann [Wed, 5 Nov 2014 11:54:10 +0000 (11:54 +0000)]
[IMP] doc: various improvements to website tutorial

closes #3476
closes #3477
closes #3479

9 years ago[IMP] account: (over)due payments report
Martin Trigaux [Wed, 5 Nov 2014 14:49:15 +0000 (15:49 +0100)]
[IMP] account: (over)due payments report

The report includes all due payments, not only the one after the maturity date.
The maturity date is displayed in the report so no confusion is possible for payments below the maturity date.
Fixes #3064

9 years agoRevert "[FIX] mrp: chain product move and MO locations"
Denis Ledoux [Wed, 5 Nov 2014 12:51:52 +0000 (13:51 +0100)]
Revert "[FIX] mrp: chain product move and MO locations"

This reverts commit 61a8971db510dbb0e087bba09858fe8b94c7b16d.

This rev. is from a 7.0 forward port b4d602fdd3379a0310ec0b9a56f9b88226

This is no longer needed in 8.0, with the new WMS

9 years ago[MERGE] forward port of branch saas-3 up to c666030
Denis Ledoux [Wed, 5 Nov 2014 12:40:30 +0000 (13:40 +0100)]
[MERGE] forward port of branch saas-3 up to c666030

9 years ago[MERGE] forward port of branch 7.0 up to cd69dee
Denis Ledoux [Wed, 5 Nov 2014 12:39:41 +0000 (13:39 +0100)]
[MERGE] forward port of branch 7.0 up to cd69dee

9 years ago[FIX] web: inhibit on change flag when validating editable list
Denis Ledoux [Wed, 5 Nov 2014 12:36:20 +0000 (13:36 +0100)]
[FIX] web: inhibit on change flag when validating editable list

To valid all editable list line, we iterate on the lines and set the editor form with the line value, using set_value.
The _inhibit_on_change_flag should be set to True to avoid triggering on changes events

opw-617395

9 years ago[FIX] ir_qweb: contact widget: use name_get instead of display_name
Simon Lejeune [Wed, 5 Nov 2014 12:37:56 +0000 (13:37 +0100)]
[FIX] ir_qweb: contact widget: use name_get instead of display_name

display_name field is overidden in res.partner in order to pop the context
key leading to show the address, and we want the address.

9 years ago[FIX] mrp: chain product move and MO locations
Julien Legros [Tue, 4 Nov 2014 17:07:59 +0000 (18:07 +0100)]
[FIX] mrp: chain product move and MO locations

When validating a SO containing a `make to stock` + `manufacture` product
(with bom + orderpoint), we have the following stock moves:
* Product move
* Manufacturing order
Selling 1 such product would yield 2 as incoming quantity, an
inconsistency that this commit solves by setting the location_id of the
product move to the MO's location_dest_id (in the same fashion that
the create_pickings method does in an mts/buy case)

opw-616229

9 years ago[FIX] product: pricelists based on the supplier prices now return first supplier...
David Monjoie [Mon, 3 Nov 2014 16:20:15 +0000 (17:20 +0100)]
[FIX] product: pricelists based on the supplier prices now return first supplier price if partner not in suppliers instead of returning 0

Without this, sale pricelists cannot be based on supplier prices as the partner is never a supplier so the price would be 0
Note: behavior change ok with fp

9 years ago[FIX] Report: get_pdf: don't miss main elements when parsing html
Simone Orsi [Wed, 5 Nov 2014 10:47:10 +0000 (11:47 +0100)]
[FIX] Report: get_pdf:  don't miss main elements when parsing html

Main elements can have more than one class, thus can be ignored by the previous
naive xpath. This patch brings a stronger xpath.

9 years ago[IMP] models: improve _mapped_func(), and add parameter 'reverse' in sorted()
Raphael Collet [Tue, 4 Nov 2014 16:02:00 +0000 (17:02 +0100)]
[IMP] models: improve _mapped_func(), and add parameter 'reverse' in sorted()

9 years ago[FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget...
Jeremy Kersten [Wed, 5 Nov 2014 10:11:26 +0000 (11:11 +0100)]
[FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget image. And change some img from blog to use this widget

9 years ago[MERGE] forward port of branch saas-3 up to c11451c
Denis Ledoux [Wed, 5 Nov 2014 09:29:51 +0000 (10:29 +0100)]
[MERGE] forward port of branch saas-3 up to c11451c

9 years ago[MERGE] forward port of branch 7.0 up to 9a37e5a
Denis Ledoux [Wed, 5 Nov 2014 09:29:27 +0000 (10:29 +0100)]
[MERGE] forward port of branch 7.0 up to 9a37e5a

9 years ago[FIX] web: regard the view_list has valid if not yet loaded
Denis Ledoux [Wed, 5 Nov 2014 09:26:57 +0000 (10:26 +0100)]
[FIX] web: regard the view_list has valid if not yet loaded

This fix is related to df845940ed52040ef92b1b5759306c556fa38e66

Fixes #3469

9 years ago[IMP] point_of_sale: show traceback when there is a posbox error
Frederic van der Essen [Tue, 4 Nov 2014 22:10:20 +0000 (23:10 +0100)]
[IMP] point_of_sale: show traceback when there is a posbox error

9 years ago[MERGE] forward port of branch saas-3 up to f7a76cb
Denis Ledoux [Tue, 4 Nov 2014 17:05:58 +0000 (18:05 +0100)]
[MERGE] forward port of branch saas-3 up to f7a76cb

9 years ago[MERGE] forward port of branch 7.0 up to be7c894
Denis Ledoux [Tue, 4 Nov 2014 16:54:48 +0000 (17:54 +0100)]
[MERGE] forward port of branch 7.0 up to be7c894

9 years ago[FIX] web_kanban: wrong condition to reset the dataset index
Denis Ledoux [Tue, 4 Nov 2014 16:45:53 +0000 (17:45 +0100)]
[FIX] web_kanban: wrong condition to reset the dataset index

This is related to rev. a218a9ed3f6c965820f2ebdf76ee0e6c89c59a0c

The condition is good, but not in the right place: It should be done once all read_slice (all columns records) are fetched, not at each read_slice end

9 years ago[FIX] mail: partners with missing/invalid emails must not halt notifications to others
Manuel Vázquez Acosta [Fri, 3 Oct 2014 13:19:30 +0000 (09:19 -0400)]
[FIX] mail: partners with missing/invalid emails must not halt notifications to others

9 years ago[IMP] models: improve query generation for _write() and _store_set_values()
Raphael Collet [Tue, 4 Nov 2014 15:27:36 +0000 (16:27 +0100)]
[IMP] models: improve query generation for _write() and _store_set_values()

9 years ago[FIX] web: keep pager in popup list view
Martin Trigaux [Tue, 4 Nov 2014 16:17:45 +0000 (17:17 +0100)]
[FIX] web: keep pager in popup list view

When an action opens records in list (or other) mode in a popup (target:new), the pager should be kept. It can be removed in form view.
Fixes #742

9 years ago[FIX] ir_model: fix create/update/delete custom fields
Raphael Collet [Tue, 4 Nov 2014 10:37:56 +0000 (11:37 +0100)]
[FIX] ir_model: fix create/update/delete custom fields

Creating custom fields would crash on a model that has a related field without
string.  The crash was caused by the field not being set up, and method
BaseModel._field_create() violating a non-null constraint on the field string.
This has been fixed by setting up fields before updating ir_model_fields.

Deleting a custom field could also cause trouble when that field is inherited
in a child model.  In that case, the registry was simply no longer consistent.
The fix is to reload completely the registry.

The modification of custom fields was not reflected on field objects.  The fix
applies changes on fields before updating columns accordingly.

9 years ago[FIX] account: correctly compute residual amount of partially reconciled multi-term...
Arthur Maniet [Mon, 3 Nov 2014 13:06:52 +0000 (14:06 +0100)]
[FIX] account: correctly compute residual amount of partially reconciled multi-term invoices.
Fixes #1213

9 years ago[FIX] account: recompute invoice residual amount when one of its move lines is totall...
Arthur Maniet [Mon, 3 Nov 2014 10:32:53 +0000 (11:32 +0100)]
[FIX] account: recompute invoice residual amount when one of its move lines is totally reconciled
Fixes #3395

9 years ago[FIX] website_sale: typo in help string.
Will Stott [Tue, 4 Nov 2014 10:16:14 +0000 (10:16 +0000)]
[FIX] website_sale: typo in help string.

9 years ago[FIX] display the message title in the page title for seo
David Monjoie [Tue, 4 Nov 2014 12:49:01 +0000 (13:49 +0100)]
[FIX] display the message title in the page title for seo

It used to display the name of the qweb template for every message, which was uninformative and bad for seo

9 years ago[IMP] use model._fields instead of model._all_columns to cover all fields
Raphael Collet [Mon, 3 Nov 2014 15:00:50 +0000 (16:00 +0100)]
[IMP] use model._fields instead of model._all_columns to cover all fields

The old-api model._all_columns contains information about model._columns and
inherited columns.  This dictionary is missing new-api computed non-stored
fields, and the new field objects provide a more readable api...

This commit contains the following changes:

 - adapt several methods of BaseModel to use fields instead of columns and
   _all_columns

 - copy all semantic-free attributes of related fields from their source

 - add attribute 'group_operator' on integer and float fields

 - base, base_action_rule, crm, edi, hr, mail, mass_mailing, pad,
   payment_acquirer, share, website, website_crm, website_mail: simply use
   _fields instead of _all_columns

 - base, decimal_precision, website: adapt qweb rendering methods to use fields
   instead of columns

9 years ago[FIX] product: use new api to retrieve user company
Denis Ledoux [Tue, 4 Nov 2014 12:04:50 +0000 (13:04 +0100)]
[FIX] product: use new api to retrieve user company

9 years ago[MERGE] forward port of branch saas-3 up to 8c4a7cb
Denis Ledoux [Tue, 4 Nov 2014 11:30:01 +0000 (12:30 +0100)]
[MERGE] forward port of branch saas-3 up to 8c4a7cb

9 years ago[MERGE] forward port of branch 7.0 up to 5035c76
Denis Ledoux [Tue, 4 Nov 2014 11:19:58 +0000 (12:19 +0100)]
[MERGE] forward port of branch 7.0 up to 5035c76

9 years ago[FIX] product: product prices can be company dependent
Denis Ledoux [Tue, 4 Nov 2014 10:54:03 +0000 (11:54 +0100)]
[FIX] product: product prices can be company dependent

Some prices, as standard_price, being a property, are company dependent. Therefore, when browsing as superuser, force_company is mandatory to get the property of the user company

9 years ago[FIX] gamification: call _send_badge on right object
Martin Trigaux [Tue, 4 Nov 2014 10:49:31 +0000 (11:49 +0100)]
[FIX] gamification: call _send_badge on right object

9 years agoMerge pull request #3332 from akretion/8.0-prepare-analytic-pos
Frédéric Van der Essen [Tue, 4 Nov 2014 10:39:03 +0000 (11:39 +0100)]
Merge pull request #3332 from akretion/8.0-prepare-analytic-pos

point_of_sale: Add _prepare_analytic_account method

9 years ago[FIX] account: backport of 12a39db
Stéphane Bidoul [Mon, 23 Jun 2014 15:23:32 +0000 (17:23 +0200)]
[FIX] account: backport of 12a39db

[FIX] account: Preserve analytic account on tax lines which are on same general account as invoice line

After careful analysis, I'm now convinced it is a good thing to preserve
the analytic account on taxes line which have the same general account
as the invoice line.

This is the best default case and will save time for users,
while leaving the flexibility to adapt the analytic account on
taxes manually.

9 years ago[FIX] account: backport of 3470643
Stéphane Bidoul [Fri, 6 Jun 2014 14:51:09 +0000 (16:51 +0200)]
[FIX] account: backport of 3470643

[FIX] account: Error when manually adding analytic account in the generated tax lines on an invoice

fixes #374
fixes https://bugs.launchpad.net/ocb-addons/+bug/1084822

The fix considers invoice tax lines with different analytic account
are equivalent for the purpose of checking if the list of tax line
is complete.

Caveat, this changes the structure of keys in the dictionary
returned by account.invoice.tax's compute method, I suppose this
is ok for the master branch.

9 years ago[FIX] website: main layout - title more flexible for customization. (additionnal_...
Jeremy Kersten [Tue, 4 Nov 2014 10:20:21 +0000 (11:20 +0100)]
[FIX] website: main layout - title more flexible for customization. (additionnal_)title was overwritted by website_meta_title or main_object.name

9 years ago[FIX] web: t-attf expects #{} or {{}} for variables
Denis Ledoux [Tue, 4 Nov 2014 09:54:15 +0000 (10:54 +0100)]
[FIX] web: t-attf expects #{} or {{}} for variables

not just {}. Nevertheless, It somehow worked in Odoo 7.0 and saas-3.

9 years ago[IMP] project_issue : correct model name in onchange method
Sheth Sunny [Mon, 3 Nov 2014 10:08:22 +0000 (15:38 +0530)]
[IMP] project_issue : correct model name in onchange method

There is no model project.issueS, making the onchange select an inexistant model.
Fixes #3418

9 years ago[FIX] base_iban: IBAN constraint trigger
Alexis de Lattre [Fri, 31 Oct 2014 21:33:58 +0000 (22:33 +0100)]
[FIX] base_iban: IBAN constraint trigger

Make sure the constraint on IBAN format is checked when either the state or the account number is changed.
'iban' field was not modified so the check never triggered and could enter invalid IBAN
Fixes #3426

9 years ago[FIX] web: more backports for cleditor
Thibault Delavallée [Wed, 5 Mar 2014 10:49:31 +0000 (11:49 +0100)]
[FIX] web: more backports for cleditor

Restauring changes removed by the update of the library
bff34f4014aee31aac7412cc38598adbeb8230f0
17a23c60b80474f053997f90d05a94acb8561604
cc23ddd0cec62342d538c17140840f7dda569d0b
5c45aac7ef9df8f2f0d2aeb213813a99dfb2a8c7

9 years ago[IMP] marketing_campaign: forbid creation of activities from transitions
Christophe Simonis [Mon, 3 Nov 2014 16:42:19 +0000 (17:42 +0100)]
[IMP] marketing_campaign: forbid creation of activities from transitions

9 years ago[IMP] doc: remove guides section, move themes to tutorials and rest to reference
Xavier Morel [Mon, 3 Nov 2014 16:31:54 +0000 (17:31 +0100)]
[IMP] doc: remove guides section, move themes to tutorials and rest to reference

also pass PNGs through crusher, turns out dot produces pretty terrible PNGs

9 years ago[FIX] web: backport of 2331b14
Paramjit Singh Sahota [Tue, 4 Mar 2014 13:25:34 +0000 (18:55 +0530)]
[FIX] web: backport of 2331b14

Update the cleditor lib from v1.3.0 to v1.4.4 fixing IE11 issue, opw 614826

9 years ago[FIX] Remove duplicate "Can be purchased" filter.
Leonardo Donelli [Thu, 2 Oct 2014 13:31:08 +0000 (15:31 +0200)]
[FIX] Remove duplicate "Can be purchased" filter.

Duplicate product filter "To Purchase" and "Can be Purchased". Same search
criteria and same name, so removing one doesn't affect people who were
referencing it (e.g. with search_default_* key in context).  Left the one
named "Can be Purchased" because consistent with the equivalent sale filter
"Can be Sold".

Fixes #2718, closes #2864

9 years ago[FIX] payment_paypal: add company name in paypal item name
Denis Ledoux [Mon, 3 Nov 2014 14:13:38 +0000 (15:13 +0100)]
[FIX] payment_paypal: add company name in paypal item name

So the company name is displayed in the paypal payment form

9 years ago[IMP] doc: add some diagrams to workflow doc
Xavier Morel [Mon, 3 Nov 2014 13:53:38 +0000 (14:53 +0100)]
[IMP] doc: add some diagrams to workflow doc

Also move transitions to the bottom of the document, and try to clarify the
documentation for split, join and activity kinds.

9 years ago[FIX] payment_paypal: env field has been renamed with environment in 8.0
Denis Ledoux [Mon, 3 Nov 2014 13:06:52 +0000 (14:06 +0100)]
[FIX] payment_paypal: env field has been renamed with environment in 8.0

as env is a built-in orm variable.

9 years ago[DOC] fields.py: oldname key
Richard Mathot [Mon, 3 Nov 2014 12:39:16 +0000 (18:09 +0530)]
[DOC] fields.py: oldname key

9 years ago[FIX] doc: graph <field> does not use :grouping
Xavier Morel [Mon, 3 Nov 2014 12:00:54 +0000 (13:00 +0100)]
[FIX] doc: graph <field> does not use :grouping

see #3403 and 7ad4af8

9 years ago[CHG] doc: promote individual view types to document toplevel
Xavier Morel [Mon, 3 Nov 2014 11:59:59 +0000 (12:59 +0100)]
[CHG] doc: promote individual view types to document toplevel

9 years ago[FIX] point_of_sale: details of sales report: include discount when computing taxes
Simon Lejeune [Mon, 3 Nov 2014 11:24:09 +0000 (12:24 +0100)]
[FIX] point_of_sale: details of sales report: include discount when computing taxes

Also, fixed a typo in the report's view.

9 years ago[IMP] account: Add multi-company record rule for analytic entries report
Adrien Peiffer [Mon, 29 Sep 2014 15:26:14 +0000 (17:26 +0200)]
[IMP] account: Add multi-company record rule for analytic entries report

As a multi-company rule is already present for account.analytic.account and account.analytic.line, should have one on the report on both of them.

9 years ago[IMP] account: remove duplicated field in view
Martin Trigaux [Mon, 3 Nov 2014 10:41:03 +0000 (11:41 +0100)]
[IMP] account: remove duplicated field in view

Partial backport of 5f06129.
Fixes #2837

9 years ago[FIX] doc: fit code example to new API
Nicolas Bustillos [Thu, 30 Oct 2014 22:34:48 +0000 (18:34 -0400)]
[FIX] doc: fit code example to new API

When using this code as is, the 'ids' variable throws an exception for not
being defined. In the new API, 'ids' is no longer given as a function variable
but as a variable within 'self'.

close #3406

9 years ago[FIX] corrected a word in a comment
hiekmann [Fri, 31 Oct 2014 14:44:52 +0000 (14:44 +0000)]
[FIX] corrected a word in a comment

closes #3423

9 years ago[FIX] product_visible_discount: display full unit price only when the discount column...
David Monjoie [Fri, 31 Oct 2014 13:49:33 +0000 (14:49 +0100)]
[FIX] product_visible_discount: display full unit price only when the discount column is displayed

Without this, the unit price is visually set to full, the discount column is not visible, but the actual price used in computation is the discounted price, very misleading !

9 years ago[FIX] product: pricelist now consider the quantity in product uom qty for rule applic...
David Monjoie [Thu, 30 Oct 2014 16:08:12 +0000 (17:08 +0100)]
[FIX] product: pricelist now consider the quantity in product uom qty for rule application purposes

9 years ago[FIX] purchase: fixed recomputation of unit price when changing product quantity...
David Monjoie [Thu, 30 Oct 2014 13:41:15 +0000 (14:41 +0100)]
[FIX] purchase: fixed recomputation of unit price when changing product quantity or uom

9 years ago[FIX] web: on editable list save, valid all records
Denis Ledoux [Fri, 31 Oct 2014 16:40:56 +0000 (17:40 +0100)]
[FIX] web: on editable list save, valid all records

opw-617036:
In my current timesheet, if you add a a required field on the timesheet ids lines, and add data in the summary tab, it was possible to validate the timesheet lines while requried fields were missing.

9 years ago[FIX] pad: hide navbar when passing in fullscreen mode
Christophe Simonis [Fri, 31 Oct 2014 16:38:11 +0000 (17:38 +0100)]
[FIX] pad: hide navbar when passing in fullscreen mode

9 years ago[FIX] stock: more tolerant copy method
Mohammad Alhashash [Fri, 31 Oct 2014 12:47:18 +0000 (14:47 +0200)]
[FIX] stock: more tolerant copy method

Allow setting origin/backorder when copying new stock.picking
Fixes #379, lp:1098557

9 years ago[IMP] stock: avoid errors with picking without quantity
Martin Trigaux [Fri, 31 Oct 2014 11:20:56 +0000 (12:20 +0100)]
[IMP] stock: avoid errors with picking without quantity

When a line is not present in the partial delivery wizard, computation variables are initialized with generic values (zero quantity, zero price,...). Instead of setting the uom to False, keep the quantity of the move.
This makes a difference only when the quantity of the move is 0. That means that the move will be marked as complete and can be processed.
This avoids trying to update the stock.move with a uom at False. opw 616844

9 years ago[FIX] updates the graph view documentation
Géry Debongnie [Fri, 31 Oct 2014 08:43:56 +0000 (09:43 +0100)]
[FIX] updates the graph view documentation

It was wrong.

9 years ago[IMP] doc: link directly to edition mode in docfiles
Xavier Morel [Thu, 30 Oct 2014 15:24:03 +0000 (16:24 +0100)]
[IMP] doc: link directly to edition mode in docfiles

9 years ago[IMP] doc: add link to company website in footer, fix release version
Xavier Morel [Thu, 30 Oct 2014 15:18:52 +0000 (16:18 +0100)]
[IMP] doc: add link to company website in footer, fix release version

9 years ago[IMP] doc: link logo to current doc's root, not to odoo.com
Xavier Morel [Thu, 30 Oct 2014 15:14:35 +0000 (16:14 +0100)]
[IMP] doc: link logo to current doc's root, not to odoo.com

9 years ago[FIX] account: default partner format
Martin Trigaux [Fri, 31 Oct 2014 07:38:34 +0000 (08:38 +0100)]
[FIX] account: default partner format

When creating a new account.move.line, the computation of the default values should accept both `id` and `(id, name)` format.
The key partner_id may be containing a tuple so browsing should only be done on the first element of the tuple.
Fixes #3386

9 years ago[FIX] project_issue: explicit store attribute for the progress function field
Julien Legros [Thu, 30 Oct 2014 16:58:29 +0000 (17:58 +0100)]
[FIX] project_issue: explicit store attribute for the progress function field

This is a workaround for an ORM limitation. A stored function field is
not updated when it should if the "source" field is also a stored function
field

9 years ago[FIX] packaging: debian: set /var/lib/odoo as odoo user home dir
Simon Lejeune [Thu, 30 Oct 2014 14:50:45 +0000 (15:50 +0100)]
[FIX] packaging: debian: set /var/lib/odoo as odoo user home dir

9 years ago[FIX] account: domain on wrong field
Somesh Khare [Mon, 13 Oct 2014 12:24:25 +0000 (17:54 +0530)]
[FIX] account: domain on wrong field

The store recomputation method failed as the search was made comparing id of account.move.line to the account.journal values. Search was returing no result most of the time (opw 615554)
Fixes #2454

9 years ago[FIX] fields: make field.store=False on old-style function fields
Raphael Collet [Thu, 30 Oct 2014 10:00:10 +0000 (11:00 +0100)]
[FIX] fields: make field.store=False on old-style function fields

Clarify the semantics of field attributes:
 - field.store is True when the field is actually stored in the database;
 - field.column is the column corresponding to field or None.

The various field definitions correspond to:
 - new-style stored field: field.store and field.column
 - new-style non-stored field: not field.store and not field.column
 - old-style regular field: field.store and field.column
 - old-style function field: not field.store and field.column

9 years ago[FIX] purchase: fixed product_uom and price_unit update on product_id change on purch...
David Monjoie [Thu, 30 Oct 2014 10:19:18 +0000 (11:19 +0100)]
[FIX] purchase: fixed product_uom and price_unit update on product_id change on purchase.order_line form view

9 years ago[FIX] report: fix report HTML editor scrollbar in Firefox
David Monjoie [Thu, 30 Oct 2014 11:25:13 +0000 (12:25 +0100)]
[FIX] report: fix report HTML editor scrollbar in Firefox

9 years ago[FIX] website_sale: don't display twice some products
Jorge [Thu, 30 Oct 2014 11:04:42 +0000 (12:04 +0100)]
[FIX] website_sale: don't display twice some products

In list view, the 10 last products of a page were the 10 first products of the next page.
Fixes #3373

9 years ago[FIX] core: correct cron thread registry iteration
Christophe Simonis [Thu, 30 Oct 2014 10:05:07 +0000 (11:05 +0100)]
[FIX] core: correct cron thread registry iteration

Fixes #3387

9 years ago[FIX] base_action_rule: Make sure model exists before trying to wrap hooks
Sandy Carter [Thu, 23 Oct 2014 21:45:55 +0000 (17:45 -0400)]
[FIX] base_action_rule: Make sure model exists before trying to wrap hooks

In certain cases, before running an update unregistered models will try to
register hooks. Trying to wrap create and write on these will cause
AttributeError on model_obj which would be None

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>

9 years ago[IMP] .gitignore maintenance migration scripts
Christophe Simonis [Wed, 29 Oct 2014 18:49:26 +0000 (19:49 +0100)]
[IMP] .gitignore maintenance migration scripts

9 years ago[FIX] account: indendation error in 82588fa
Olivier Dony [Wed, 29 Oct 2014 18:42:13 +0000 (19:42 +0100)]
[FIX] account: indendation error in 82588fa

The original tax should not be included if
it was found in the tax mapping, even
if it has no replacement.

Fixes #2261 (hopefully, this time)

9 years ago[MERGE] forward port of branch saas-3 up to 21b1203
Christophe Simonis [Wed, 29 Oct 2014 18:33:02 +0000 (19:33 +0100)]
[MERGE] forward port of branch saas-3 up to 21b1203

9 years ago[MERGE] forward port of branch 7.0 up to 43db726
Christophe Simonis [Wed, 29 Oct 2014 18:05:43 +0000 (19:05 +0100)]
[MERGE] forward port of branch 7.0 up to 43db726

9 years ago[FIX] l10n_fr: "passif" part of the "bilan" report
Simon Lejeune [Wed, 29 Oct 2014 17:45:25 +0000 (18:45 +0100)]
[FIX] l10n_fr: "passif" part of the "bilan" report

Report's model was full, but not the view. Leftover of rev 7e8dcc5600b61d68af
refactoring.

9 years ago[IMP] core: manage registries via an LRU.
Christophe Simonis [Wed, 29 Oct 2014 17:28:07 +0000 (18:28 +0100)]
[IMP] core: manage registries via an LRU.

When working with a large number of databases, the memory allocated to
registries wasn't limited, resulting to waste memory (especially in the
longpolling worker, which is not recycled).
The size of the LRU is depending on the soft limit configured for
workers.

9 years ago[FIX] web_calendar: cast the id into int. When you open a form view in a popup via...
Jeremy Kersten [Wed, 29 Oct 2014 16:43:44 +0000 (17:43 +0100)]
[FIX] web_calendar: cast the id into int. When you open a form view in a popup via the attr 'event_open_popup', in some cases the id is a string and so the popup is empty... FIX #545  PR #551