Christophe Simonis [Wed, 25 Jun 2014 10:43:41 +0000 (12:43 +0200)]
[MERGE] forward port of branch saas-4 up to f68c835
Christophe Simonis [Wed, 25 Jun 2014 10:33:17 +0000 (12:33 +0200)]
[MERGE] forward port of branch saas-3 up to a66f3dd
Christophe Simonis [Wed, 25 Jun 2014 10:27:43 +0000 (12:27 +0200)]
[MERGE] forward port of branch 7.0 up to df6b37c
dhr-odoo [Wed, 25 Jun 2014 10:07:02 +0000 (12:07 +0200)]
[FIX] account: add multicompany rule to account.subscription.line
The wizard to generate recurring entries did not respect multicompany rules as the request was done in plain sql.
Add ir.rule and use the orm (opw 607782)
Denis Ledoux [Wed, 25 Jun 2014 10:00:14 +0000 (12:00 +0200)]
[FIX] purchase_requisition: duplicated stock moves
When a purchase requisition is created from a procurement order, a first stock move is created, not associated to any purchase orders
Then, on purchase order creation and confirmation, in the purchase requisition, new stock moves are created, associated to the purchase order.
The existing stock move issued from the procurement order which created the purchase requisition remained untouched, leading to wrong inventory values
To fix this, the destination location of the stock move of the procurement order is written on the source location
A proper fix should be to use a dedicated workflow for puchase requisition, but this can't be done in 7.0, it has to be done in master/trunk
Christophe Simonis [Wed, 25 Jun 2014 09:35:11 +0000 (11:35 +0200)]
[MERGE] forward port of branch 7.0 up to 4bfcbb2
Alexandre Fayolle [Wed, 25 Jun 2014 08:57:10 +0000 (10:57 +0200)]
[FIX] fields property: do not create empty properties
fixes #595
In the case where a property for the company exists but has no related record (e.g. in case of type m2o with no defined value), not setting a value to this field for a new record would create a new property (as browse_null is not an instance of browse_record)
Thibault Delavallée [Wed, 25 Jun 2014 07:15:11 +0000 (09:15 +0200)]
Merge pull request #725 from odoo-dev/7.0-bug-1235237-ypa
[FIX] crm_claim: copy: reset stage + add a copy marker to the name
dhr-odoo [Fri, 20 Jun 2014 11:26:09 +0000 (16:56 +0530)]
Displayed the name of Intrasat code in Intrasat Invoice report instead of browse record
Yogesh Parekh [Tue, 24 Jun 2014 05:56:49 +0000 (11:26 +0530)]
[IMP]: Improve copy method to set stage_id in draft stage
Christophe Simonis [Tue, 24 Jun 2014 13:05:53 +0000 (15:05 +0200)]
Merge pull request #622 from odoo-dev/7.0-opw-592890-msh
[FIX] search on translated field: Only search on source field if not translated.
Mohammed Shekha [Tue, 24 Jun 2014 12:12:48 +0000 (17:42 +0530)]
Server Translation: Fixed the issue search on translated field do not return true result, search on tranlsated field fails due to expression parsing which fetches ids from ir_translation as well as working table and UNION of this makes search fruitless, also search fails for in language other then english when you enter part of a string for the field to search.
Denis Ledoux [Tue, 24 Jun 2014 11:56:51 +0000 (13:56 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to
e2201369a314feaec70a485f0459c1dcdcecd82b
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
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
sle-odoo [Tue, 24 Jun 2014 11:40:58 +0000 (13:40 +0200)]
Merge pull request #745 from odoo-dev/saas-4-update-bootswatch-sle
[MERGE] manual merge of latest bootswatch minified stylesheets
Denis Ledoux [Tue, 24 Jun 2014 10:27:09 +0000 (12:27 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to
7d3453d119a80f484918842682ac5f4299d91e7b
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.
Simon Lejeune [Tue, 24 Jun 2014 09:48:49 +0000 (11:48 +0200)]
[MERGE] manual merge of latest bootswatch minified stylesheets
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
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.
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).
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)
Martin Trigaux [Mon, 23 Jun 2014 14:05:04 +0000 (16:05 +0200)]
Merge pull request #621 from odoo-dev/saas-4-fix_actions_server_controller_return-vta
[FIX] website: controller for server actions should accept basic werkzeug requests (e.g. redirections)
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
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
Jeremy Kersten [Mon, 23 Jun 2014 10:22:25 +0000 (12:22 +0200)]
[MERGE] Gengo - Merge saas-4-gengo-jke - Fix gengo to make it working
Cédric Snauwaert [Mon, 23 Jun 2014 10:17:02 +0000 (12:17 +0200)]
Merge pull request #718 from odoo-dev/saas-4-modal-dropdb-fix-csn
[FIX]change password and dropdb error modal not closing
Cedric Snauwaert [Mon, 23 Jun 2014 09:25:22 +0000 (11:25 +0200)]
[FIX]modal: when trying to dropdb or change password, if rpc call result in error, modal was stuck
Jeremy Kersten [Mon, 23 Jun 2014 09:08:53 +0000 (11:08 +0200)]
[IMP] Gengo - Improve call back url to have the dbname in url, else doesn't work if no dbfilter, or if more than one db (runbot)
Christophe Simonis [Sun, 22 Jun 2014 13:33:22 +0000 (15:33 +0200)]
[MERGE] forward port of branch saas-4 up to 1f20f61
Christophe Simonis [Sun, 22 Jun 2014 13:30:57 +0000 (15:30 +0200)]
[MERGE] forward port of branch saas-3 up to 75884c3
Christophe Simonis [Sun, 22 Jun 2014 11:44:30 +0000 (13:44 +0200)]
[MERGE] forward port of branch 7.0 up to 7e85786
Christophe Simonis [Sun, 22 Jun 2014 11:21:34 +0000 (13:21 +0200)]
[FIX] server: log network errors via logging. ignore EPIPE
Jeremy Kersten [Sat, 21 Jun 2014 16:07:31 +0000 (18:07 +0200)]
[FIX] Add mising param for the call of super get_source_query
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.
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.
Jeremy Kersten [Fri, 20 Jun 2014 15:33:09 +0000 (17:33 +0200)]
[FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order.
Richard Mathot [Fri, 20 Jun 2014 12:21:05 +0000 (14:21 +0200)]
[REM] Old .bzrignore file
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
Christophe Simonis [Fri, 20 Jun 2014 10:30:44 +0000 (12:30 +0200)]
[MERGE] forward port of branch saas-4 up to 4be9142
Christophe Simonis [Fri, 20 Jun 2014 10:27:55 +0000 (12:27 +0200)]
[FIX] web: regenerate messed up `base.css` during commit 5087612
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
Thibault Delavallée [Tue, 10 Jun 2014 11:16:14 +0000 (13:16 +0200)]
[IMP] account: removed demo data about unexisting field, causing a warning.
Christophe Simonis [Thu, 19 Jun 2014 14:13:35 +0000 (16:13 +0200)]
[MERGE] forward port of branch saas-4 up to 5087612
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)
Christophe Simonis [Thu, 19 Jun 2014 13:44:07 +0000 (15:44 +0200)]
[MERGE] forward port of branch saas-3 up to bf53aed
Christophe Simonis [Thu, 19 Jun 2014 13:32:32 +0000 (15:32 +0200)]
[MERGE] forward port of branch 7.0 up to e5533d0
Niels Huylebroeck [Thu, 19 Jun 2014 09:36:59 +0000 (11:36 +0200)]
Fix displaying of minKarma requirements
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
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
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
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
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.
Guillermo Bisheimer [Wed, 18 Jun 2014 13:52:24 +0000 (10:52 -0300)]
wrong domain in action_reception_picking_move in addons/stock/stock_view.xml
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)
Thibault Delavallée [Thu, 19 Jun 2014 10:56:46 +0000 (12:56 +0200)]
[FIX] Fix attach icon that was under the upload label.
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.
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.
xmo-odoo [Thu, 19 Jun 2014 10:09:39 +0000 (12:09 +0200)]
Merge pull request #643 from xmo-odoo/fix-svg-in-rte
Ignore SVG elements when looking for edition events
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
Xavier Morel [Thu, 19 Jun 2014 09:39:14 +0000 (11:39 +0200)]
[FIX] website: ignore SVG elements when looking for edition events in RTE
Denis Ledoux [Thu, 19 Jun 2014 08:55:17 +0000 (10:55 +0200)]
[FIX] account_analytic_analysis: recurring_create_invoice
If no contract found, just pass, to avoid making the sql request
dreispt [Wed, 18 Jun 2014 15:41:51 +0000 (16:41 +0100)]
Fix wrong partner_id refs in Project demo data
Thibault Delavallée [Thu, 19 Jun 2014 07:33:36 +0000 (09:33 +0200)]
[FIX] website_mail: restored follow JS code that was wrongly merged with the mail group follow snippet. Now both widget animation exists, the second being more complex and therefore requiring a different animation.
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
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
Fabien Meghazi [Wed, 18 Jun 2014 14:56:46 +0000 (16:56 +0200)]
git commit -a -mm
Fabien Meghazi [Wed, 18 Jun 2014 13:40:09 +0000 (15:40 +0200)]
Bring back exception conversion to Forbidden
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
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.
Fabien Meghazi [Wed, 18 Jun 2014 12:31:16 +0000 (14:31 +0200)]
Changed as per the recommandation of Sir Odo
FalcoBolger [Wed, 18 Jun 2014 11:39:30 +0000 (13:39 +0200)]
[FIX] Accept http responses as server action response
Denis Ledoux [Wed, 18 Jun 2014 11:02:00 +0000 (13:02 +0200)]
[FIX] account_analytic_analysis: force company of contract when creating recurring invoices
When creating the recurring invoices of the contracts, the invoices accounts(ir.property) must be set according to the company of the contract, not according to the company of the user creating the invoices
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)
Thibault Delavallée [Wed, 18 Jun 2014 09:52:04 +0000 (11:52 +0200)]
Merge pull request #610 from odoo-dev/saas-5-mass-mailing-fixes-tde
[FIX] mass_mailing, website: fixed unsubscription link, fixed mobile preview of email designer crashing because of the redirection not taking search parameters
Thibault Delavallée [Wed, 18 Jun 2014 09:49:44 +0000 (11:49 +0200)]
Merge pull request #502 from odoo-dev/saas-5-mailing-lists-tde
[MERGE] [IMP] Mailing lists usability improvements: headers related to mailing lists, use of email queue for notification emails (> 50 followers), archive website template imp and fix.
Thibault Delavallée [Wed, 18 Jun 2014 09:26:55 +0000 (11:26 +0200)]
[FIX] website: mobile preview should keep the current search; some pages depends strongly of the url parameters, notably the email designer page.
Denis Ledoux [Wed, 18 Jun 2014 09:12:27 +0000 (11:12 +0200)]
[FIX] web: allow using dates and datetimes without leading zeros
Thibault Delavallée [Wed, 18 Jun 2014 07:56:49 +0000 (09:56 +0200)]
[FIX] mass_mailing: various fixes
Fabien Meghazi [Wed, 18 Jun 2014 08:24:37 +0000 (10:24 +0200)]
[FIX] Session Expired message in backend
Denis Ledoux [Tue, 17 Jun 2014 13:43:56 +0000 (15:43 +0200)]
[FIX] website: jquery attrbutes assignation is not supported by Firefox
Happens when trying to change an image in a a banner block
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'.
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' '
Denis Ledoux [Tue, 17 Jun 2014 11:47:15 +0000 (13:47 +0200)]
[FIX] account: report agedpartnerbalance, copy paste error
The t-foreach save the iterazied item as not_partner, not as partner
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
kevin wang [Tue, 17 Jun 2014 08:48:44 +0000 (10:48 +0200)]
[FIX] product: create works for internal reference and ean13 code in product.template
This is a temporary workaround until these fields are removed from the template or the view is more explicit about the meaning of this field (the one on the first variant)
Fix #542
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
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
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
Denis Ledoux [Mon, 16 Jun 2014 16:07:10 +0000 (18:07 +0200)]
[FIX] mail: missing .id during forward port
3c0292645fcb9604e3c4f08a37b7e8702d464065
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
Denis Ledoux [Mon, 16 Jun 2014 15:37:10 +0000 (17:37 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to
63ea0df73ffd6bf659b2ef29cdc3d3387bec92ac
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).
Josse Colpaert [Mon, 16 Jun 2014 11:58:56 +0000 (13:58 +0200)]
Merge pull request #549 from odoo-dev/saas-5-stock-tree_view_ref
[FIX] STOCK: Fixed the warning tree_view_ref fully-qualified name.
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
Paramjit Singh Sahota [Mon, 16 Jun 2014 08:41:01 +0000 (14:11 +0530)]
[FIX] STOCK: Fixed the warning '' 'tree_view_ref' requires a fully-qualified external id (got: 'view_move_picking_tree' for model stock.move). Please use the complete 'module.view_id' form instead. ''
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
Christophe Matthieu [Fri, 13 Jun 2014 16:30:00 +0000 (18:30 +0200)]
Merge pull request #524 from odoo-dev/saas-5-website_sale-browse-category-chm
[FIX] website_sale: retur the browse record of category insead of int
Denis Ledoux [Fri, 13 Jun 2014 16:07:57 +0000 (18:07 +0200)]
[FIX] website_forum: tag pager url
When browsing a tag, the pager url was not matching the route of the controller