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
Alicia FLOREZ [Mon, 16 Jun 2014 07:44:39 +0000 (09:44 +0200)]
Merge branch 'upstream/saas-5' into saas-5
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
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
Thibault Delavallée [Fri, 13 Jun 2014 14:32:08 +0000 (16:32 +0200)]
[FIX] product_email_template: fixed a bug preventing from sending emails and therefore from validating invoices when having templates without attachments linnked to a product.
Christophe Matthieu [Fri, 13 Jun 2014 14:17:51 +0000 (16:17 +0200)]
[FIX] website_sale: retur the browse record of category insead of int
Martin Trigaux [Fri, 13 Jun 2014 14:12:27 +0000 (16:12 +0200)]
Merge pull request #522 from odoo-dev/saas-5-opw-609008-dhr
[FIX] event_sale: avoid traceback when remove product in onchange view
dhr-odoo [Fri, 13 Jun 2014 12:31:57 +0000 (18:01 +0530)]
Resolved the traceback in Events > Ticket Type tab, when the product is removed
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
Martin Trigaux [Fri, 13 Jun 2014 10:03:48 +0000 (12:03 +0200)]
[FIX] event: improve name from previous merge
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.
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
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
Alicia FLOREZ [Fri, 13 Jun 2014 07:35:45 +0000 (09:35 +0200)]
Merge branch 'upstream/saas-5' into saas-5
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
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.
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
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
Olivier Dony [Thu, 12 Jun 2014 16:54:36 +0000 (18:54 +0200)]
[MERGE] Forward-port saas-4 bugfixes up to ad4c6ca
Thibault Delavallée [Thu, 12 Jun 2014 15:35:41 +0000 (17:35 +0200)]
[FIX] portal: typos in portal wall actions.
Thibault Delavallée [Thu, 12 Jun 2014 15:32:32 +0000 (17:32 +0200)]
[FIX] hr: typo in a field definition
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
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))'
Thibault Delavallée [Thu, 12 Jun 2014 13:01:41 +0000 (15:01 +0200)]
[FIX] [IMP] website_forum: usability fix: moved answers / votes column below the text on mobile displays, because it takes too much place and restrict the place left for the text. By the way some custom css has been removed, replaced by bootstrap css.
Olivier Dony [Thu, 12 Jun 2014 11:52:35 +0000 (13:52 +0200)]
[MERGE] Forward-port of saas-3 bugfixes up to 9f0ecb3
Olivier Dony [Thu, 12 Jun 2014 11:49:32 +0000 (13:49 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df
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)
Thibault Delavallée [Thu, 12 Jun 2014 11:45:21 +0000 (13:45 +0200)]
[IMP] mail, website_mail_group: discussion group improvements
- added possibility in mail to have a model adding custom headers in emails sent for notifications for new messages
- mail.group now add list-id and precedence: list in the headers to inform mailing systems that those mails are to be considered as mailing lists
- website_mail_group adds some further data in the headers (subscribe, unsubscribe, archives)
- groups page now display the number of message in the last month
- notification emails are now queued after 50 recipients
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.
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
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
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.
Alicia FLOREZ [Thu, 12 Jun 2014 08:02:47 +0000 (10:02 +0200)]
Merge
Alicia FLOREZ [Thu, 12 Jun 2014 07:57:14 +0000 (09:57 +0200)]
Merge branch 'upstream/saas-5' into saas-5
Simon Lejeune [Wed, 11 Jun 2014 21:07:28 +0000 (23:07 +0200)]
Merge remote-tracking branch 'odoo/saas-5' into saas-5-report-translation-fix-sle
Simon Lejeune [Wed, 11 Jun 2014 18:53:03 +0000 (20:53 +0200)]
[FIX] request unbound during test execution, add condition in website.layout and livechat
Simon Lejeune [Wed, 11 Jun 2014 17:17:56 +0000 (19:17 +0200)]
[FIX] attempt to render website.layout during test execution
Simon Lejeune [Wed, 11 Jun 2014 17:09:46 +0000 (19:09 +0200)]
[FIX] earlier set of 'translatable' key in report context
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.
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.
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
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.
Simon Lejeune [Wed, 11 Jun 2014 16:33:16 +0000 (18:33 +0200)]
[FIX] do not access website during test execution
Simon Lejeune [Wed, 11 Jun 2014 14:56:54 +0000 (16:56 +0200)]
[FIX] fixes #204 : correct report translations by 'cloning' web.layout and website.layout (inherit in primary mode) to avoid constantly synchronise website and website_report + do not wrongly update the context and loose the selected lang
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
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
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
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
Thibault Delavallée [Wed, 11 Jun 2014 11:56:23 +0000 (13:56 +0200)]
[FIX] website_forum: people having enough karma can accepts answers on every question, not just their own. Fixed the condition computation.
Alicia FLOREZ [Wed, 11 Jun 2014 10:18:40 +0000 (12:18 +0200)]
Merge branch 'upstream/saas-5' into saas-5
Richard Mathot [Wed, 11 Jun 2014 10:10:26 +0000 (12:10 +0200)]
[FIX] survey: pagination result didn't load properly at page loading
Richard Mathot [Wed, 11 Jun 2014 09:47:55 +0000 (11:47 +0200)]
[FIX] survey: security rules mess with xmlids
Christophe Simonis [Wed, 11 Jun 2014 09:06:04 +0000 (11:06 +0200)]
[MERGE] forward port of branch saas-3 up to 3c7a54a
Christophe Simonis [Wed, 11 Jun 2014 08:58:43 +0000 (10:58 +0200)]
[MERGE] forward port of branch 7.0 up to 100eba8
Richard Mathot [Wed, 11 Jun 2014 08:57:03 +0000 (10:57 +0200)]
[FIX] survey: user-friendly message when login is required
Jeremy Kersten [Wed, 11 Jun 2014 08:30:00 +0000 (10:30 +0200)]
[FIX] fields.py - avoid dict comprehension inside a dict comprehension
Olivier Dony [Tue, 10 Jun 2014 16:46:40 +0000 (18:46 +0200)]
[FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9
We always want to escape quotes (") as part of the process of
generating HTML output. This option (quote=True) turned into
an implicit flag with a DeprecationWarning in werkzeug 0.9.0
It is likely to disappear in a future release of werkzeug too.
A wrapper avoids this warning without loss of compatibility
Jonathan Nemry [Tue, 10 Jun 2014 14:57:54 +0000 (16:57 +0200)]
[FIX] website_mail: default could be None
Martin Trigaux [Tue, 10 Jun 2014 14:48:19 +0000 (16:48 +0200)]
[FIX] website_mail: backport of master fix
a54caabbcb10a7db02f872ef5097ac379db5445f
Christophe Simonis [Tue, 10 Jun 2014 14:11:11 +0000 (16:11 +0200)]
[FIX] logging PostgreSQLHandler: mute sql_db logger to avoid logging loop if db connection or query failed
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)
Alicia FLOREZ [Tue, 10 Jun 2014 13:34:19 +0000 (15:34 +0200)]
Merge branch 'upstream/saas-5' into saas-5
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.
Christophe Simonis [Tue, 10 Jun 2014 11:15:46 +0000 (13:15 +0200)]
[MERGE] forward port of branch saas-4 up to 6b8e972
Christophe Simonis [Tue, 10 Jun 2014 10:29:47 +0000 (12:29 +0200)]
[MERGE] forward port of branch saas-3 up to 4601d85
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
Christophe Simonis [Tue, 10 Jun 2014 09:49:14 +0000 (11:49 +0200)]
[MERGE] forward port of branch 7.0 up to 6fdb783
Christophe Simonis [Tue, 10 Jun 2014 09:15:52 +0000 (11:15 +0200)]
[FIX] logging PostgreSQLHandler: do not insert {create,write}_uid
As logs can be stored in any database, we can't insert create_uid and write_uid as it
refer to the current database not the logging one, where FK may not match
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
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)
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
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
Alexandre Fayolle [Fri, 6 Jun 2014 12:18:37 +0000 (14:18 +0200)]
[FIX] delivery: propagate additional fields in chained pickings
closes #367
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.
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