odoo/odoo.git
9 years ago[FIX] check after openerp's AccessErrors in website's _handle_exception
Fabien Meghazi [Wed, 25 Jun 2014 10:20:40 +0000 (12:20 +0200)]
[FIX] check after openerp's AccessErrors in website's _handle_exception

9 years ago[FIX] _handle_exception() logic amongst requests and ir_http objects
Fabien Meghazi [Wed, 25 Jun 2014 09:47:44 +0000 (11:47 +0200)]
[FIX] _handle_exception() logic amongst requests and ir_http objects

Changes in website's ir_http#_handle_exception():

- exception is mandatory, can't be None anymore
- we don't touch non website_enabled requests
- we don't touch explicits plain responses from parent
- logic flow is now easier to read (I hope so)

Change in website's ir_http#_dispatch():

- In case of real 404, instead of returning self._handle_exception(),
  just let parent do the job (so we call super())

9 years ago[MERGE] Forward-port of 7.0 bugfixes up to e2201369a314feaec70a485f0459c1dcdcecd82b
Denis Ledoux [Tue, 24 Jun 2014 11:56:51 +0000 (13:56 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to e2201369a314feaec70a485f0459c1dcdcecd82b

9 years ago[FIX] web: format.js, toString while parsing date
Denis Ledoux [Tue, 24 Jun 2014 11:53:02 +0000 (13:53 +0200)]
[FIX] web: format.js, toString while parsing date

When attempting to parse client date, value is not always a string.
We force the toString when adding the leading 0, as the replace method is for string

9 years agoMerge pull request #650 from yvaucher/patch-1
Martin Trigaux [Tue, 24 Jun 2014 11:49:50 +0000 (13:49 +0200)]
Merge pull request #650 from yvaucher/patch-1

[7.0] sale_stock: field sale_id should be on stock.picking.out view

9 years ago[MERGE] Forward-port of 7.0 bugfixes up to 7d3453d119a80f484918842682ac5f4299d91e7b
Denis Ledoux [Tue, 24 Jun 2014 10:27:09 +0000 (12:27 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to 7d3453d119a80f484918842682ac5f4299d91e7b

9 years ago[FIX] purchase_requisition: broken procurement wkf
Denis Ledoux [Tue, 24 Jun 2014 10:12:27 +0000 (12:12 +0200)]
[FIX] purchase_requisition: broken procurement wkf

If a purchase requisition is created instead of a purchase order for a procurement order, the method make_po should not return the id of this requisition, as methods calling the make_po method expects ids of purchase orders, not purchase requisition ids.

Besides, on purchase requisition done or cancel, we set the procurement order accordingly, without the use of the workflow. We consider this as crappy, the proper fix should be the use of a dedicated workflow for purchase requisition, but I cannot be done in stable branches. This aims trunk/master.

9 years agoMerge pull request #739 from apertoso/7.0-bug-vat_intra
Martin Trigaux [Tue, 24 Jun 2014 07:27:16 +0000 (09:27 +0200)]
Merge pull request #739 from apertoso/7.0-bug-vat_intra

[FIX] l10n_be: VAT number for Intra XML declaration should not contain county code

9 years ago[FIX] Partner VAT Intra XML delaration: Vat number format correction
Jos De Graeve [Mon, 23 Jun 2014 16:18:42 +0000 (18:18 +0200)]
[FIX] Partner VAT Intra XML delaration: Vat number format correction

The Partner VAT Intra XML delaration needs to have the VAT number
in the format without the country code prefix.

The current behaviour was to include the country code prefix in the
report which causes an SQLException error on uploading the XML file
to the Federal goverment's website.  While the error is non-descriptive
fixing the VAT number format fixes the error.

9 years agoMerge pull request #17 from savoirfairelinux/7.0-m2m-context
Martin Trigaux [Mon, 23 Jun 2014 15:41:03 +0000 (17:41 +0200)]
Merge pull request #17 from savoirfairelinux/7.0-m2m-context

[FIX] view_list: Add context propagation for m2m list view

If the _rec_name field of a model is translatable, the value was not translated when displayed in a list view through a many2many field (e.g. server_action_ids on base.action.rule).

9 years ago[FIX] calendar: do not parse date to date
Martin Trigaux [Mon, 23 Jun 2014 14:21:28 +0000 (16:21 +0200)]
[FIX] calendar: do not parse date to date

When creating an event from the calendar view, no need to parse a date to date (error undefined is not a function)

9 years ago[IMP] module: when uninstalling a module, do not redirect to a useless screen
Martin Trigaux [Mon, 23 Jun 2014 11:09:36 +0000 (13:09 +0200)]
[IMP] module: when uninstalling a module, do not redirect to a useless screen

9 years ago[FIX] orm: allow unicode in inherit views with attribute
kevin wang [Mon, 23 Jun 2014 10:48:27 +0000 (12:48 +0200)]
[FIX] orm: allow unicode in inherit views with attribute

When extending a view with position='attributes', prevent crash if view contains unicode char
Fixes #706

9 years ago[MERGE] forward port of branch 7.0 up to 7e85786
Christophe Simonis [Sun, 22 Jun 2014 11:44:30 +0000 (13:44 +0200)]
[MERGE] forward port of branch 7.0 up to 7e85786

9 years ago[FIX] server: log network errors via logging. ignore EPIPE
Christophe Simonis [Sun, 22 Jun 2014 11:21:34 +0000 (13:21 +0200)]
[FIX] server: log network errors via logging. ignore EPIPE

9 years agoweb: do not select the first result if click on search more
Jacques-Etienne Baudoux [Fri, 20 Jun 2014 14:10:02 +0000 (16:10 +0200)]
web: do not select the first result if click on search more

When searching for a record in a m2o field, if we click on 'search more' we loose the focus on the field and select the first suggestion (which triggers potential on_change). This prevents the selection for this case.

9 years ago[IMP] module: warning when uninstalling modules
Ruchir Shukla [Fri, 20 Jun 2014 15:36:26 +0000 (17:36 +0200)]
[IMP] module: warning when uninstalling modules

When a module is uninstalled, this will also uninstall modules depending of it. To avoid unexpected loss of data, this patch list the modules that will get impacted during the installation.
This also affects the configuration pages with on change warnings.

9 years ago[REM] Old .bzrignore file
Richard Mathot [Fri, 20 Jun 2014 12:21:05 +0000 (14:21 +0200)]
[REM] Old .bzrignore file

9 years ago[IMP] web: allow fields in list view to use the attrs readonly to dynamically show...
Martin Trigaux [Fri, 20 Jun 2014 12:04:52 +0000 (14:04 +0200)]
[IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields

9 years agoMerge pull request #611 from odoo-dev/saas-3-really-fix-session-expired-fme
odony [Fri, 20 Jun 2014 09:02:22 +0000 (11:02 +0200)]
Merge pull request #611 from odoo-dev/saas-3-really-fix-session-expired-fme

[MERGE]  http routing: fix handle_exception logic and _authenticate exceptions

* Better separate JsonRequest and HttpRequest handling
for exceptions, so each type of request handles exception
the right way. Previously HttpRequest would supersede
JsonRequest in some cases and generate pure HTML
responses where a JSON result was expected.
* Also ensure that ir.http._authenticate() only raises
two possible exception types, hiding any other kind
of internal errors:
 - openerp.exceptions.AccessDenied
 - openerp.http.SessionExpiredException

9 years agoMerge pull request #325 from odoo-dev/saas-3-opw-608186-acl
Martin Trigaux [Thu, 19 Jun 2014 14:01:23 +0000 (16:01 +0200)]
Merge pull request #325 from odoo-dev/saas-3-opw-608186-acl

[FIX] sale: cannot filter on paid = False (opw 608186)

9 years ago[MERGE] forward port of branch 7.0 up to e5533d0
Christophe Simonis [Thu, 19 Jun 2014 13:32:32 +0000 (15:32 +0200)]
[MERGE] forward port of branch 7.0 up to e5533d0

9 years agoMerge pull request #654 from nel-odoo/patch-3
Martin Trigaux [Thu, 19 Jun 2014 13:16:01 +0000 (15:16 +0200)]
Merge pull request #654 from nel-odoo/patch-3

Production : Use the source location of the MO instead of the one of the BOM

9 years ago[FIX] web: focused field in view editable list
Denis Ledoux [Thu, 19 Jun 2014 12:58:44 +0000 (14:58 +0200)]
[FIX] web: focused field in view editable list

When adding an item to the editable list, the focused field was no longer the first visible field
This is related to revision 4a508885ac043b25465aa5741955082aa66ce949
visible_columns list is not ordered

9 years agoProduction : Source location of the BOM
Najlaâ El Khayat [Thu, 19 Jun 2014 12:51:32 +0000 (14:51 +0200)]
Production : Source location of the BOM

Use the source location defined on the current MO's routing not directly on the BOM

9 years ago[FIX] website: correct selector
Paramjit Singh Sahota [Thu, 19 Jun 2014 12:45:56 +0000 (14:45 +0200)]
[FIX] website: correct selector

The selector to toggle the theme was triggered too often (on almost each button) but had no effect because no view-id was present.
Patch fix #627

9 years agoFix sale_id on stock.picking.out view
Yannick Vaucher [Thu, 19 Jun 2014 12:10:24 +0000 (14:10 +0200)]
Fix sale_id on stock.picking.out view

View inheritance is on the wrong model after model change of stock.picking.
Here we just fix the model.

9 years agoMerge pull request #648 from odoo-dev/7.0-fix-searchbar-navigation-ged
xmo-odoo [Thu, 19 Jun 2014 11:31:41 +0000 (13:31 +0200)]
Merge pull request #648 from odoo-dev/7.0-fix-searchbar-navigation-ged

[FIX] fixes searchbar navigation (web client)

9 years ago[FIX] Fix attach icon that was under the upload label.
Thibault Delavallée [Thu, 19 Jun 2014 10:56:46 +0000 (12:56 +0200)]
[FIX] Fix attach icon that was under the upload label.

9 years ago[FIX] fixes searchbar navigation (web client)
Géry Debongnie [Thu, 19 Jun 2014 10:43:25 +0000 (12:43 +0200)]
[FIX] fixes searchbar navigation (web client)

the code handling the keydown events was moved, but the variable this
was not adjusted accordingly, resulting in a broken navigation.

It is now possible to press LEFT and RIGHT again to move the focus
between facets.

9 years ago[FIX] web_calendar: check for edit access rights + use correct display mode (view...
Thibault Delavallée [Thu, 19 Jun 2014 10:26:24 +0000 (12:26 +0200)]
[FIX] web_calendar: check for edit access rights + use correct display mode (view or edit) when going into a document form view from the calendar.

9 years agoMerge pull request #138 from odoo-dev/saas-3-bug_1307341-ptr
Thibault Delavallée [Thu, 19 Jun 2014 10:04:32 +0000 (12:04 +0200)]
Merge pull request #138 from odoo-dev/saas-3-bug_1307341-ptr

[FIX] kanban: ie9: fixed the display of 'show more' button

9 years agoFix wrong partner_id refs in Project demo data
dreispt [Wed, 18 Jun 2014 15:41:51 +0000 (16:41 +0100)]
Fix wrong partner_id refs in Project demo data

9 years agoRemoved widge=selection from account_id field in line in Purchase Receipt, as it...
dhr-odoo [Fri, 13 Jun 2014 10:38:12 +0000 (16:08 +0530)]
Removed widge=selection from account_id field in line in Purchase Receipt, as it only displays limited records(100) from the limit set in the name_search

9 years agoMerge pull request #616 from odoo-dev/7.0-opw-608485-rgo
Martin Trigaux [Wed, 18 Jun 2014 15:45:19 +0000 (17:45 +0200)]
Merge pull request #616 from odoo-dev/7.0-opw-608485-rgo

[FIX] l10n_be_invoice_bba: random generation do not use sequence, so should be 10 char long during padding

9 years agogit commit -a -mm
Fabien Meghazi [Wed, 18 Jun 2014 14:56:46 +0000 (16:56 +0200)]
git commit -a -mm

9 years agoBring back exception conversion to Forbidden
Fabien Meghazi [Wed, 18 Jun 2014 13:40:09 +0000 (15:40 +0200)]
Bring back exception conversion to Forbidden

9 years ago[FIX] auth_crypt: encrypt all passwords at installation
Olivier Dony [Wed, 18 Jun 2014 13:22:44 +0000 (15:22 +0200)]
[FIX] auth_crypt: encrypt all passwords at installation

When `base_crypt` was updated for v7, the auto-encryption
at installation was dropped, with user passwords only
encrypted on-demand whenever the user would connect.

It is important to encrypt all passwords immediately to
prevent password compromission for user who do not
login often or even for deactivated users who are not
allowed to login anymore.

Fixes https://bugs.launchpad.net/openobject-addons/+bug/1280152

Based on LP merge proposal by Nicolas Bessi (Camptocamp):
https://code.launchpad.net/~camptocamp/openobject-addons/improve_auth_crypt_3_please_launchpad_work-nbi/+merge/206476

9 years ago[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)
Anael Closson [Wed, 18 Jun 2014 12:33:35 +0000 (14:33 +0200)]
[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)

When parsing incoming messages, ignore white-space around
In-Reply-To headers, and extract message-id items inside
the References header using a regex.
This actually serves as a workaround for broken MTAs
mangling References (such as outlook.com nesting past ones
with commas, violating RFC2822).

Closes #516 as a manual rebase.

9 years agoChanged as per the recommandation of Sir Odo
Fabien Meghazi [Wed, 18 Jun 2014 12:31:16 +0000 (14:31 +0200)]
Changed as per the recommandation of Sir Odo

9 years ago[FIX] l10n_be_invoice_bba: Fixed the length of random generated code to ensure it...
Ravi Gohil [Wed, 18 Jun 2014 10:19:38 +0000 (15:49 +0530)]
[FIX] l10n_be_invoice_bba: Fixed the length of random generated code to ensure it generates 10 digit code so that it allows validation of invoice. (Maintenance Case: 608485)

9 years ago[FIX] web: allow using dates and datetimes without leading zeros
Denis Ledoux [Wed, 18 Jun 2014 09:12:27 +0000 (11:12 +0200)]
[FIX] web: allow using dates and datetimes without leading zeros

9 years ago[FIX] Session Expired message in backend
Fabien Meghazi [Wed, 18 Jun 2014 08:24:37 +0000 (10:24 +0200)]
[FIX] Session Expired message in backend

9 years ago[IMP] Ir Action Server - Fix the domain for the field 'Link Using field'.
Jeremy Kersten [Tue, 17 Jun 2014 13:17:14 +0000 (15:17 +0200)]
[IMP] Ir Action Server - Fix the domain for the field 'Link Using field'.

9 years ago[FIX] GAMIFICATION: Fixed the Attribute Error
Paramjit Singh Sahota [Tue, 17 Jun 2014 08:52:59 +0000 (14:22 +0530)]
[FIX] GAMIFICATION: Fixed the Attribute Error
    ' 'str' object has no attribute 'strftime' '

9 years ago[FIX] web: save date(time) field value on key enter in editable list
Denis Ledoux [Tue, 17 Jun 2014 10:56:13 +0000 (12:56 +0200)]
[FIX] web: save date(time) field value on key enter in editable list

In editable list, on keypress enter, the _next method is called, saving the current line and starting the edition of the next one
The _next is triggered before the date(time) field change event, and, therefore, the saved value of the date(time) field is the old one

9 years ago[FIX] auth_oauth: url_unquote_plus does not handle boolean
Denis Ledoux [Tue, 17 Jun 2014 07:26:20 +0000 (09:26 +0200)]
[FIX] auth_oauth: url_unquote_plus does not handle boolean

If the redirect param 'r' is not in the state, do no try to unquote it

9 years ago[FIX] auth_oauth: unquote redirect url from state
Denis Ledoux [Mon, 16 Jun 2014 20:52:50 +0000 (22:52 +0200)]
[FIX] auth_oauth: unquote redirect url from state

This is related to 2db6a0080f9eeac7030d6d2d856574f2192d8aa5. Looks like Firefox auto unquote, but not Chrome

9 years ago[FIX] auth_oauth: quote redirect url in state
Denis Ledoux [Mon, 16 Jun 2014 20:40:31 +0000 (22:40 +0200)]
[FIX] auth_oauth: quote redirect url in state

Otherwise, Firefox is splitting the state at the first &, which can potentially be located in the redict param of the state

9 years ago[FIX] mail: missing .id during forward port 3c0292645fcb9604e3c4f08a37b7e8702d464065
Denis Ledoux [Mon, 16 Jun 2014 16:07:10 +0000 (18:07 +0200)]
[FIX] mail: missing .id during forward port 3c0292645fcb9604e3c4f08a37b7e8702d464065

9 years ago[FIX] account_analytic_analysis: product_id_change, variable price referenced before...
Denis Ledoux [Mon, 16 Jun 2014 15:44:15 +0000 (17:44 +0200)]
[FIX] account_analytic_analysis: product_id_change, variable price referenced before assignment in some cases

9 years ago[MERGE] Forward-port of 7.0 bugfixes up to 63ea0df73ffd6bf659b2ef29cdc3d3387bec92ac
Denis Ledoux [Mon, 16 Jun 2014 15:37:10 +0000 (17:37 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to 63ea0df73ffd6bf659b2ef29cdc3d3387bec92ac

9 years ago[FIX] account: default domain on journal_id field for invoices
Denis Ledoux [Mon, 16 Jun 2014 14:55:58 +0000 (16:55 +0200)]
[FIX] account: default domain on journal_id field for invoices

Prior to this fix, the domain was set in the onchange methods onchange_company_id. Therefore, if the onchange was not triggered, the domain wasnt apply (e.g. while editing an existing invoice).

9 years ago[IMP] Website Sale - ribbon - html class from product.style is not required, so we...
Jeremy Kersten [Mon, 16 Jun 2014 09:31:21 +0000 (11:31 +0200)]
[IMP] Website Sale - ribbon - html class from product.style is not required, so we need to display it as empty in website to avoid an internal 500

9 years ago[IMP] Calendar - Add an explicit /web in url from invitation mail since it required...
Jeremy Kersten [Mon, 16 Jun 2014 08:22:38 +0000 (10:22 +0200)]
[IMP] Calendar - Add an explicit /web in url from invitation mail since it required to works

10 years ago[FIX] Google Calendar - Split the last underscore because Google uses sometimes ...
Jeremy Kersten [Fri, 13 Jun 2014 15:57:01 +0000 (17:57 +0200)]
[FIX] Google Calendar - Split the last underscore because Google uses sometimes '_' in their own google_id. Retrieve the parent event_id to exclude when the exlusion has been done in google

10 years agoMerge pull request #137 from odoo-dev/saas-3-bug_1312046-ptr
Martin Trigaux [Fri, 13 Jun 2014 12:24:14 +0000 (14:24 +0200)]
Merge pull request #137 from odoo-dev/saas-3-bug_1312046-ptr

[FIX] event: avoid superposition of date and text in grouped kanban view

10 years ago[FIX] event: improve name from previous merge
Martin Trigaux [Fri, 13 Jun 2014 10:03:48 +0000 (12:03 +0200)]
[FIX] event: improve name from previous merge

10 years agoMerge pull request #111 from odoo-dev/7.0-bug_1287200-ptr
Martin Trigaux [Fri, 13 Jun 2014 09:33:13 +0000 (11:33 +0200)]
Merge pull request #111 from odoo-dev/7.0-bug_1287200-ptr

[FIX] event: change the field nbevent to make sense

The field nbevent was representing the number of registration with value of 1 for events without registrations (which makes no business sense). Fix to actually represent the number of registrations and display a better field name.

10 years agoMerge pull request #336 from odoo-dev/7.0-opw-608606-fka
Martin Trigaux [Fri, 13 Jun 2014 09:09:26 +0000 (11:09 +0200)]
Merge pull request #336 from odoo-dev/7.0-opw-608606-fka

[FIX] account_report_company: display_name field is not computed for non-active partners

10 years agoMerge pull request #471 from odoo-dev/7.0-opw-606994-rgo
Martin Trigaux [Fri, 13 Jun 2014 08:19:22 +0000 (10:19 +0200)]
Merge pull request #471 from odoo-dev/7.0-opw-606994-rgo

[MERGE] mail: Speed improvement, backport of rev ed116d6b6b5ab5e4436cce5b6da078417e0a9efc

10 years ago[FIX] hr_holidays: date_from, date_to required in form view only for leave requests...
Thibault Delavallée [Fri, 13 Jun 2014 07:25:48 +0000 (09:25 +0200)]
[FIX] hr_holidays: date_from, date_to required in form view only for leave requests, not for allocation requests

10 years ago[FIX] hr: working and home adresses should not be customers by default, only 'normal...
Thibault Delavallée [Fri, 13 Jun 2014 07:07:28 +0000 (09:07 +0200)]
[FIX] hr: working and home adresses should not be customers by default, only 'normal' adresses.

10 years ago[FIX] hr_holidays: display float for leaves remaining / leaves taken in holiday type...
Thibault Delavallée [Thu, 12 Jun 2014 15:50:19 +0000 (17:50 +0200)]
[FIX] hr_holidays: display float for leaves remaining / leaves taken in holiday type name get

10 years ago[FIX] web: view_list_editable, on add an item, focus on the first cell of new row
Denis Ledoux [Thu, 12 Jun 2014 18:03:50 +0000 (20:03 +0200)]
[FIX] web: view_list_editable, on add an item, focus on the first cell of new row

Before, the focus was set on the first row, and, thererefore, if the list was enough long, it jumped out and the actual new row was hidden

10 years ago[FIX] portal: typos in portal wall actions.
Thibault Delavallée [Thu, 12 Jun 2014 15:35:41 +0000 (17:35 +0200)]
[FIX] portal: typos in portal wall actions.

10 years ago[FIX] hr: typo in a field definition
Thibault Delavallée [Thu, 12 Jun 2014 15:32:32 +0000 (17:32 +0200)]
[FIX] hr: typo in a field definition

10 years agoMerge pull request #506 from odoo-dev/7.0-read-duplicate-fields-mat
Martin Trigaux [Thu, 12 Jun 2014 15:17:42 +0000 (17:17 +0200)]
Merge pull request #506 from odoo-dev/7.0-read-duplicate-fields-mat

[MERGE] orm: avoids error when reading twice a field

10 years ago[FIX] orm: avoir errors reading twice a field
Martin Trigaux [Thu, 12 Jun 2014 14:14:41 +0000 (16:14 +0200)]
[FIX] orm: avoir errors reading twice a field

_read_flat: remove duplicated fields in read call
get many2one: as False is instance of int, check the value of x first to avoid calling a name_get with a list of False

When we were reading twice a m2o field where at least one result is null, the first call to name_get would set the value to False instead of None and then accepted by the filter 'isinstance(x, (int,long))'

10 years ago[MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df
Olivier Dony [Thu, 12 Jun 2014 11:49:32 +0000 (13:49 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df

10 years agoparse_value: interger != float
Martin Trigaux [Thu, 12 Jun 2014 10:24:48 +0000 (12:24 +0200)]
parse_value: interger != float

Wwhen parsing a integer field, do not accept float values. '1' or '1.0' is ok but not '1.1'. (opw 608544)

10 years ago[FIX] Account, l10nbe - Respect name_search operator for account.account, so = really...
Jeremy Kersten [Thu, 12 Jun 2014 11:25:08 +0000 (13:25 +0200)]
[FIX] Account, l10nbe - Respect name_search operator for account.account, so = really work as expected.

Also fix data file in l10nbe which was relying on the old implementation.

10 years ago[FIX] l10n-be data - Be more accurate in the belgium data. All accounts have by defau...
Jeremy Kersten [Thu, 12 Jun 2014 08:44:34 +0000 (10:44 +0200)]
[FIX] l10n-be data - Be more accurate in the belgium data. All accounts have by default a right padding of 0 to be on 6 char, so the csv need to have the accounts on 6 char since with have removed the default replacement of "=" by "=like" to allow the manual import

10 years ago[FIX] Import - Use the right comparator to allow import with accounts_ids
Jeremy Kersten [Wed, 11 Jun 2014 15:18:30 +0000 (17:18 +0200)]
[FIX] Import - Use the right comparator to allow import with accounts_ids

10 years ago[FIX] sale_order: set state field track_visibility
Denis Ledoux [Thu, 12 Jun 2014 10:37:11 +0000 (12:37 +0200)]
[FIX] sale_order: set state field track_visibility

sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.

10 years ago[FIX] base_action_rule: automatic commit during background processing of rules
Olivier Dony [Wed, 11 Jun 2014 09:52:29 +0000 (11:52 +0200)]
[FIX] base_action_rule: automatic commit during background processing of rules

This will make sure already processed rules are persisted
in case a timeout occurs while processing the next ones,
ensuring that *some* progress can be made in most cases.

10 years ago[FIX] base_action_rule: prevent recursive rule trigger also when processing time...
Olivier Dony [Wed, 11 Jun 2014 09:50:38 +0000 (11:50 +0200)]
[FIX] base_action_rule: prevent recursive rule trigger also when processing time-based rules

A safety guard already in place prevents the recursive
trigger of rules while another rule is being executed,
as a simple measure to prevent endless loops.
This guard was missing when processing time-based rules.

10 years ago[FIX] base_action_rule: do not repeatedly trigger already-executed rules based on...
Olivier Dony [Wed, 11 Jun 2014 09:46:00 +0000 (11:46 +0200)]
[FIX] base_action_rule: do not repeatedly trigger already-executed rules based on time condition

A programming error introduced at rco@openerp.com-20121220142445-emzzvhlw400q37c9
fails to properly check when a rule has already been executed in the past.
Time-based rules should only be executed if the trigger date is in the past and:
 - either they never executed before
 - or the last execution date is older than the trigger date

10 years ago[FIX] base_action_rule: do not force registry reload when writing on a rule unless...
Olivier Dony [Wed, 11 Jun 2014 09:41:48 +0000 (11:41 +0200)]
[FIX] base_action_rule: do not force registry reload when writing on a rule unless really needed

Executing a rule always updates the `last_run` value, which would
always force a useless registry reload to occur. Only signal the
change if the rule applies to a model that was not previoulsy
monitored for base action rules.

10 years agoMerge pull request #417 from gurneyalex/7.0-fix_1311004_account_move_line_index-afe
odony [Wed, 11 Jun 2014 14:41:29 +0000 (16:41 +0200)]
Merge pull request #417 from gurneyalex/7.0-fix_1311004_account_move_line_index-afe

[IMP] account.move.line: extra index on (date, id) corresponding to the default _order, courtesy of @gurneyalex.

 Fixes https://bugs.launchpad.net/openobject-addons/+bug/1311004

10 years agoMerge pull request #413 from gurneyalex/7.0-fix_lp1025703-afe
Martin Trigaux [Wed, 11 Jun 2014 13:22:47 +0000 (15:22 +0200)]
Merge pull request #413 from gurneyalex/7.0-fix_lp1025703-afe

[FIX] delivery: add missing information in chained pickings

10 years agoMerge pull request #411 from acsone/lp-1200611_lga
Martin Trigaux [Wed, 11 Jun 2014 13:13:06 +0000 (15:13 +0200)]
Merge pull request #411 from acsone/lp-1200611_lga

[FIX] hr_timesheet_sheet: correctly set the employee on the attendance

10 years ago[FIX] account: move translatable tag
Martin Trigaux [Wed, 11 Jun 2014 12:53:59 +0000 (14:53 +0200)]
[FIX] account: move translatable tag

The field note on account.fiscal.position and account.fiscal.position.template should not be translatable in classic modules.
The l10n_multilang module is intendend to make chart of accounts multilang and is the place to set translate=True

10 years ago[MERGE] forward port of branch 7.0 up to 100eba8
Christophe Simonis [Wed, 11 Jun 2014 08:58:43 +0000 (10:58 +0200)]
[MERGE] forward port of branch 7.0 up to 100eba8

10 years ago[FIX] fields.py - avoid dict comprehension inside a dict comprehension
Jeremy Kersten [Wed, 11 Jun 2014 08:30:00 +0000 (10:30 +0200)]
[FIX] fields.py - avoid dict comprehension inside a dict comprehension

10 years agoMerge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh
Martin Trigaux [Tue, 10 Jun 2014 14:02:10 +0000 (16:02 +0200)]
Merge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh

[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)

10 years ago[FIX] account_voucher: better pay invoice wizard
Martin Trigaux [Tue, 10 Jun 2014 10:26:46 +0000 (12:26 +0200)]
[FIX] account_voucher: better pay invoice wizard

If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.

10 years agogamification: when changing the domain on a goal definition give a simple check to...
Martin Trigaux [Tue, 10 Jun 2014 08:59:59 +0000 (10:59 +0200)]
gamification: when changing the domain on a goal definition give a simple check to avoid getting a traceback when the challenge is reloaded

10 years ago[MERGE] forward port of branch 7.0 up to 6fdb783
Christophe Simonis [Tue, 10 Jun 2014 09:49:14 +0000 (11:49 +0200)]
[MERGE] forward port of branch 7.0 up to 6fdb783

10 years agoMerge pull request #56 from yvaucher/7.0-fix-1319109
Martin Trigaux [Tue, 10 Jun 2014 07:38:48 +0000 (09:38 +0200)]
Merge pull request #56 from yvaucher/7.0-fix-1319109

[FIX] report_webkit: avoid sharing parser instance globally and make it thread safe

10 years ago[FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maint...
Ravi Gohil [Mon, 9 Jun 2014 12:50:02 +0000 (18:20 +0530)]
[FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maintenance Case: 606994)

10 years ago[IMP] add an index on account_move_line(date, id)
Alexandre Fayolle [Fri, 6 Jun 2014 12:47:33 +0000 (14:47 +0200)]
[IMP] add an index on account_move_line(date, id)

fixes https://launchpad.net/bugs/1311004

10 years ago[FIX]Delivery: carrier information not propagated from sale order to pickings (Case...
Somesh Khare(OpenERP) [Wed, 24 Jul 2013 09:07:27 +0000 (14:37 +0530)]
[FIX]Delivery: carrier information not propagated from sale order to pickings (Case: ref 595240)

closes lp:1192115

10 years ago[FIX] delivery: propagate additional fields in chained pickings
Alexandre Fayolle [Fri, 6 Jun 2014 12:18:37 +0000 (14:18 +0200)]
[FIX] delivery: propagate additional fields in chained pickings

closes #367

10 years agoMerge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs
Martin Trigaux [Fri, 6 Jun 2014 11:55:59 +0000 (13:55 +0200)]
Merge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs

[FIX] orm: do not recompute m2o stored function field at read.

10 years agohr_timesheet_sheet: for attendance, set default value for employee_id in the context
Laetitia Gangloff [Fri, 6 Jun 2014 10:55:22 +0000 (12:55 +0200)]
hr_timesheet_sheet: for attendance, set default value for employee_id in the context

10 years ago[FIX] orm: do not recompute m2o stored function field at read.
Christophe Simonis [Fri, 6 Jun 2014 08:53:42 +0000 (10:53 +0200)]
[FIX] orm: do not recompute m2o stored function field at read.

The get() method of m2o function fields is used for 2 different things:
 - call the function defining the m2o
 - get the name_get representation of the value

Until this pathc, only the first case was handled, resulting to a useless
recomputation of the field when reading it.

10 years ago[FIX] orm: do not resize unlimited char fields
Oliver Laurent [Thu, 5 Jun 2014 17:00:14 +0000 (19:00 +0200)]
[FIX] orm: do not resize unlimited char fields

10 years ago[FIX] ir_cron: use the same search criteria as when listing job to excecyte when...
Laurent Mignon [Thu, 5 Jun 2014 16:59:03 +0000 (18:59 +0200)]
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job

Backport of fix made in trunk

10 years ago[FIX] website: on adding a slide to slider, new slide is last on save
Denis Ledoux [Thu, 5 Jun 2014 16:58:01 +0000 (18:58 +0200)]
[FIX] website: on adding a slide to slider, new slide is last on save

Before, the new slide was set as first slide
Moreover, the indicators were not correct neither