odoo/odoo.git
9 years ago[FIX] web: use mutex to wait for onchanges
Denis Ledoux [Fri, 28 Nov 2014 12:36:42 +0000 (13:36 +0100)]
[FIX] web: use mutex to wait for onchanges

This fix is related to c12a2e1d1650d308e39cc2b396a76eed579e2595

Mutex allow to wait sequentially for mutex
Besides, if one of the onchanges deferreds fails, it does not resolve the mutex until all deferreds of the mutex are resolved.

Besides, we now wait for the onchanges mutex between each field commited value (line 596) in case the commited value leaded to a new onchanges, that we should wait for before commiting the rest of the values.

9 years ago[IMP] wording and ordering of documentation index
Xavier Morel [Fri, 28 Nov 2014 11:36:04 +0000 (12:36 +0100)]
[IMP] wording and ordering of documentation index

9 years ago[ADD] doc: debug flag
Xavier Morel [Fri, 28 Nov 2014 11:14:22 +0000 (12:14 +0100)]
[ADD] doc: debug flag

9 years ago[IMP] res: partner form replace widget selection by option no_create
Denis Ledoux [Fri, 28 Nov 2014 10:26:28 +0000 (11:26 +0100)]
[IMP] res: partner form replace widget selection by option no_create

9 years ago[FIX] Customers remove action domain customer=1 use the context default.
Antony Lesuisse [Fri, 28 Nov 2014 09:54:09 +0000 (10:54 +0100)]
[FIX] Customers remove action domain customer=1 use the context default.

Closes #3902

9 years ago[IMP] account: account.statement.operation.template model
Akash Balar [Thu, 27 Nov 2014 11:18:21 +0000 (16:48 +0530)]
[IMP] account: account.statement.operation.template model
- better many2one ondelete strategies
- domain set on fields, not views
- added domain on analytic_account_id field

9 years ago[FIX] enable --debug for non-xmlrpc contexts
Xavier Morel [Fri, 28 Nov 2014 07:35:14 +0000 (08:35 +0100)]
[FIX] enable --debug for non-xmlrpc contexts

fixes #3102

9 years ago[FIX] account: floating point comparisons in get_reconciliation_proposition
Arthur Maniet [Thu, 27 Nov 2014 13:57:11 +0000 (14:57 +0100)]
[FIX] account: floating point comparisons in get_reconciliation_proposition

9 years ago[FIX] translate: lang detection fallback actually falls back
Denis Ledoux [Thu, 27 Nov 2014 16:18:46 +0000 (17:18 +0100)]
[FIX] translate: lang detection fallback actually falls back

For instance, when a context was passed to a method, but no lang was defined in the context, it did not tried to fallback to other places where we could have find the user language.

9 years ago[FIX] fields.py: in many2one convert_to_cache, value can be int but long as well
Christophe Simonis [Thu, 27 Nov 2014 16:05:48 +0000 (17:05 +0100)]
[FIX] fields.py: in many2one convert_to_cache, value can be int but long as well

9 years ago[FIX] web: m2o search facet do no set `default_*` context key for "name_search" values
Christophe Simonis [Thu, 27 Nov 2014 16:04:02 +0000 (17:04 +0100)]
[FIX] web: m2o search facet do no set `default_*` context key for "name_search" values

9 years ago[FIX] fields.py: Many2one fields only put valid values in cache
Christophe Simonis [Thu, 27 Nov 2014 16:03:29 +0000 (17:03 +0100)]
[FIX] fields.py: Many2one fields only put valid values in cache

9 years ago[IMP] ws doc: affix language switcher to page top
Xavier Morel [Thu, 27 Nov 2014 15:37:07 +0000 (16:37 +0100)]
[IMP] ws doc: affix language switcher to page top

9 years ago[FIX] doc: viewport meta missing
Xavier Morel [Thu, 27 Nov 2014 15:17:37 +0000 (16:17 +0100)]
[FIX] doc: viewport meta missing

9 years ago[CHG] ws doc: set right section against a dark background
Xavier Morel [Thu, 27 Nov 2014 15:14:04 +0000 (16:14 +0100)]
[CHG] ws doc: set right section against a dark background

