Commit Graph

90982 Commits

Author SHA1 Message Date
Olivier Dony 57829ce3ec [FIX] product,purchase,point_of_sale: force empty values for dropped fields
At 96f038a product-related fields were removed due
to an important product.template/product.product
refactoring. As the field values were simply
dropped, they may not be nullified when upgrading an
existing database. Forcing them to False will take
care of it.
2014-09-10 14:58:45 +02:00
Olivier Dony f39a604faf [FIX] mrp: force empty values for fields that were dropped
This ensures the field values are cleared during
upgrades from previous versions
2014-09-10 14:58:45 +02:00
Frederic van der Essen c3c8276b0f [FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups. 2014-09-10 14:56:24 +02:00
Frederic van der Essen 3f5f76f246 [FIX] point_of_sale: fix some image chaching issues with the receipt logo. Using a random url at each fetch ensures that we don't get cached results 2014-09-10 14:56:24 +02:00
Frederic van der Essen 67ffbe00a4 [FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups. 2014-09-10 14:34:58 +02:00
Raphael Collet ad14acab32 [FIX] models: in method onchange(), check for record dirtiness only on *2many fiels
Cascading onchanges can be caused by a related field computed in cache.  This
causes a bug in sale order lines, were setting the uom field forces reading
product fields, which are inherited from product templates.  The inherited
fields are computed as related fields, which marks the product record as dirty.
This subsequently triggers an onchange on the product field, which resets the
uom field!
2014-09-10 14:26:12 +02:00
Arthur Maniet 9277cc9203 [IMP]: account: bank statement reconciliation widget: statement name can be changed from widget 2014-09-10 14:07:27 +02:00
Frederic van der Essen 13bd2eaa3e [FIX] point_of_sale: prevent the company logo from being cached by the browser by accessing it via a random URL 2014-09-10 13:52:04 +02:00
Simon Lejeune 34e8246a54 [FIX] web: revert 9f0834771d
Revert "[FIX] web: base.css: fixed width for input of file type under oe_avatar"
A better fix for opw-613318 is done in f8bd25c852
2014-09-10 13:42:35 +02:00
Christophe Matthieu a57ebb2c58 [FIX] website_sale: The product breadcrumbs in shop not working. Internal Server Error appears 2014-09-10 13:24:56 +02:00
Denis Ledoux f8bd25c852 [FIX] web: FieldBinaryImage upload file at the right place
Before this, the div wasn't in the right place in the form view
for instance, in the product form view, the third checkbox triggered this binary upload file
opw-613318
task-8982
2014-09-10 13:12:21 +02:00
Denis Ledoux 2459cd5dd1 [FIX] ir_attachment: attachements removed on record unlink 2014-09-10 12:18:14 +02:00
Bhavik Bagdiya 8ef044616a [FIX] web: stages positioned properly when there is no sheet
Fixes #271
Closes #2004
2014-09-10 12:13:05 +02:00
eneldoserrata 41cf52c917 [ADD] l10n_do: Chart of Account for Dominican Republic
Fixes #2257
2014-09-10 12:00:25 +02:00
Josse Colpaert 4d0f6f518a Merge pull request #2312 from odoo-dev/8.0-wmsoptimassignrereserve-jco
[IMP] Add possibity to add rereserve button and optimize action assign
2014-09-10 11:49:09 +02:00
Arthur Maniet 242fbc2a20 [FIX] account: bank statement reconciliation widget: create move line + partial reconcile now possible 2014-09-10 11:41:00 +02:00
Josse Colpaert 4a0b6f6c41 [IMP] Add possibity to add rereserve button and optimize action assign 2014-09-10 11:23:48 +02:00
Christophe Matthieu b2f3de6da7 [FIX] website_sale: Price of accessory product are all time null. Need to use new api to send the context. 2014-09-10 11:22:04 +02:00
Christophe Matthieu 5064c5b1a5 [FIX] website_event_sale: need to use new api to send the context. Add some step for test to check if the cart have the distinct products 2014-09-10 10:09:55 +02:00
Christophe Matthieu 068e69c2ed [FIX] website.editor: need to set the range on start because the browser can be lost the caret and can't insert the media in the page. 2014-09-10 10:09:34 +02:00
Raphael Collet 7428464004 [FIX] openerp/osv/fields: disable prefetching when reading inverse of one2many fields
This fixes issue #2146.  The inverse of a one2many field can be an inherited
field (_inherits).  In that case, we cannot read its value with a simple
database query.  Instead, we let the related field read it, but for performance
considerations we disable the prefetching of other fields.
2014-09-10 09:41:36 +02:00
Olivier Dony bfb29230b7 [FIX] mrp: force empty domain to reset action at upgrade
There was a domain in 7.0 but it must be forced
to empty during upgrade, as the MRP BoM model
has changed.
2014-09-10 09:07:25 +02:00
Denis Ledoux 0aa92fdb03 [FIX] email_template: a tag link rendering, do not process if no href 2014-09-09 19:17:23 +02:00
Denis Ledoux 36d3979e0d [FIX] website_event_sale: take taxes from product_id_change into account 2014-09-09 19:00:58 +02:00
Denis Ledoux b1f4a61705 [MERGE] forward port of branch 7.0 up to 8dff247 2014-09-09 18:23:32 +02:00
Simon Lejeune 2266a96420 [FIX] ir_qweb: contact widget: properly pass the context when browsing the contact
As the context was not transferred, it was never translated.
2014-09-09 18:16:21 +02:00
Denis Ledoux e447a46ec8 [MERGE] forward port of branch 7.0 up to 33e0910 2014-09-09 18:02:30 +02:00
Jérome Maes 559aa0b6d1 [FIX] im_chat : search user method, split the sql query into 3 smaller 2014-09-09 17:18:31 +02:00
Raphael Collet a6269dcead [FIX] web: invoke fields_view_get with kwargs instead of positional args
The mapping old api → new api mistakenly takes the last positional argument as
the context (fields_view_get() has an extra parameter after context.)

Fixes issue #2063
2014-09-09 17:13:14 +02:00
Jeremy Kersten 2f1814088f [IMP] crm: Use cookies to save utm instead of session. 2014-09-09 16:51:35 +02:00
Jeremy Kersten b6fb02a331 [FIX] website_sale: typo in tour 2014-09-09 16:50:42 +02:00
Denis Ledoux 8dff247096 [FIX] orm, read_group: read_group_fill_results handle no_leaf 2014-09-09 16:47:40 +02:00
Frederic van der Essen 7cf5f0a8a8 [FIX] point_of_sale: display an error when trying to print a receipt on an outdated posbox 2014-09-09 16:17:26 +02:00
Commandant Custo ef5b078b74 [IMP] product: Order product.template by name
When no order is forced, it's more user-friendly if the products are ordered by alphabetical order.
This will mainly be applied:
* In the list view in the back-end
* In the eCommerce, for products with equal website_sequence
2014-09-09 16:08:32 +02:00
Martin Trigaux 33e0910841 [FIX] hr_expense: tax included computation
When a tax included has a several childs, the source line should not be duplicated for each tax.
Without the patch, the actual product price (without taxes) would be (total - tax amount) for the last tax only (and not the sum of each tax). (opw 609104)
2014-09-09 15:57:35 +02:00
Simon Lejeune 4b82cf666f [FIX] Report: search associated qweb views: do not forward context
The context may be inconsistent (for instance, containing a group_by associated to another
model). The client will take care of keeping it consistent. Fixes issue #1768
2014-09-09 14:36:00 +02:00
rsi-odoo 6202918754 [IMP] product : Improve tooltip of pricelist on min_quantity field. 2014-09-09 14:16:38 +02:00
Denis Ledoux a4ab44ac96 [FIX] web_calendar: calendar title and column according to l10n 2014-09-09 13:33:55 +02:00
Christophe Simonis e9a4603cb4 [FIX] fields.py: One2many fields only set inverse field on Many2one fields 2014-09-09 13:28:48 +02:00
Christophe Simonis ab6318e538 [FIX] base: ir.model.data.name_get() respect expected behavior.
name_get() must return a value for each ids and keep order of ids.
2014-09-09 13:28:47 +02:00
Simon Lejeune a210420582 [FIX] web: missing backport of rev df3c6b7502
[FIX] web: do not try to close a destroyed dialog. trigger "closing" signal on close by top-right "X" button
2014-09-09 11:52:44 +02:00
Raphael Collet ecd8b5222b [FIX] account.invoice.line: move context to last position in onchange methods
The methods product_id_change() and uos_id_change() have been converted to the
new api, and now use the decorator @multi.  When invoked with the old api, by
convention the methods will take the last argument as the context.  But this
will not work properly for those methods, as the context is passed in another
position.  In order to avoid an argument swap in the api wrapper, we moved the
context to its expected position.

Fixes #1943
2014-09-09 11:50:10 +02:00
Olivier Dony 5388eee321 [IMP] auth_crypt: auto-install, improve description, bump version
The compatibility issue with auth_ldap has been
fixed and the default key derivation function
switched to PKDF2+SHA512. `auth_signup` provides
a password reset mechanism that can be used in
combination with `auth_crypt`.
2014-09-09 10:35:38 +02:00
rolvraen 131d4c97c2 [ADD] l10n_no: Add Norwegian chart of accounts
Fixes #1272
2014-09-09 10:12:54 +02:00
Raphael Collet 7190bb7886 [IMP] doc/backend: add example using jsonrpclib 2014-09-09 10:12:00 +02:00
Raphael Collet ab3ec1ef6c [IMP] openerp/http.py: accept mimetype application/json-rpc for json-rpc calls 2014-09-09 10:11:33 +02:00
Xavier Morel c5fbb47abf [ADD] doc: model inheritance stuff 2014-09-09 09:19:32 +02:00
Olivier Dony fac96241df [I18N] Update 8.0 translations with latest changes from Launchpad 2014-09-08 19:04:25 +02:00
Simon Lejeune 9f0834771d [FIX] web: base.css: fixed width for input of file type under oe_avatar
Browsers add different width to input of file type, messing up the usability of the
product formview placing  a 'phantom' box in front of the options. Added a specific
css rule for this case.
2014-09-08 19:00:52 +02:00
Denis Ledoux c12a2e1d16 [FIX] web: failing onchanges should not prevent to save
This patch is related to 82adba4714

With the above patch, it wasn't possible anymore to save if an onchange failed. This isn't the expected behavior.
Besides, $.when.apply($, defs) is rejected as soon as one def fails, without waiting other defs to be either resolved or rejected.

This new patch allows to save if onchange fails, and wait for onchanges sequentially.
2014-09-08 18:27:05 +02:00