Xavier Morel [Fri, 20 Jun 2014 05:54:44 +0000 (07:54 +0200)]
[IMP] remove usage of psycopg1.cursor, implement dictfetch* on openerp cursor
Richard Mathot [Thu, 19 Jun 2014 14:47:14 +0000 (16:47 +0200)]
Merge pull request #658 from odoo-dev/master-anglo-saxon-accounting-coa-cod
[IMP] accounting: add account_anglo_saxon in deps of l10n_uk and l10n_us
Christophe Simonis [Thu, 19 Jun 2014 14:23:32 +0000 (16:23 +0200)]
[MERGE] forward port of branch saas-5 up to adf07a9
Christophe Simonis [Thu, 19 Jun 2014 14:13:35 +0000 (16:13 +0200)]
[MERGE] forward port of branch saas-4 up to 5087612
cod-odoo [Thu, 19 Jun 2014 14:00:30 +0000 (16:00 +0200)]
[IMP] accounting: add account_anglo_saxon in dependencies of l10n_uk l10n_us
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
Richard Mathot [Thu, 19 Jun 2014 12:32:32 +0000 (14:32 +0200)]
Merge pull request #649 from odoo-dev/master-eval-action-context-pna
[FIX] Accounting: Filter on fiscal year in CoA tree
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
Pinakin Nayi [Thu, 19 Jun 2014 08:57:32 +0000 (14:27 +0530)]
[FIX]Accounting: filter on fiscal year in CoA tree
Martin Trigaux [Thu, 19 Jun 2014 11:54:02 +0000 (13:54 +0200)]
Merge pull request #633 from komsas/patch-1
account: Unify reconcile_partial and reconcile behaviour: return the account.move.reconcile id
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)
Denis Ledoux [Thu, 19 Jun 2014 11:20:12 +0000 (13:20 +0200)]
Merge pull request #640 from xmo-odoo/master-auth_crypt_passlib-xmo
[MERGE] auth_crypt: Upgrade to pbkdf2_sha512
replace handrolled KDF by passlib (& usage of passlib API)
* replace handrolled KDF by passlib (& usage of passlib API)
* replace md5crypt by pbkdf2(sha512)
- handle upgrade from an old database (rehash on login)
* forward-port encrypt-at-install from f29ff5e
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
Richard Mathot [Thu, 19 Jun 2014 09:49:49 +0000 (11:49 +0200)]
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
Richard Mathot [Thu, 19 Jun 2014 08:17:38 +0000 (10:17 +0200)]
Merge pull request #581 from odoo-dev/master-ir-actions-context-rim
[IMP] base: use current context when evaluating ir_actions' context
xmo-odoo [Thu, 19 Jun 2014 07:58:53 +0000 (09:58 +0200)]
Merge pull request #639 from tfossoul/patch-2
Record values should not be passed by keyword to "Model.create": there
is no requirement or guarantee that overriding methods call the
parameter "vals".
tfossoul [Thu, 19 Jun 2014 07:45:14 +0000 (09:45 +0200)]
vals=vals_line on a create function
Come on !!!!
timesheet_obj.create(cr, uid, vals=vals_line, context=context)
timesheet_obj.create(cr, uid, vals_line, context=context)
Xavier Morel [Thu, 19 Jun 2014 07:44:40 +0000 (09:44 +0200)]
[IMP] auth_crypt: port encrypt-at-install from f29ff5e
also move utility methods to class bottom to improve reading experience
(hopefully)
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.
Xavier Morel [Thu, 19 Jun 2014 07:19:56 +0000 (09:19 +0200)]
[IMP] auth_crypt: variables naming
Xavier Morel [Thu, 19 Jun 2014 07:14:21 +0000 (09:14 +0200)]
[IMP] auth_crypt: simplify get_pw
Xavier Morel [Thu, 19 Jun 2014 07:12:17 +0000 (09:12 +0200)]
[IMP] auth_crypt: automatically upgrde deprecated hashes on login
Xavier Morel [Thu, 19 Jun 2014 06:46:15 +0000 (08:46 +0200)]
[IMP] auth_crypt: upgrade default kdf to pbkdf2_sha512
Applies to new and yet-to-be-encrypted users, existing already-encrypted will
keep logging in as usual, their password storage will be upgraded on next
password *change*.
Xavier Morel [Thu, 19 Jun 2014 06:39:22 +0000 (08:39 +0200)]
[IMP] auth_crypt: port to passlib instead of using embedded/hand-rolled md5crypt
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
Paulius Sladkevičius [Wed, 18 Jun 2014 15:56:49 +0000 (18:56 +0300)]
reconcile_partial() return reconcile record id
It should be similar like it's done with reconcile(). That would help a lot when needs to make automatic partial reconciliations.
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
xmo-odoo [Wed, 18 Jun 2014 15:18:14 +0000 (17:18 +0200)]
Merge pull request #630 from xmo-odoo/master-website-save-datetime-xmo
website: missing timezone conversion back to UTC on save
Xavier Morel [Wed, 18 Jun 2014 14:09:02 +0000 (16:09 +0200)]
[FIX] website: missing timezone conversion back to UTC
In t-field, datetime fields (formatted and not formatted versions) are
converted to the context/user's timezone (through
fields.datetime.context_timestamp) when displayed, but were saved without
converting back so the next display would go forward (or back) of the user's
tzoffset.
Fix that by applying context_timestamp's conversion backwards, from the
context/user's timezone back to UTC, before saving the field's value.
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
xmo-odoo [Wed, 18 Jun 2014 07:37:02 +0000 (09:37 +0200)]
Merge pull request #584 from xmo-odoo/master-qweb-groups-xmo
`@groups` attribute in qweb views
Thibault Delavallée [Wed, 18 Jun 2014 06:48:40 +0000 (08:48 +0200)]
Merge pull request #107 from odoo-dev/master-module_rename-avo
[MOV] [RENAME] project_mrp -> sale_service
Amit Vora [Wed, 21 May 2014 10:27:24 +0000 (15:57 +0530)]
[IMP]rename project_mrp to sale_service
Thibault Delavallée [Tue, 17 Jun 2014 15:12:21 +0000 (17:12 +0200)]
[FIX] project_mrp: fixed with in which product attributes are added, probably due to product and template refactoring
xmo-odoo [Tue, 17 Jun 2014 14:24:04 +0000 (16:24 +0200)]
Merge pull request #354 from xmo-odoo/editor-xmlid
[IMP] add XID to view name in Ace editor dropdown
Xavier Morel [Tue, 17 Jun 2014 14:22:28 +0000 (16:22 +0200)]
[IMP] display view's XID *below* the selection
* Looks better
* Allows for a label
* Allows for longer template names and ids without cutting off
* Room to grow more info bits
xmo-odoo [Tue, 17 Jun 2014 13:56:53 +0000 (15:56 +0200)]
Merge pull request #590 from xmo-odoo/master-public-binary-xmo
Make attachment data available under public by default
xmo-odoo [Tue, 17 Jun 2014 13:56:09 +0000 (15:56 +0200)]
Merge pull request #463 from xmo-odoo/qweb-foreach
Qweb foreach
xmo-odoo [Tue, 17 Jun 2014 13:55:55 +0000 (15:55 +0200)]
Merge pull request #525 from xmo-odoo/master-fix-website-postprocess-xmo
Fix postprocessing of request arguments in website
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'.
Xavier Morel [Tue, 17 Jun 2014 13:19:54 +0000 (15:19 +0200)]
[FIX] report rendering should ignore http.Retry
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' '
Thibault Delavallée [Tue, 17 Jun 2014 12:38:55 +0000 (14:38 +0200)]
Merge pull request #88 from odoo-dev/master-timesheet-analysis-reports-tpa
[IMP] hr_timesheet, hr_timesheet_sheet: merge timesheet and hr_timesheet reports; base report moved to hr_timesheet; hr_timesheet_sheet adds data to the report using inheritance.
Fabien Meghazi [Tue, 17 Jun 2014 12:37:30 +0000 (14:37 +0200)]
Merge pull request #588 from odoo-dev/master-keep-query-fme
[ADD] support for multiple value query args in keep_query()
Richard Mathot [Tue, 17 Jun 2014 12:31:52 +0000 (14:31 +0200)]
Merge pull request #561 from odoo-dev/master-branding-ref-rim
[REF] website: change URL to new Odoo website
Xavier Morel [Tue, 17 Jun 2014 12:16:07 +0000 (14:16 +0200)]
[IMP] make attachment data available under public by default
Assuming access rights are correctly configured, this allows providing
downloads for any attachment type, not just to display images via
/website/image.
TODO: unify attachment querying, we've got stuff over both web/ and website/
Fabien Meghazi [Tue, 17 Jun 2014 12:14:39 +0000 (14:14 +0200)]
Merge pull request #587 from odoo-dev/master-incomplete-sitemap-fme
[FIX] sitemap does not show pages (Fixes #452)
the /page/ controller was not using the page converter
tpa-odoo [Mon, 16 Jun 2014 10:08:26 +0000 (15:38 +0530)]
[IMP] move hr timesheet analysis report in to hr_timesheet
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
Fabien Meghazi [Tue, 17 Jun 2014 11:43:57 +0000 (13:43 +0200)]
[FIX] sitemap does not show pages
the /page/ controller was not using the ``page`` converter
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
Xavier Morel [Tue, 17 Jun 2014 10:22:15 +0000 (12:22 +0200)]
[FIX] @groups attribute should not disappear when editing
The @groups attribute in qweb views was not rendered (even when matched by the
user), so editing a template with an @groups would either remove the whole
section (if the user didn't have the groups, fixed in previous commit) or only
removed the attribute itself making it visible to everybody (which ought be
fixed-ish by this commit).
Xavier Morel [Tue, 17 Jun 2014 10:01:52 +0000 (12:01 +0200)]
[IMP] prevent edition of page if groups which current user doesn't have
If the current view uses @groups attributes (possibly in called templates),
the corresponding elements are rendered to a void (empty string in qweb). If
said user can edit the page, does so and saves a view section in which there's
a @groups to which he has no access, the element[@groups] is completely
removed from the template once saved, losing it.
If QWeb encounters an @groups to which the current user has no right during
rendering, have it request a no-RTE page, so the user can not RTE-edit the
page (or drop snippets in it).
Xavier Morel [Tue, 17 Jun 2014 10:00:50 +0000 (12:00 +0200)]
[IMP] no need to compute *all* has_group calls if the first one fails
Richard Mathot [Tue, 17 Jun 2014 09:45:30 +0000 (11:45 +0200)]
[IMP] base: use current context when evaluation ir_actions' context
Fabien Meghazi [Tue, 17 Jun 2014 09:35:29 +0000 (11:35 +0200)]
[ADD] support for multiple value query args in keep_query()
Xavier Morel [Tue, 17 Jun 2014 09:29:11 +0000 (11:29 +0200)]
[ADD] ability to trigger retrying rendering with an updated rendering context
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
Thibault Delavallée [Tue, 17 Jun 2014 08:03:25 +0000 (10:03 +0200)]
Merge pull request #560 from odoo-dev/master-website_instantclick-dja
[ADD] website_instantclick module: using instantclick lib, faster loading of website in public mode. Done in a separate module to avoid doing it by default.
Thibault Delavallée [Tue, 17 Jun 2014 07:37:16 +0000 (09:37 +0200)]
Merge pull request #557 from odoo-dev/master-updatevalue_issue3-rda
[IMP] crm: onchange partner on lead form view better fills partner and contact name, depending on whether the partner is a company or not
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
Christophe Matthieu [Mon, 16 Jun 2014 16:05:22 +0000 (18:05 +0200)]
Merge pull request #569 from odoo-dev/master-product-menu-chm
[IMP] product: all left menu item became product.template's action
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
Christophe Matthieu [Mon, 16 Jun 2014 15:16:50 +0000 (17:16 +0200)]
[IMP] product: all left menu item became product.template's action
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).
Christophe Matthieu [Mon, 16 Jun 2014 14:38:10 +0000 (16:38 +0200)]
Merge pull request #554 from odoo-dev/master-fix-banner-editable-chm
[FIX] website: clean for save of snippet editor don't remove conteneteditable attributes
Thibault Delavallée [Mon, 16 Jun 2014 14:29:30 +0000 (16:29 +0200)]
Merge pull request #558 from odoo-dev/master-claimform_issue9-rda
[IMP] claim: add a placeholder on resolution in form view
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.
Richard Mathot [Mon, 16 Jun 2014 11:47:58 +0000 (13:47 +0200)]
[REF] website: change URL to new Odoo website
Fabien Meghazi [Mon, 16 Jun 2014 11:40:54 +0000 (13:40 +0200)]
Merge pull request #559 from odoo-dev/master-default-form-view-fme
[FIX] new style for default form views
Fabien Meghazi [Mon, 16 Jun 2014 11:39:48 +0000 (13:39 +0200)]
[FIX] new style for default form views
Dharmraj Jhala [Mon, 16 Jun 2014 10:30:06 +0000 (16:00 +0530)]
[ADD] added instantclick library to load data faster in anonymous mode
Christophe Matthieu [Mon, 16 Jun 2014 09:47:28 +0000 (11:47 +0200)]
[FIX] website: clean for save of snippet editor don't remove conteneteditable attributes
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