Christophe Simonis [Thu, 19 Jun 2014 14:13:35 +0000 (16:13 +0200)]
[MERGE] forward port of branch saas-4 up to 5087612
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
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
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.
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
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
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
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.
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.
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.
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)
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