Commit Graph

89213 Commits

Author SHA1 Message Date
xmo-odoo ab43946d21 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".
2014-06-19 09:58:53 +02:00
tfossoul 9e1399d2b3 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)
2014-06-19 09:45:14 +02:00
Xavier Morel 82f10f4ca2 [IMP] auth_crypt: port encrypt-at-install from f29ff5e
also move utility methods to class bottom to improve reading experience
(hopefully)
2014-06-19 09:44:40 +02:00
Thibault Delavallée b07b8a5b1f [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. 2014-06-19 09:33:36 +02:00
Xavier Morel 3b39e5f2cc [IMP] auth_crypt: variables naming 2014-06-19 09:19:56 +02:00
Xavier Morel d36f605f58 [IMP] auth_crypt: simplify get_pw 2014-06-19 09:14:21 +02:00
Xavier Morel fc846655d6 [IMP] auth_crypt: automatically upgrde deprecated hashes on login 2014-06-19 09:12:17 +02:00
Xavier Morel d9d8c94412 [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*.
2014-06-19 09:05:44 +02:00
Xavier Morel cf41752470 [IMP] auth_crypt: port to passlib instead of using embedded/hand-rolled md5crypt 2014-06-19 09:04:51 +02:00
dhr-odoo db40033a39 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 2014-06-19 09:01:17 +02:00
Paulius Sladkevičius 3b925793a3 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.
2014-06-18 18:56:49 +03:00
Martin Trigaux 59b9452bd6 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
2014-06-18 17:45:19 +02:00
xmo-odoo 81c174b740 Merge pull request #630 from xmo-odoo/master-website-save-datetime-xmo
website: missing timezone conversion back to UTC on save
2014-06-18 17:18:14 +02:00
Fabien Meghazi fef8077df3 git commit -a -mm 2014-06-18 16:56:46 +02:00
Josse Colpaert ce3645c9d9 [IMP] Corrections on pull request 2014-06-18 16:33:53 +02:00
Xavier Morel 56009e8804 [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.
2014-06-18 16:09:02 +02:00
Christophe Matthieu 6ba14b38cb [FIX] website: geoip can't be none 2014-06-18 15:43:28 +02:00
Fabien Meghazi 4c785069bc Bring back exception conversion to Forbidden 2014-06-18 15:40:09 +02:00
Olivier Dony f29ff5ef70 [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
2014-06-18 15:32:06 +02:00
Christophe Matthieu 9f36a77b7b [FIX] website: wrong cycling error message 2014-06-18 15:27:20 +02:00
Josse Colpaert ef228f273f Merge remote-tracking branch 'odoo/master' into master-wmsstaging3-jco 2014-06-18 15:23:39 +02:00
Christophe Matthieu ffe8590183 [FIX] tour: check if the tour is already finish before check next step 2014-06-18 15:12:52 +02:00
Christophe Matthieu 890a9ac652 [IMP] website: set geoip in user session 2014-06-18 14:50:24 +02:00
Anael Closson 4bad513d29 [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.
2014-06-18 14:39:37 +02:00
Fabien Meghazi 624f256f61 Changed as per the recommandation of Sir Odo 2014-06-18 14:31:16 +02:00
Christophe Matthieu fd0e0323ba [FIX] Tour: error log fail; template of modal 2014-06-18 13:11:17 +02:00
Denis Ledoux 8d282f3b4f [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
2014-06-18 13:02:00 +02:00
Christophe Matthieu 1c8e3c3156 [IMP] Tour: add tour in web module; tour became available in backend. 2014-06-18 12:25:53 +02:00
Christophe Matthieu bc3fc54fac [IMP] Tour: add tour in web module; tour became available in backend. 2014-06-18 12:25:13 +02:00
Ravi Gohil d1e9633c46 [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) 2014-06-18 15:49:38 +05:30
Thibault Delavallée 916a79184b 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
2014-06-18 11:52:04 +02:00
Thibault Delavallée 839815fdd4 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.
2014-06-18 11:49:44 +02:00
Thibault Delavallée 1de1b3c272 [FIX] website: mobile preview should keep the current search; some pages depends strongly of the url parameters, notably the email designer page. 2014-06-18 11:26:55 +02:00
Denis Ledoux 86b80cf95e [FIX] web: allow using dates and datetimes without leading zeros 2014-06-18 11:12:27 +02:00
Thibault Delavallée 0ce1ecd6db [FIX] mass_mailing: various fixes 2014-06-18 11:10:31 +02:00
Fabien Meghazi 9b0d8c0503 [FIX] Session Expired message in backend 2014-06-18 10:24:37 +02:00
xmo-odoo 3160eb74c4 Merge pull request #584 from xmo-odoo/master-qweb-groups-xmo
`@groups` attribute in qweb views
2014-06-18 09:37:02 +02:00
Thibault Delavallée 9064d581f8 Merge pull request #107 from odoo-dev/master-module_rename-avo
[MOV] [RENAME] project_mrp -> sale_service
2014-06-18 08:48:40 +02:00
Amit Vora b0a5e9286d [IMP]rename project_mrp to sale_service 2014-06-17 17:12:49 +02:00
Thibault Delavallée 50245476d1 [FIX] project_mrp: fixed with in which product attributes are added, probably due to product and template refactoring 2014-06-17 17:12:21 +02:00
xmo-odoo 8482632c9b Merge pull request #354 from xmo-odoo/editor-xmlid
[IMP] add XID to view name in Ace editor dropdown
2014-06-17 16:24:04 +02:00
Josse Colpaert 6b63d40145 [MERGE] Merge from master and resolve conflict 2014-06-17 16:23:44 +02:00
Xavier Morel 00c2644783 [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
2014-06-17 16:22:28 +02:00
xmo-odoo 02677579d2 Merge pull request #590 from xmo-odoo/master-public-binary-xmo
Make attachment data available under public by default
2014-06-17 15:56:53 +02:00
xmo-odoo c949509b5e Merge pull request #463 from xmo-odoo/qweb-foreach
Qweb foreach
2014-06-17 15:56:09 +02:00
xmo-odoo 0f72f6517d Merge pull request #525 from xmo-odoo/master-fix-website-postprocess-xmo
Fix postprocessing of request arguments in website
2014-06-17 15:55:55 +02:00
Denis Ledoux 3742b1ab3f [FIX] website: jquery attrbutes assignation is not supported by Firefox
Happens when trying to change an image in a a banner block
2014-06-17 15:43:56 +02:00
Jeremy Kersten 481c64e077 [IMP] Ir Action Server - Fix the domain for the field 'Link Using field'. 2014-06-17 15:20:52 +02:00
Xavier Morel ba4b203e31 [FIX] report rendering should ignore http.Retry 2014-06-17 15:19:54 +02:00
Paramjit Singh Sahota 9bb0abd641 [FIX] GAMIFICATION: Fixed the Attribute Error
' 'str' object has no attribute 'strftime' '
2014-06-17 15:12:15 +02:00