Commit Graph

74219 Commits

Author SHA1 Message Date
Thibault Delavallée 7cad4baa84 [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Martin Trigaux f0c3856be2 [IMP] gamification: allow to select fields of inherited models 2014-09-18 11:12:15 +02:00
Martin Trigaux 56b3db8219 [IMP] gamification: usability and shit
Challenge
- 'Reward as soon as every goal is reached' box checked by default (most of the time people want this behaviour, few special cases were do not)
- Click on challenge kanban opens goal list instead of challenge form
- Add button 'Start Challenge' clicking on statusbar is not intuitive

Badge
- When creates a challenge from badge view, set by default badge to 'For Every Succeding User' field
- replace filter 'Current' vs 'Passed' by 'Running' (in progress and done with not reached end date) vs 'Done' (done & failed without end date or end date passed)

Goal
- list of badge on employee form not the first tab
2014-09-18 11:12:15 +02:00
Raphael Collet 764c5acd81 [IMP] fields: reset decimal precision on new-style fields
When a decimal_precision record is created/modified, the float fields of the
models in the registry must be reset.  This was done on old-API columns only.
It is now handled by the new-API fields.
2014-09-18 11:11:19 +02:00
Martin Trigaux e31d25c867 [FIX] event: subscribe customer error
The onchange methods needs to work with browse records and address_get returns an id. Fixes #2484
2014-09-18 11:08:19 +02:00
Géry Debongnie e6a2d222d6 [FIX] correctly expand many2ones in autocompletion
The ManyToOneField widget evaluated the domain before doing a name_search,
but the domain should not be evaluated client side, because it can only
be static at that point. It caused crash in autocompletion because
some variables could not be found in the context (see stage_id in
project.task for example)
2014-09-18 11:04:01 +02:00
Denis Ledoux 8d773dcd23 [FIX] website_sale: only display payment method from the same company as the order 2014-09-18 10:51:57 +02:00
Cedric Snauwaert 2aaad0796c [FIX] announcement_bar: computed height was wrongly computed 2014-09-18 10:36:49 +02:00
Cedric Snauwaert fa339af2e4 [FIX] css: move overflow auto from body to webclient to prevent some element from triggering anoter scrollbar 2014-09-18 10:36:37 +02:00
Josse Colpaert 5aeccbd90e [IMP] Use display_name instead of partner_ref 2014-09-17 21:42:07 +02:00
Josse Colpaert 066af964bf [IMP] Purchase on incoming shipments with services added 2014-09-17 21:41:42 +02:00
Josse Colpaert f06df3290a [IMP] MO should pass warehouse + improvements on pack_operation_ids when someone would make it visible 2014-09-17 21:41:42 +02:00
Josse Colpaert 7a69b329b1 [FIX] Basic patches for product_extended 2014-09-17 21:41:42 +02:00
Josse Colpaert 0f9a9fbae3 [IMP] Purchase order wkf optim 2014-09-17 21:41:42 +02:00
Josse Colpaert 636294e1ef [IMP] Scheduled time, weights, remove routing on lines 2014-09-17 21:41:41 +02:00
Josse Colpaert 21aaec282d [FIX] Theoretical quantity for created inventory adjustment should take into account location in context of stock 2014-09-17 21:41:41 +02:00
Josse Colpaert 4d3ae9ea54 [IMP] Check sum + out should take quantities from stock move 2014-09-17 17:57:32 +02:00
Josse Colpaert 8e3997158e [IMP] Do the landed costs out of the quants already out of stock 2014-09-17 17:57:25 +02:00
qdp-odoo 3f4ff3e725 Merge pull request #2352 from odoo-dev/8.0-imp-bank-statement-reconciliation-widget-ama
fixes and improvements in the new bank statement reconciliation widget.
2014-09-17 17:37:14 +02:00
Arthur Maniet 0a524e9e53 [FIX] account: bank statement reconciliation: when creating a new move line to reconcile an existing one, use the existing move line's partner or, if there's none, the statement line's partner 2014-09-17 17:12:50 +02:00
Frederic van der Essen 31215c9bce [IMP] point_of_sale: opening the cashbox only if paying with cash was problematic as you sometimes need to use the cashbox with bank payment methods such as ticket meals 2014-09-17 16:57:34 +02:00
Frederic van der Essen 5377a9e2d6 [IMP] point_of_sale: partner edition ! -> create partners, edit partners, assign them barcodes, take pictures, etc. 2014-09-17 16:57:34 +02:00
Frederic van der Essen ac4f7a14b9 [WIP] point_of_sale: qweb template for partner edition 2014-09-17 16:57:34 +02:00
Fabien Meghazi 51477fb4f6 [IMP] Brought back /website/image route w/filename hinted in headers
Also added support for this route in widget Image#from_html()
2014-09-17 16:54:08 +02:00
Olivier Dony e5bff82aff [MERGE] Forward-port saas-5 up to f9bcd67 2014-09-17 16:39:06 +02:00
Martin Trigaux 10c3b8c3c8 [FIX] purchase: keep reference to purchase order line
When generating an invoice from a stock.picking, the reference to the purchase.order.line needs to be kept (e.g. this is needed by anglo-saxon for price valuation). (opw 600767)
2014-09-17 16:32:43 +02:00
qdp-odoo 625f858e07 [REF] account: minor change made during the code review 2014-09-17 16:13:45 +02:00
Julien Legros 720e31d0fb [FIX] analytic: contract manager_id defaults to the context value 2014-09-17 15:32:45 +02:00
Bhumi Patel c707c61f8d [FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values. 2014-09-17 15:31:19 +02:00
Olivier Dony c926b54a49 [MERGE] Forward-port saas-3 up to 09ab2d4 2014-09-17 15:16:30 +02:00
Arthur Maniet 8574f61ab7 [IMP] account: bank statement reconciliation: allow to filter on move line name 2014-09-17 15:02:02 +02:00
Fabien Meghazi 8d08e06758 [FIX] Bundlification remains (Fixes #2463) 2014-09-17 14:50:12 +02:00
Stéphane Bidoul ae742db21d [IMP] broaden scope of search of bank statement reconciliation candidates
Looking for accounts with reconcile=True is enough.
Restricting on payable/receivable account types narrows the search
to much and makes it difficult to implement transfer account holding
the payment while they are in transit at the bank.
2014-09-17 14:24:24 +02:00
Denis Ledoux 58c1963c9a [IMP] mail: app specific notifications 2014-09-17 14:23:02 +02:00
qdp-odoo c21f26ac35 [FIX] account, bank reconciliation widget: fixed the method that manage the pager in case of partial reconciliations 2014-09-17 14:18:52 +02:00
Arthur Maniet 0a7fd6a943 [FIX] account: bank statement reconciliation: when fetching moves lines for reconciliation, if lines from the same partial reconciliation are filtered out, keep fetching to returne the correct number of lines 2014-09-17 13:49:39 +02:00
Denis Ledoux 60a82133cc [MERGE] forward port of branch 7.0 up to f5f7609 2014-09-17 13:39:13 +02:00
Arthur Maniet 1127024eb5 [FIX] account: bank statement reconciliation widget: wait for all reconciliations to be displayed before to load matches, so moves lines in reconciliation proposition are correctly excluded 2014-09-17 13:16:46 +02:00
Arthur Maniet de58cf4950 [FIX] account: bank statement reconciliation widget: when filtering move lines by string, for a statement line with no partner, do a or on varchar fields, not a and 2014-09-17 13:00:21 +02:00
Martin Trigaux e04a87e11f [IMP] website_sale: do not show transaction on sale order
This object is quite technical and has not purpose to be displayed on a sale order.
2014-09-17 12:59:06 +02:00
Martin Trigaux 46efc164d6 Forward port of branch saas-3 up to rev 2ee1843 2014-09-17 12:58:08 +02:00
Martin Trigaux 2ee1843757 [FIX] website_sale: retrieve transactions as superuser
Due to additional security rules, the transactions made as public user will have a new partner_id. The transaction needs to be retrieved as admin to be set in the context.
The operations in payment_get_status are made as superuser but the session_id is checked in the assert above to avoid url manipulation.
2014-09-17 12:52:28 +02:00
Arthur Maniet f968ceddd7 [FIX] account: bank statement reconciliation widget: do not set partner of a statement line with no partner when selecting a move line 2014-09-17 12:26:19 +02:00
Arthur Maniet cfe558c41d [FIX] account: bank statement reconciliation: allow to match move lines when no partner 2014-09-17 12:10:01 +02:00
Richard Mathot 4dec8b54f4 [FIX] survey: mess with JS loading
Since yesterday, JS bundles are now loaded at the end of the webpage.
Old-style modules that hardlink js code in the <head> section are now
broken since they use jQuery's $.
2014-09-17 11:53:14 +02:00
qdp-odoo 3e47eca083 [REF] account: minor change made during code review 2014-09-17 11:18:16 +02:00
Martin Trigaux 28a27a9f91 [IMP] payment: simplify rev d99835e
The group public is defined in base so no need to add security rule in website_payment module (same as for portal)
2014-09-17 11:05:32 +02:00
qdp-odoo c8c9d4fdf6 [FIX] account: wrong conversion way to foreign currency in the bank statement reconciliation widget 2014-09-17 11:02:47 +02:00
Denis Ledoux 73a01a16ab [FIX] hr_recruitment: possibility to group application by creation date 2014-09-17 10:09:51 +02:00
Fabien Meghazi 847093a4b0 [REM] unused class attribute 2014-09-16 22:27:52 +02:00