9 years ago[FIX] web_graph: pass context to fields_get for translation
Denis Ledoux [Thu, 27 Nov 2014 15:03:14 +0000 (16:03 +0100)]
[FIX] web_graph: pass context to fields_get for translation

In graph views, fields from the pivot table were not translated in the user language
We pass the context, containing the user language, to fields_get in order to get the translation
This is also done by the search view, in search.js line 1978 at this rev.

opw-616713

9 years ago[FIX] web: force company_logo change on company change
Denis Ledoux [Thu, 27 Nov 2014 14:19:39 +0000 (15:19 +0100)]
[FIX] web: force company_logo change on company change

In multi company environment, the company logo was not updated on company change in the user preferences
This disrupted the end user, as he might think the company change did not happen.

9 years ago[FIX] purchase(_requisition): typo negociation -> negotiation
Will Stott [Fri, 7 Nov 2014 10:10:00 +0000 (10:10 +0000)]
[FIX] purchase(_requisition): typo negociation -> negotiation

9 years ago[FIX] openerp: don't ignore active field on new views when updating a module
David Monjoie [Thu, 27 Nov 2014 08:52:17 +0000 (09:52 +0100)]
[FIX] openerp: don't ignore active field on new views when updating a module

Without this fix, if you have a new view in a module with active=False, the active tag will be ignore when upgrading the module because of 'update' mode, and the view will be activated by default !

9 years ago[REV] product: rev. 42f5114 needs further review
Olivier Dony [Wed, 26 Nov 2014 17:20:28 +0000 (18:20 +0100)]
[REV] product: rev. 42f5114 needs further review

Incorrect use of stock.move in product module + needs review.

This reverts commit 42f511405a4efe88e3903a4b4040ec9d83e462e2:
"[IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM.  #3440 Enhancement request richard-willowit"

