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
Martin Trigaux [Tue, 16 Sep 2014 13:27:56 +0000 (15:27 +0200)]
[FIX] payment: access rights limitation
Do not allow everybody to access account.transactions.
Restrict by default to readonly and even restrict the access with a record rule, give access to salesman.
Raphael Collet [Tue, 16 Sep 2014 12:34:56 +0000 (14:34 +0200)]
[FIX] models: make field inheritance work when source field is defined in old api
ssh-odoo [Fri, 5 Sep 2014 04:53:58 +0000 (10:23 +0530)]
[REM] report: remove openerp/report/pyPdf
Distributing our version of pyPdf is not required anymore since we
introduced the new reporting tool.
In order to keep reports working, the standard python library
`python-pypdf` has to be installed instead (through pip or your
distribution's package manager)
sle-odoo [Tue, 16 Sep 2014 13:05:34 +0000 (15:05 +0200)]
Update README.md
Martin Trigaux [Tue, 16 Sep 2014 12:30:16 +0000 (14:30 +0200)]
[FIX] portal_sale: security rules matching the one of public user
The portal users had no access to the attributes objects (while the public user does) and was not allowed to render the shop page.
Fixes #1961
Fabien Meghazi [Tue, 16 Sep 2014 09:27:06 +0000 (11:27 +0200)]
[FIX] request.website browse record bad context
Arthur Maniet [Tue, 16 Sep 2014 11:36:36 +0000 (13:36 +0200)]
[FIX] account: account_invoice's onchange_partner_id uses the first partner bank account if several are defined. Merge of #2280
Arthur Maniet [Tue, 16 Sep 2014 10:46:26 +0000 (12:46 +0200)]
[IMP] account: bank statement reconciliation: better animations
Denis Ledoux [Tue, 16 Sep 2014 10:28:32 +0000 (12:28 +0200)]
[FIX] fields: convert_to_read, handle missing many2one foreign keys
Arthur Maniet [Tue, 16 Sep 2014 10:23:13 +0000 (12:23 +0200)]
[IMP] account: bank statement reconciliation: for a partially reconciled move line, display total and residual amount
Simon Lejeune [Tue, 16 Sep 2014 10:10:32 +0000 (12:10 +0200)]
[FIX] packaging: windows: passlib dependency was not correctly set
Mohammed Shekha [Mon, 14 Jul 2014 12:29:22 +0000 (17:59 +0530)]
[FIX] web: traceback in search view when no field
Jeremy Kersten [Tue, 16 Sep 2014 09:29:14 +0000 (11:29 +0200)]
[FIX] website_hr_recruitement: Don't use GeoIp if all countries is selected
Arthur Maniet [Tue, 16 Sep 2014 09:01:06 +0000 (11:01 +0200)]
[IMP] account: bank statement reconciliation widget: display partner name found in statement import in change partner field ; do not set the partner to false before changing the partner
Raphael Collet [Tue, 16 Sep 2014 08:56:43 +0000 (10:56 +0200)]
Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field
Géry Debongnie [Tue, 16 Sep 2014 08:11:47 +0000 (10:11 +0200)]
[FIX] display problem in graph view in some cases
Recently, the graph view was changed to prevent changing groupbys
for active custom filters. Unfortunately, I did not take into account
the fact that pivot table can be drawn in part when expanding rows.
The "frozen" parameter was then undefined and caused display problems,
this patch should fix the issue.
Raphael Collet [Mon, 15 Sep 2014 15:30:41 +0000 (17:30 +0200)]
[FIX] models: improve implementation of _compute_display_name()
The method was expecting that name_get() returns complete and in-order values.
Because of this, some records in the recordset could end up without a value.
Christophe Simonis [Mon, 15 Sep 2014 16:53:22 +0000 (18:53 +0200)]
[IMP] mail,website: improve update_notification
Denis Ledoux [Tue, 13 May 2014 08:15:01 +0000 (10:15 +0200)]
[FIX] sale: backport of rev
709e22c32aca
[FIX] sale: sale report view, wrong domain
Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
Jeremy Kersten [Mon, 15 Sep 2014 13:50:16 +0000 (15:50 +0200)]
[FIX] website_hr_recruitement: typo
Raphael Collet [Mon, 15 Sep 2014 12:41:39 +0000 (14:41 +0200)]
[FIX] fields: in *2many.convert_to_cache, fix the effect of command "1"
Jeremy Kersten [Mon, 15 Sep 2014 13:27:48 +0000 (15:27 +0200)]
[FIX] website_hr_recruitment: add param to force all countries else it use GeoIP, check that country returned by GeoIP have jobs availables else fallback on all countries
Martin Trigaux [Mon, 15 Sep 2014 13:24:43 +0000 (15:24 +0200)]
[FIX] orm: do not drop foreign keys of transient models
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field.
The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
Denis Ledoux [Mon, 15 Sep 2014 13:24:49 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-5 up to 9699f62
Denis Ledoux [Mon, 15 Sep 2014 13:24:19 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-3 up to 685fa26
Denis Ledoux [Mon, 15 Sep 2014 13:22:04 +0000 (15:22 +0200)]
[FIX] web: do not check if db in session match filter if no db
Samus CTO [Thu, 4 Sep 2014 07:30:43 +0000 (09:30 +0200)]
[IMP] api: compute methods cannot depend on field 'id'
This feature hasn't been implemented because of complexity problems.
Therefore, we should not allow the developer to use it.
Denis Ledoux [Mon, 15 Sep 2014 12:25:02 +0000 (14:25 +0200)]
[MERGE] forward port of branch saas-5 up to 163d7f5