Olivier Dony [Thu, 18 Sep 2014 10:11:18 +0000 (12:11 +0200)]
[REL] Odoo 8.0
Martin Trigaux [Thu, 18 Sep 2014 09:57:36 +0000 (11:57 +0200)]
[FIX] stock_account: accept negative quantities on standard price
The qty_available available of a product can be negative (e.g. using the force availibility button on delivery order) and the generated account.move.line should be adapted (otherwise getting negative values in debit/credit entries).
Fixes #2475
Simon Lejeune [Thu, 18 Sep 2014 09:54:25 +0000 (11:54 +0200)]
[FIX] Package: split the version to not include the latest commit's hash included by the package script
Géry Debongnie [Thu, 18 Sep 2014 09:50:25 +0000 (11:50 +0200)]
[FIX] update autocomplete test
Autocompletion of many2one fields only accepts domains in the form of
arrays, not as strings.
Olivier Dony [Thu, 18 Sep 2014 09:46:12 +0000 (11:46 +0200)]
[I18N] Update translations from Launchpad branches
Simon Lejeune [Thu, 18 Sep 2014 09:23:40 +0000 (11:23 +0200)]
[FIX] Package: Debian: finally a correct Packages generation
Thibault Delavallée [Thu, 18 Sep 2014 08:18:05 +0000 (10:18 +0200)]
[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.
Martin Trigaux [Fri, 12 Sep 2014 13:46:10 +0000 (15:46 +0200)]
[IMP] gamification: allow to select fields of inherited models
Martin Trigaux [Fri, 12 Sep 2014 13:45:17 +0000 (15:45 +0200)]
[ADD] base: list of inherited models on a ir.model
This field is needed to retrieve the list of inherited fields (instead of only the fields of a current model) of a model using domain such as ('model_id', 'in', model.inherited_model_ids) on ir.model.fields
Martin Trigaux [Fri, 12 Sep 2014 08:37:14 +0000 (10:37 +0200)]
[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
Raphael Collet [Thu, 18 Sep 2014 08:31:18 +0000 (10:31 +0200)]
[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.
Martin Trigaux [Thu, 18 Sep 2014 09:07:54 +0000 (11:07 +0200)]
[FIX] event: subscribe customer error
The onchange methods needs to work with browse records and address_get returns an id. Fixes #2484
Géry Debongnie [Thu, 18 Sep 2014 09:03:18 +0000 (11:03 +0200)]
[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)
Denis Ledoux [Thu, 18 Sep 2014 08:50:37 +0000 (10:50 +0200)]
[FIX] website_sale: only display payment method from the same company as the order
Cedric Snauwaert [Thu, 18 Sep 2014 07:55:07 +0000 (09:55 +0200)]
[FIX] announcement_bar: computed height was wrongly computed
Cedric Snauwaert [Wed, 17 Sep 2014 14:32:54 +0000 (16:32 +0200)]
[FIX] css: move overflow auto from body to webclient to prevent some element from triggering anoter scrollbar
Simon Lejeune [Wed, 17 Sep 2014 22:16:54 +0000 (00:16 +0200)]
[FIX] Package: Debian, Windows: more odooification; Debian: correct Packages.gz
Josse Colpaert [Wed, 17 Sep 2014 20:12:51 +0000 (22:12 +0200)]
Merge pull request #2502 from odoo-dev/8.0-wmsstaging9-jco
8.0 wmsstaging9 jco
Josse Colpaert [Wed, 17 Sep 2014 15:54:34 +0000 (17:54 +0200)]
[IMP] Use display_name instead of partner_ref
Josse Colpaert [Wed, 17 Sep 2014 14:47:57 +0000 (16:47 +0200)]
[IMP] Purchase on incoming shipments with services added
Josse Colpaert [Wed, 17 Sep 2014 12:32:06 +0000 (14:32 +0200)]
[IMP] MO should pass warehouse + improvements on pack_operation_ids when someone would make it visible
Josse Colpaert [Wed, 17 Sep 2014 08:42:52 +0000 (10:42 +0200)]
[FIX] Basic patches for product_extended
Josse Colpaert [Mon, 15 Sep 2014 17:24:08 +0000 (19:24 +0200)]
[IMP] Purchase order wkf optim
Josse Colpaert [Tue, 16 Sep 2014 10:05:52 +0000 (12:05 +0200)]
[IMP] Scheduled time, weights, remove routing on lines
Josse Colpaert [Fri, 12 Sep 2014 14:31:45 +0000 (16:31 +0200)]
[FIX] Theoretical quantity for created inventory adjustment should take into account location in context of stock
Josse Colpaert [Wed, 17 Sep 2014 16:00:52 +0000 (18:00 +0200)]
Merge pull request #2460 from odoo-dev/8.0-wmslandedextraout-jco
8.0 wmslandedextraout jco
Josse Colpaert [Tue, 16 Sep 2014 15:53:52 +0000 (17:53 +0200)]
[IMP] Check sum + out should take quantities from stock move
Josse Colpaert [Fri, 5 Sep 2014 15:39:42 +0000 (17:39 +0200)]
[IMP] Do the landed costs out of the quants already out of stock
Fabien Meghazi [Wed, 17 Sep 2014 15:36:09 +0000 (17:36 +0200)]
[FIX] Image resizing bug
qdp-odoo [Wed, 17 Sep 2014 15:37:14 +0000 (17:37 +0200)]
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.
Arthur Maniet [Wed, 17 Sep 2014 15:12:50 +0000 (17:12 +0200)]
[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
Frederic van der Essen [Wed, 17 Sep 2014 14:14:30 +0000 (16:14 +0200)]
[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
Frederic van der Essen [Wed, 17 Sep 2014 14:01:53 +0000 (16:01 +0200)]
[IMP] point_of_sale: partner edition ! -> create partners, edit partners, assign them barcodes, take pictures, etc.
Frederic van der Essen [Fri, 12 Sep 2014 14:58:30 +0000 (16:58 +0200)]
[WIP] point_of_sale: qweb template for partner edition
Fabien Meghazi [Wed, 17 Sep 2014 14:54:08 +0000 (16:54 +0200)]
[IMP] Brought back /website/image route w/filename hinted in headers
Also added support for this route in widget Image#from_html()
Olivier Dony [Wed, 17 Sep 2014 14:38:51 +0000 (16:38 +0200)]
[MERGE] Forward-port saas-5 up to f9bcd67
Martin Trigaux [Wed, 17 Sep 2014 14:32:43 +0000 (16:32 +0200)]
[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)
Denis Ledoux [Wed, 17 Sep 2014 14:25:38 +0000 (16:25 +0200)]
[MERGE] forward port of branch saas-3 up to b6e6b57
Denis Ledoux [Wed, 17 Sep 2014 14:24:40 +0000 (16:24 +0200)]
qdp-odoo [Wed, 17 Sep 2014 14:13:45 +0000 (16:13 +0200)]
[REF] account: minor change made during the code review
Raphael Collet [Wed, 17 Sep 2014 12:16:25 +0000 (14:16 +0200)]
[FIX] fields: make convert_to_cache() more robust with inverse one2many
When a one2many field uses an integer field as inverse, the onchange method on
the second model may receive a dictionary for the value of the integer field.
This is because the client expects that field to be a many2one.
Fabien Meghazi [Wed, 17 Sep 2014 13:52:47 +0000 (15:52 +0200)]
[IMP] Refactor ir.ui.view's read_template cache invalidation
Julien Legros [Wed, 17 Sep 2014 08:37:36 +0000 (10:37 +0200)]
[FIX] analytic: contract manager_id defaults to the context value
Bhumi Patel [Thu, 7 Aug 2014 06:12:13 +0000 (11:42 +0530)]
[FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values.
Olivier Dony [Wed, 17 Sep 2014 13:15:22 +0000 (15:15 +0200)]
[MERGE] Forward-port saas-3 up to 09ab2d4
Olivier Dony [Wed, 17 Sep 2014 13:13:42 +0000 (15:13 +0200)]
[MERGE] Forward-port 7.0 up to 938502a
Olivier Dony [Wed, 17 Sep 2014 13:09:55 +0000 (15:09 +0200)]
[FIX] loading: always process auto-installed modules for new databases
If the server was started without -i or -u and
happened to initialize a fresh database,
auto-installed modules that depend
on `base` only would stay in status "to install"
without actually being installed (until the next
installation round was triggered).
This was of little consequence in 7.0, but causes
a crash in 8.0.
Fixes #953
Arthur Maniet [Wed, 17 Sep 2014 13:02:02 +0000 (15:02 +0200)]
[IMP] account: bank statement reconciliation: allow to filter on move line name
Fabien Meghazi [Wed, 17 Sep 2014 08:03:33 +0000 (10:03 +0200)]
[FIX] Bundlification remains (Fixes #2463)
Olivier Dony [Wed, 17 Sep 2014 12:37:12 +0000 (14:37 +0200)]
[IMP] base: show local modules in Settings until apps.odoo.com is migrated for 8.0
Stéphane Bidoul [Tue, 16 Sep 2014 13:01:03 +0000 (15:01 +0200)]
[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.
Denis Ledoux [Wed, 17 Sep 2014 12:23:02 +0000 (14:23 +0200)]
[IMP] mail: app specific notifications
qdp-odoo [Wed, 17 Sep 2014 12:18:52 +0000 (14:18 +0200)]
[FIX] account, bank reconciliation widget: fixed the method that manage the pager in case of partial reconciliations
Denis Ledoux [Wed, 17 Sep 2014 11:54:11 +0000 (13:54 +0200)]
[FIX] ir_ui_view: Active (boolean) should not be required
If so, impossible to uncheck the box in the webclient
Arthur Maniet [Wed, 17 Sep 2014 11:49:39 +0000 (13:49 +0200)]
[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
Denis Ledoux [Wed, 17 Sep 2014 11:39:13 +0000 (13:39 +0200)]
[MERGE] forward port of branch 7.0 up to f5f7609
Denis Ledoux [Wed, 17 Sep 2014 11:32:30 +0000 (13:32 +0200)]
[FIX] orm write: do not try to store computed & stored fields for relational records deleted by *2many fields
opw-613772
Arthur Maniet [Wed, 17 Sep 2014 11:16:46 +0000 (13:16 +0200)]
[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
Arthur Maniet [Wed, 17 Sep 2014 11:00:21 +0000 (13:00 +0200)]
[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
Martin Trigaux [Tue, 16 Sep 2014 15:23:44 +0000 (17:23 +0200)]
[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.
Martin Trigaux [Wed, 17 Sep 2014 10:58:08 +0000 (12:58 +0200)]
Forward port of branch saas-3 up to rev 2ee1843
Martin Trigaux [Wed, 17 Sep 2014 10:28:21 +0000 (12:28 +0200)]
[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.
Arthur Maniet [Wed, 17 Sep 2014 10:26:19 +0000 (12:26 +0200)]
[FIX] account: bank statement reconciliation widget: do not set partner of a statement line with no partner when selecting a move line
Arthur Maniet [Wed, 17 Sep 2014 10:10:01 +0000 (12:10 +0200)]
[FIX] account: bank statement reconciliation: allow to match move lines when no partner
Richard Mathot [Wed, 17 Sep 2014 09:53:14 +0000 (11:53 +0200)]
[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 $.
qdp-odoo [Wed, 17 Sep 2014 09:18:16 +0000 (11:18 +0200)]
[REF] account: minor change made during code review
Martin Trigaux [Wed, 17 Sep 2014 09:05:32 +0000 (11:05 +0200)]
[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)
qdp-odoo [Wed, 17 Sep 2014 09:02:47 +0000 (11:02 +0200)]
[FIX] account: wrong conversion way to foreign currency in the bank statement reconciliation widget
Denis Ledoux [Wed, 17 Sep 2014 08:09:22 +0000 (10:09 +0200)]
[FIX] hr_recruitment: possibility to group application by creation date
Fabien Meghazi [Tue, 16 Sep 2014 20:27:52 +0000 (22:27 +0200)]
[REM] unused class attribute
Fabien Meghazi [Tue, 16 Sep 2014 20:10:31 +0000 (22:10 +0200)]
[MERGE] Miscellaneous SEO improvments
- Compress images using pngquant
- Added http.send_file() helper
- Move javascripts in the bottom of the page (better google pagespeed ranking)
- Added website.get_image_url() helper that uses a hash allowing the usage of
a more aggressive cache
- Misc. tools/image improvements
Fabien Meghazi [Tue, 16 Sep 2014 19:08:30 +0000 (21:08 +0200)]
[FIX] website.image_url() access rights
Fabien Meghazi [Tue, 16 Sep 2014 18:20:39 +0000 (20:20 +0200)]
[FIX] double html escaping in qweb
Fabien Meghazi [Tue, 16 Sep 2014 14:27:27 +0000 (16:27 +0200)]
[IMP] add `url_for` hook to bundle urls
Fabien Meghazi [Fri, 12 Sep 2014 09:33:53 +0000 (11:33 +0200)]
[ADD] image_save_for_web() format argument
Fabien Meghazi [Thu, 11 Sep 2014 10:54:20 +0000 (12:54 +0200)]
[ADD] ir.qweb render_attribute() hook for postprocessing
Fabien Meghazi [Mon, 8 Sep 2014 13:54:38 +0000 (15:54 +0200)]
[ADD] Compress uploaded image by default
Added an opt-out option available from the button's dropdown
Fabien Meghazi [Mon, 8 Sep 2014 13:53:02 +0000 (15:53 +0200)]
[ADD] tools.image_save_for_web() helper for image compression
Fabien Meghazi [Sun, 7 Sep 2014 19:26:34 +0000 (21:26 +0200)]
[IMP] Convert product demo png's to 8bit
Fabien Meghazi [Sun, 7 Sep 2014 09:41:46 +0000 (11:41 +0200)]
[IMP] Compress resized /website/image's
Refactored and fixed tools.image_resize_image() that converted to RGBA
after making thumbnails, resulting in bad looking picture in case the
source is in 'P' mode (indexed palette)
Fabien Meghazi [Fri, 5 Sep 2014 16:20:55 +0000 (18:20 +0200)]
[ADD] Helper for /website/image (allows to use aggressive cache)
Fabien Meghazi [Fri, 5 Sep 2014 14:16:27 +0000 (16:16 +0200)]
[IMP] Move website_mail_group floating assets in frontend bundle
Fabien Meghazi [Fri, 5 Sep 2014 12:34:42 +0000 (14:34 +0200)]
[IMP] Move website_sale_tracking.js in front-end bundle
Fabien Meghazi [Wed, 3 Sep 2014 16:05:01 +0000 (18:05 +0200)]
[WIP] Testing javascripts in the bottom of the page
Fabien Meghazi [Wed, 3 Sep 2014 12:45:05 +0000 (14:45 +0200)]
[IMP] use http.send_file() for /logo.png
Fabien Meghazi [Wed, 3 Sep 2014 12:44:12 +0000 (14:44 +0200)]
[ADD] http.send_file() helper
Fabien Meghazi [Tue, 2 Sep 2014 08:22:47 +0000 (10:22 +0200)]
[IMP] compress *logo*.png with pngquant
Christophe Simonis [Tue, 16 Sep 2014 17:53:14 +0000 (19:53 +0200)]
[FIX] payment_paypal: paypal account migration: correct search of existing providers
Christophe Simonis [Tue, 16 Sep 2014 17:50:45 +0000 (19:50 +0200)]
[FIX] payment_paypal: create account with at least required fields
Olivier Dony [Tue, 16 Sep 2014 17:22:58 +0000 (19:22 +0200)]
[FIX] account: invoice view - useless trailing spaces in labels
Denis Ledoux [Tue, 16 Sep 2014 16:33:42 +0000 (18:33 +0200)]
[FIX] auth_ldap: avoid to try twice the authentication to the ldap server
See #1982
Denis Ledoux [Tue, 16 Sep 2014 15:55:14 +0000 (17:55 +0200)]
[FIX] point_of_sale: set journal as pos payment method on setting journal in the payment methods of a pos config when none is set.
Olivier Dony [Tue, 16 Sep 2014 15:18:35 +0000 (17:18 +0200)]
[FIX] web_calendar: make UI string translatable
Fixes issue #1755 partially, when the new term
will be translated
Olivier Dony [Tue, 16 Sep 2014 15:02:05 +0000 (17:02 +0200)]
[FIX] ir.ui.view: match translated terms without heading/trailing whitespace
As the whitespace is stripped when exporting terms
to translate, it must be done as well when matching
translations at runtime.
Fixes issue #1755 partly
Olivier Dony [Tue, 16 Sep 2014 13:41:37 +0000 (15:41 +0200)]
[FIX] ir.translation: translated terms within view definitions were not loaded
The changes for QWeb template translation have introduced
res_id values in PO comments for all `#: view:` terms, as
the real database id needs to be resolved when loading them.
For non-QWeb views this is not necessary and actually caused
the terms to be dropped when the res_id could not be resolved.
Rather than having a different PO comment format for QWeb and
non-QWeb views, we can extend the QWeb hack to force the
res_id to 0 for non-QWeb views.
Fixes issue #1755
Raphael Collet [Tue, 16 Sep 2014 14:42:24 +0000 (16:42 +0200)]
[FIX] share/wizard: fix new-api method call incorrectly passing context
Arthur Maniet [Tue, 16 Sep 2014 15:17:11 +0000 (17:17 +0200)]
[IMP] account: bank statement reconciliation widget: show bank statement line name AND ref
Arthur Maniet [Tue, 16 Sep 2014 15:15:54 +0000 (17:15 +0200)]
[IMP] account: bank statement reconciliation widget: ctrl-enter makes only 1 RPC call
Arthur Maniet [Tue, 16 Sep 2014 10:55:02 +0000 (12:55 +0200)]
[IMP] account: bank statement reconciliation: correctly find reconciliation proposition based on amount match
Julien Legros [Tue, 16 Sep 2014 14:56:52 +0000 (16:56 +0200)]
[IMP] sale: quotation confirmed mail subtype defaults to True