9 years ago[IMP] When no stock moves, change whatever you want, otherwise no change at all for...
Josse Colpaert [Wed, 19 Nov 2014 11:41:25 +0000 (12:41 +0100)]
[IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM.  #3440 Enhancement request richard-willowit

The default UoM can only be changed when there are no stock moves (or only cancelled ones), but to any category.
The purchase UoM can be changed whenever you want, but has to be in the same category as the default UoM.

Closes #3440

[IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM.  #3440 Enhancement request richard-willowit

[FIX] Remove line

[FIX] Constraint should be applied when UoM or PO UoM is changed

9 years ago[FIX] website_forum: Forum, use old API in v8. forum was not a browse record, so...
Jeremy Kersten [Wed, 26 Nov 2014 16:44:52 +0000 (17:44 +0100)]
[FIX] website_forum: Forum, use old API in v8. forum was not a browse record, so we need to re-browse. Tags: Force to delete tag. Before old tag deleted was not removed from relation, Now we use a 6 to force the update, followed by 0 to create.

9 years ago[FIX] sale_layout: set 0 as default value for categ_sequence
Denis Ledoux [Wed, 26 Nov 2014 16:02:20 +0000 (17:02 +0100)]
[FIX] sale_layout: set 0 as default value for categ_sequence

Otherwise, in some cases, the categ_sequence can be set to null, which is not ordered the same way than 0, and you won't be able to sort lines with null and 0 as categ_sequence between each others

9 years ago[FIX] hr_attendance: use float division for worked_hours field
Maria G [Mon, 10 Nov 2014 00:11:16 +0000 (16:11 -0800)]
[FIX] hr_attendance: use float division for worked_hours field

Used to be rounded to integer while the field is a float.
Fixes #3526

9 years agoMerge pull request #3803 from TheCloneMaster/patch-7
Frédéric Van der Essen [Wed, 26 Nov 2014 15:38:44 +0000 (16:38 +0100)]
Merge pull request #3803 from TheCloneMaster/patch-7

POS is loading all partners, not only customers

9 years ago[point_of_sale] Domain functions to literals
Mario Arias Badila [Wed, 26 Nov 2014 14:32:33 +0000 (08:32 -0600)]
[point_of_sale] Domain functions to literals

Replaced domain functions with literals where there are only constants

9 years ago[IMP] stock: display company in location tree view
Edy Kendengis [Fri, 7 Nov 2014 05:24:52 +0000 (12:24 +0700)]
[IMP] stock: display company in location tree view

9 years ago[FIX] product: keep attribute on a variant with only one attribute
Christophe Matthieu [Mon, 17 Nov 2014 13:24:03 +0000 (14:24 +0100)]
[FIX] product: keep attribute on a variant with only one attribute

When adding informational attribute, with only one possible value, it used to be skipped.
Instead keep it and add it on every variant.

To avoid dropping and recreating product (and lose eventual customisations), the attributes with only one possible value are set on every product.
This makes sure that in following test, these are not considered in variants_inactive variable.

Fixes #3204

9 years ago[Fix] ir_translation: fix the problem of base_field object has no attribute model...
Somesh Khare [Wed, 19 Nov 2014 13:37:38 +0000 (19:07 +0530)]
[Fix] ir_translation: fix the problem of base_field object has no attribute model (Maintenance Case:618054)

Fixes #3859

9 years ago[IMP] website_sale: performance on category page
Tymoteusz Motylewski [Thu, 20 Nov 2014 10:14:30 +0000 (11:14 +0100)]
[IMP] website_sale: performance on category page

public_categ_ids field was moved to product.template object

9 years ago[FIX] sale_service: typo in string Thick -> Tick
Martin Trigaux [Wed, 26 Nov 2014 11:07:33 +0000 (12:07 +0100)]
[FIX] sale_service: typo in string Thick -> Tick

9 years ago[FIX] doc: remove a word that does not make sense
happyraul [Thu, 13 Nov 2014 07:59:54 +0000 (08:59 +0100)]
[FIX] doc: remove a word that does not make sense

closes #3594

9 years ago[IMP] account: bank statement reconciliation widget: allow to filter move lines on...
Arthur Maniet [Wed, 26 Nov 2014 10:38:24 +0000 (11:38 +0100)]
[IMP] account: bank statement reconciliation widget: allow to filter move lines on due date

9 years ago[FIX] mrp: duplicated xmlid for ir.model.access
Holger Brunn [Wed, 26 Nov 2014 08:08:33 +0000 (09:08 +0100)]
[FIX] mrp: duplicated xmlid for ir.model.access

9 years ago[FIX] account: bank statement reconciliation widget: correct multicurrency display
Arthur Maniet [Wed, 26 Nov 2014 10:27:35 +0000 (11:27 +0100)]
[FIX] account: bank statement reconciliation widget: correct multicurrency display

9 years ago[FIX] website_sale: Discussion not working on product; issue: #3495
Christophe Matthieu [Thu, 6 Nov 2014 16:30:36 +0000 (17:30 +0100)]
[FIX] website_sale: Discussion not working on product; issue: #3495

9 years ago[FIX] website_reseller: Navigation Broken for Partner List on Website issue#3522
Christophe Matthieu [Mon, 17 Nov 2014 13:07:30 +0000 (14:07 +0100)]
[FIX] website_reseller: Navigation Broken for Partner List on Website issue#3522

9 years ago[FIX] account: bank statement reconciliation widget: disable buttons which trigger...
Arthur Maniet [Wed, 26 Nov 2014 08:44:50 +0000 (09:44 +0100)]
[FIX] account: bank statement reconciliation widget: disable buttons which trigger RPC calls until done

9 years ago[FIX] doc: typo in themes document
Paul Chater [Tue, 25 Nov 2014 15:37:48 +0000 (15:37 +0000)]
[FIX] doc: typo in themes document

closes #3874

9 years ago[FIX] payment: docstring typo
hiekmann [Tue, 11 Nov 2014 11:22:35 +0000 (11:22 +0000)]
[FIX] payment: docstring typo

closes #3557

9 years ago[FIX] mrp_operation: missing context
Martin Trigaux [Wed, 26 Nov 2014 08:18:53 +0000 (09:18 +0100)]
[FIX] mrp_operation: missing context

It is present in mrp declaration but was not in mrp_production which was problematic if another module inherit as well from action_produce_end.

9 years agoMerge pull request #3822 from the-digital-engineer/patch-1
antonylesuisse [Tue, 25 Nov 2014 22:26:30 +0000 (23:26 +0100)]
Merge pull request #3822 from the-digital-engineer/patch-1

updated deb-repository URL

9 years ago[FIX] website: the attachment creation improvment of a3e578068e170df41ef95c00026bc235...
Denis Ledoux [Tue, 25 Nov 2014 18:25:22 +0000 (19:25 +0100)]
[FIX] website: the attachment creation improvment of a3e578068e170df41ef95c00026bc2351c9e2c13 must be done on res_model

instead of type

9 years ago[FIX] product: comparison of currency rounding
Martin Trigaux [Tue, 25 Nov 2014 17:13:41 +0000 (18:13 +0100)]
[FIX] product: comparison of currency rounding

Setting 0.0001 as precision used to be converted to 9.999999999999999e-05
precision_digits of 6 is the precision of the field 'rounding' on res.currency
Fixes #3875

9 years ago[FIX] ir.ui.view: deletion of parent view should not cascade
Olivier Dony [Tue, 25 Nov 2014 15:54:43 +0000 (16:54 +0100)]
[FIX] ir.ui.view: deletion of parent view should not cascade

This is safer to avoid inadvertently dropping customizations,
and does not impact the normal update/uninstall process, which
is based on the dependency order.

9 years ago[FIX] stock: typo incomming -> incoming in demo & tests
Denis Ledoux [Tue, 25 Nov 2014 16:37:12 +0000 (17:37 +0100)]
[FIX] stock: typo incomming -> incoming in demo & tests

I avoid to change external ids, in case some custom/community modules use it in their own tests

9 years ago[IMP] account: bank statement reconciliation proposition:
Arthur Maniet [Tue, 25 Nov 2014 15:46:30 +0000 (16:46 +0100)]
[IMP] account: bank statement reconciliation proposition:
- find a move line whose amount exactly matches the bank statement line amount even if it has no partner
- properly handle multicurrency
- if there's no exact match, look for a set of move line whose amount is <= to the statement line's amount

9 years ago[FIX] survey: Was browsing a browse record, useless and traceback... https://github...
Jeremy Kersten [Tue, 25 Nov 2014 14:06:48 +0000 (15:06 +0100)]
[FIX] survey: Was browsing a browse record, useless and traceback... https://github.com/odoo/odoo/issues/2383

9 years ago[FIX] website: improve performance for attachment creation
Denis Ledoux [Tue, 25 Nov 2014 13:36:56 +0000 (14:36 +0100)]
[FIX] website: improve performance for attachment creation

website introduces two new stored function fields, which depend on the attachment data
The thing is, these two fields are pertinent for website attachments only
Therefore, we avoid to read the datas field when the attachment is not a website attachment(when not needed), as this is the most costly field to read

9 years ago[FIX] correctly set searchview id (web client)
Géry Debongnie [Tue, 25 Nov 2014 12:11:15 +0000 (13:11 +0100)]
[FIX] correctly set searchview id (web client)

The issue is that when a default searchview is requested, it is
initialized without its view_id.  Result: debug mode can't edit the
search view.  This commit makes sure that when the field_view_get is
received, the correct view_id is set.

9 years agoMerge pull request #3645 from odoo-dev/8.0-fix2manyupdateonchanges-chs
Raphael Collet [Tue, 25 Nov 2014 11:42:36 +0000 (12:42 +0100)]
Merge pull request #3645 from odoo-dev/8.0-fix2manyupdateonchanges-chs

[FIX] api: avoid to return all fields *2many in onchanges

9 years ago[FIX] fields: in *2many convert_to_write(), return all fields for new records and...
Raphael Collet [Tue, 25 Nov 2014 10:25:50 +0000 (11:25 +0100)]
[FIX] fields: in *2many convert_to_write(), return all fields for new records and dirty fields for existing records

9 years ago[FIX] mrp: allow to select BoM with a product template only
Martin Trigaux [Mon, 24 Nov 2014 15:41:39 +0000 (16:41 +0100)]
[FIX] mrp: allow to select BoM with a product template only

9 years ago[IMP] Incoming, outgoing and virtual quantities should not take draft moves into...
Josse Colpaert [Mon, 24 Nov 2014 21:38:51 +0000 (22:38 +0100)]
[IMP] Incoming, outgoing and virtual quantities should not take draft moves into account

9 years ago[DOC] web: search view: extra info about key events handling
Olivier Dony [Mon, 24 Nov 2014 17:45:22 +0000 (18:45 +0100)]
[DOC] web: search view: extra info about key events handling

Complements bde1a4432fef4cb2f5fe8ab600e72ab5b8b4830d

9 years agoRevert "[FIX] stock_picking_wave: removed obsolete many2many widget from stock_pickin...
Denis Ledoux [Mon, 24 Nov 2014 17:38:14 +0000 (18:38 +0100)]
Revert "[FIX] stock_picking_wave: removed obsolete many2many widget from stock_picking_wave_view"

This reverts commit 436bbb0a48ff866925fe0a3987928ab554bc3c6d.

The many2many widget is usefull, as it allows to select an existing picking instead of creating a new one when clicking add an item from the list

9 years ago[FIX] product_extended: price from bom is build for product templates
Denis Ledoux [Mon, 24 Nov 2014 16:24:49 +0000 (17:24 +0100)]
[FIX] product_extended: price from bom is build for product templates

As it sets the standard_price field, which is defined on product templates only: setting the standard price of a product variant will lead to set the standard price to all the variants of the product template.

There is therefore no meaning to compute and set the standard price of product variants according to the boms

9 years ago[FIX] test_new_api: fix/simplify the result of the onchange on one2many fields
Raphael Collet [Mon, 24 Nov 2014 16:22:47 +0000 (17:22 +0100)]
[FIX] test_new_api: fix/simplify the result of the onchange on one2many fields

9 years ago[IMP] account : Add reference field to Invoice report
Jamin Shah [Wed, 5 Nov 2014 05:52:34 +0000 (11:22 +0530)]
[IMP] account : Add reference field to Invoice report

9 years ago[FIX] mail: batch_size expects an integer
Denis Ledoux [Mon, 24 Nov 2014 15:42:26 +0000 (16:42 +0100)]
[FIX] mail: batch_size expects an integer

9 years ago[FIX] mail: allow to set own batch size for mass mailing
Denis Ledoux [Mon, 24 Nov 2014 15:28:03 +0000 (16:28 +0100)]
[FIX] mail: allow to set own batch size for mass mailing

9 years ago[IMP] models: rework the API that deals with dirty fields on records
Raphael Collet [Mon, 24 Nov 2014 14:31:18 +0000 (15:31 +0100)]
[IMP] models: rework the API that deals with dirty fields on records

9 years agoupdated deb-repository URL
the-digital-engineer [Sun, 23 Nov 2014 20:08:36 +0000 (21:08 +0100)]
updated deb-repository URL

was : openerp.com; new : odoo.com

9 years ago[FIX] tools: find_in_path: config is not ready at import time
Simon Lejeune [Sun, 23 Nov 2014 14:01:52 +0000 (15:01 +0100)]
[FIX] tools: find_in_path: config is not ready at import time

commit f76d4525a was not actually working: extra keys from
config files are not yet into the config options dict at
import time. The fix is to move the logic inside the method,
like in `find_pg_tool` just below.

Also fix the use of `find_in_path` in report.py: the subprocess
may also raise AttributeError exception, so instead of listing
all the possible ones just re-raise the IOError shallowed by
`find_in_path` when the result is None.

Fixes #3809 #3811

9 years ago[FIX] website_editor: smallest pictogram was unselectable.
Jeremy Kersten [Fri, 21 Nov 2014 17:23:22 +0000 (18:23 +0100)]
[FIX] website_editor: smallest pictogram was unselectable.

9 years ago[FIX] packaging: windows: installer images odooification
Simon Lejeune [Fri, 21 Nov 2014 10:34:16 +0000 (11:34 +0100)]
[FIX] packaging: windows: installer images odooification

9 years ago[ADD] tools: handling of bin_path key in find_in_path
Simon Lejeune [Fri, 21 Nov 2014 16:38:50 +0000 (17:38 +0100)]
[ADD] tools: handling of bin_path key in find_in_path

The openerp-server.conf now generates the bin_path record, in order
to resolve calls to external binaries served in the thirdparty dir.

Adpated report.py to use find_in_path and not directly which.

9 years ago[ADD] packaging: windows: bundle wkhtmltopdf and lessc
Simon Lejeune [Wed, 19 Nov 2014 22:37:43 +0000 (23:37 +0100)]
[ADD] packaging: windows: bundle wkhtmltopdf and lessc

9 years ago[FIX] payment_transfer: correctly display transfer information
rmu-odoo [Tue, 21 Oct 2014 13:05:32 +0000 (18:35 +0530)]
[FIX] payment_transfer: correctly display transfer information

When moving fields name -> provider on payment.acquire, the condition in payment_transfer was not updated.
This lead to no post_msg value in the Wired Transfert acquire.
Fixes #2423, opw 613934

9 years ago[FIX] google_calendar: update tuto to create credential for google Calendar API....
Jeremy Kersten [Fri, 21 Nov 2014 15:23:00 +0000 (16:23 +0100)]
[FIX] google_calendar: update tuto to create credential for google Calendar API. Google changes suddenly the process. Before that was optional, now without it, customers have an error 400 redirect_uri_mismatch

9 years agoPOS is loading all partners, not only customers
Mario Arias Badila [Fri, 21 Nov 2014 15:20:45 +0000 (09:20 -0600)]
POS is loading all partners, not only customers

Hi,

Adding domain to res.partner model, so POS only loads "customers"

9 years ago[FIX] website_sale: apply reduction code
Denis Ledoux [Fri, 21 Nov 2014 14:51:54 +0000 (15:51 +0100)]
[FIX] website_sale: apply reduction code

The line being deleted in this revision looks to have been useful when it was introduced in this commit:
36fc910

As the sale order was updated right away through the update_pricelist method
But since this rev. 22f4c31, the sale order is updated later, and reset the sale_order_code_pricelist_id value in the session right after setting it prevent to apply the pricelist of the promotional code...

9 years ago[IMP] website_blog: Add menu, form view and tree view to manage tags.
Jeremy Kersten [Fri, 21 Nov 2014 14:53:13 +0000 (15:53 +0100)]
[IMP] website_blog: Add menu, form view and tree view to manage tags.

9 years ago[FIX] http.py: log 400 errors
Christophe Simonis [Fri, 21 Nov 2014 14:25:44 +0000 (15:25 +0100)]
[FIX] http.py: log 400 errors

9 years ago[FIX] website_crm: contactus: do not polute lead creation values
Christophe Simonis [Fri, 21 Nov 2014 14:05:48 +0000 (15:05 +0100)]
[FIX] website_crm: contactus: do not polute lead creation values

9 years ago[FIX] crm: set the oldname of field crm.lead.medium_id
Christophe Simonis [Fri, 21 Nov 2014 14:03:12 +0000 (15:03 +0100)]
[FIX] crm: set the oldname of field crm.lead.medium_id

9 years ago[IMP] Show product_uom_qty instead of normalized quantity in mrp order report
Josse Colpaert [Fri, 21 Nov 2014 12:10:02 +0000 (13:10 +0100)]
[IMP] Show product_uom_qty instead of normalized quantity in mrp order report

9 years ago[IMP] http: do not log traceback for Warnings
Christophe Simonis [Mon, 24 Nov 2014 12:52:36 +0000 (13:52 +0100)]
[IMP] http: do not log traceback for Warnings

9 years ago[REF] mail: extract auto subscribe notifications sending into a sub-method
Denis Ledoux [Mon, 24 Nov 2014 11:13:47 +0000 (12:13 +0100)]
[REF] mail: extract auto subscribe notifications sending into a sub-method

To allow customization, such as do not send the notification to the partner that subscribed himself to the thread (he probably already read the thread, no need to send him an email)

9 years ago[FIX] im_chat: unlink im chat presence on user deletion
Denis Ledoux [Mon, 24 Nov 2014 10:35:13 +0000 (11:35 +0100)]
[FIX] im_chat: unlink im chat presence on user deletion

It wasn't possible to delete a user if he had a im chat presence linked to him.

9 years ago[FIX] doc/backend: typos in example code
Richard Mathot [Mon, 24 Nov 2014 09:22:47 +0000 (10:22 +0100)]
[FIX] doc/backend: typos in example code

9 years ago[FIX] yet another filter fix... (crm reporting)
Géry Debongnie [Thu, 20 Nov 2014 15:53:35 +0000 (16:53 +0100)]
[FIX] yet another filter fix... (crm reporting)

Same problem as before: filters do not compose properly with the implicit
'&', and they are filtering on the wrong model (should filter on probability
in the crm.case.stage model and not on the crm.opportunity.report)

9 years ago[CHG] doc: company officially renamed
Xavier Morel [Mon, 24 Nov 2014 08:05:23 +0000 (09:05 +0100)]
[CHG] doc: company officially renamed

9 years ago[ADD] ws doc: introspection, reports and workflows
Xavier Morel [Mon, 24 Nov 2014 07:52:38 +0000 (08:52 +0100)]
[ADD] ws doc: introspection, reports and workflows

* use static imports in java examples to make them terser
* inline ``domain`` in java and php example to make examples more
  self-contained
* try to extend/improve Model.write's docstring
* add convenience kwarg to fields_get, mostly for user-driven
  introspection

Closes #3689

9 years ago[FIX] web_calendar: improve the commit 787147d. This commit was fixing bug in other...
Jeremy Kersten [Fri, 21 Nov 2014 10:58:39 +0000 (11:58 +0100)]
[FIX] web_calendar: improve the commit 787147d. This commit was fixing bug in other module that calendar which was open an event in popup view. Because browse/read by default was unable to read string id. The fix was too restrictif, because calendar need to read/browse string; we cannot cast this id in Int else we loose the virtual part. parseInt('12-20140512') -> 12.

9 years ago[FIX] calendar: allow to sort in tree view the starting date (start, start_date,...
Jeremy Kersten [Fri, 21 Nov 2014 10:55:00 +0000 (11:55 +0100)]
[FIX] calendar: allow to sort in tree view the starting date (start, start_date, start_datetime) (hack for V8)

9 years ago[FIX] fix autocompletion problems with quick presses
Géry Debongnie [Thu, 20 Nov 2014 09:26:13 +0000 (10:26 +0100)]
[FIX] fix autocompletion problems with quick presses

Problem was that when the user types quickly in the search bar and press
enter, the keydown event of the enter key happens before the keypress
event of the last key entered.  This means that the autocompletion has
a wrong string.  The fix is to move the enter selection detection from
keydown to keyup.

9 years ago[FIX] calendar: support non-ascii chars in date/time format
Olivier Dony [Thu, 20 Nov 2014 17:16:31 +0000 (18:16 +0100)]
[FIX] calendar: support non-ascii chars in date/time format

The calendar module generates string values with
a date/time formatted according to the user
language. Those formats may contain non-ascii
characters and are read as unicode strings,
but fed to str{p,t}time, which only accepts
byte strings (in Python 2).

This would cause an exception when loading calendar
notifications for a user using e.g. Chinese with
some CJK unicode chars in the date/time format.

9 years ago[FIX] mass_mailing: attachments were not send.
Binjal Desai [Thu, 20 Nov 2014 10:08:39 +0000 (15:38 +0530)]
[FIX] mass_mailing: attachments were not send.

9 years ago[FIX] http.py: invalid request must return a status code 400
Christophe Simonis [Thu, 20 Nov 2014 15:06:55 +0000 (16:06 +0100)]
[FIX] http.py: invalid request must return a status code 400

9 years ago[FIX] fix wrong filter in opportunity view (crm)
Géry Debongnie [Thu, 20 Nov 2014 10:25:49 +0000 (11:25 +0100)]
[FIX] fix wrong filter in opportunity view (crm)

There was two problems:
* it was filtering on the probability of the opportunity, not on the
probability of the stage
* the filters were not prefixed with '&', which means that they gave
weird results when combined in the searchview (in a filter group, filters
are combined with '|', but it breaks when the filters are defined by
an implicit '&')

9 years ago[MERGE] forward port of branch saas-3 up to 6c13c8d
Christophe Simonis [Thu, 20 Nov 2014 10:37:23 +0000 (11:37 +0100)]
[MERGE] forward port of branch saas-3 up to 6c13c8d

9 years ago[FIX] base: copy access rights on group duplication
Denis Ledoux [Wed, 19 Nov 2014 18:09:18 +0000 (19:09 +0100)]
[FIX] base: copy access rights on group duplication

9 years ago[I18N] Update translations from Launchpad 8.0 branches
Olivier Dony [Wed, 19 Nov 2014 16:49:12 +0000 (17:49 +0100)]
[I18N] Update translations from Launchpad 8.0 branches

9 years ago[REM] duplicated package in requirements, sort
Xavier Morel [Wed, 19 Nov 2014 16:07:28 +0000 (17:07 +0100)]
[REM] duplicated package in requirements, sort

9 years ago[IMP] doc: incorrect value documented
Henri-Maxime Ducoulombier [Wed, 19 Nov 2014 15:24:28 +0000 (16:24 +0100)]
[IMP] doc: incorrect value documented

closes #3761

9 years ago[FIX] graph.py: correct Node() creation.
Christophe Simonis [Wed, 19 Nov 2014 14:14:14 +0000 (15:14 +0100)]
[FIX] graph.py: correct Node() creation.

Fixes #3730

9 years ago[MERGE] forward port of branch 7.0 up to 529e920
Denis Ledoux [Wed, 19 Nov 2014 13:06:48 +0000 (14:06 +0100)]
[MERGE] forward port of branch 7.0 up to 529e920

9 years ago[FIX] mrp: perform location chaining for kit exploded moves
Denis Ledoux [Wed, 19 Nov 2014 12:24:32 +0000 (13:24 +0100)]
[FIX] mrp: perform location chaining for kit exploded moves

This rev. 7307227 ensured to not (re-)set the state 'confirmed' to exploded moves with a more advanced state (for instance, 'assigned')
Nevertheless, the location chaining is performed on the move confirmation, through the action_confirm method of the stock.move model. Besides, the resulting moves of the _action_explode method had the state 'confirmed' on creation, the 'confirmed' state wasn't set by the method 'action_confirm', meaning that the moves were confirmed without having the location chaining done. Allowing moves to go through the action_confirm method even if the state was 'confirmed' or further triggered the location chaining.

Preventing already confirmed moves to go through the action_confirm method prevented the location chaining, thus.

We now create the resulting moves with the 'draft' state, and then confirm them through the procurement workflow signal 'button_confirm'. Thus, the resulting moves are confirmed by going through the action_confirm method, writing the confirmed state and triggering the location chaining at the same time. We then write the 'assigned' state if necessary.

opw-617235

9 years ago[FIX] decimal_precision: avoid refreshing float precisions at each cache invalidation
Olivier Dony [Wed, 19 Nov 2014 11:14:21 +0000 (12:14 +0100)]
[FIX] decimal_precision: avoid refreshing float precisions at each cache invalidation

Changing the decimal precision of float fields is a rare
operation, while cache clearing occurs fairly frequently.
Signaling a full registry change when the decimal precision
is changed (instead of a mere cache change) is therefore
a better trade-off, and more semantically correct as well.
This way we avoid the decimal precision refresh for each
invalidation.

Registry invalidation implies cache invalidation.