Commit Graph
99161 Commits
Author SHA1 Message Date
Denis Ledoux 30d3f9605f [FIX] purchase: order line description being reset on qty change
Also set name as False for product_id field in the purchase order line form (popup)
This rev. is related to 11bd7a6774
2015-02-16 15:04:22 +01:00
Denis Ledoux 4606b4535a [FIX] warning: onchange_product method signature
Module 'Warning' overwrites onchange_product_id method of purchase.order.line

The signature in the warning module had 'notes', while there isn't any 'notes'
parameter in the original method, in the purchase module.

The super call was also wrong, ignoring the optional fields, which
were therefore always set to the default value
2015-02-16 15:01:12 +01:00
Jeremy Kersten e4030e2016 [FIX] google_calendar: write info on current user with superuser_id
If the user is not admin, it will synchronize always from start, because last_synchro_date cannot be write on res_users
2015-02-16 14:55:22 +01:00
Denis Ledoux 11bd7a6774 [FIX] purchase: order line description being reset on qty change
The name must be changed when changing of product,
but not for other changes, quantity for instance.
The 'or not uom_id' is just for retro-compatibility concerns
uom_id being False actually means we just changed of product,
and the name must therefore be changed
name as been set as False in the onchange call in the view
for the product_id field, in this rev.,
so the name being False now means th change of product
Nevertheless, existing databases for which the view
is not up to date won't have this change
and we therefore have to rely on something else to know
when the product has been changed or not.

fixes #5295
opw-628138
2015-02-16 14:22:15 +01:00
David Monjoie 0d18132b11 Revert "[IMP] website: each snippet is now in its own template"
Should have checked the js test before pushing to master, was too quick, sorry.

This reverts commit e48b8ada43.
2015-02-16 14:13:00 +01:00
David Monjoie e48b8ada43 [IMP] website: each snippet is now in its own template
It will be useful for the designers so they can call one snippet separately. It also separates the snippets definitions from the panel itself which makes more sense.
2015-02-16 13:48:18 +01:00
Christophe Matthieu 8fa8af981a [FIX] ir_qweb: node with tag t don't keep the generated attributes. Need to dispatch the generate attributes on all first children. 2015-02-16 13:48:18 +01:00
Simon Lejeune b310a56c98 [FIX] web: searchview: correct toggleClassof dropdowns
* toggleClass('class', undefined) behaves as if no second argument was
passed: a classic toggle
* toggleClass('class', !undefined) will only add the class if not
present, as the second argument is a boolean (!undefined is true)

This leads to an inconsistent state in the previous implementation of
multiple toggle methods (the`closed-menu` class was never toggled). We
now only use the not operator when the variable is not undefined.

Also, fix the toggle `closed-menu`/`open-menu` logic in dashboard.js,
where it was applied to the `a` instead of the `li`.
2015-02-16 13:43:44 +01:00
Denis Ledoux d00d90a95e [FIX] web: cached company logo on database change
When having several databases in the login form (not monodb mode),
when switching from one database to another,
if the company logo was different,
the company logo could be the logo of the database you came from.

fixes #5291
opw-628131
2015-02-16 13:34:58 +01:00
Christophe Matthieu 8a10204e38 [FIX] website summernote: scroll top when change the style of the text, need ta add the forgotten preventDefault 2015-02-16 13:34:25 +01:00
Christophe Matthieu 8518a963e0 [FIX] product: if the product has no attribute and you add one without any value, the product is deleted. 2015-02-16 13:22:50 +01:00
Jeremy Kersten d13587d0d1 [FIX] base: typo, substr path info and not the result of join 2015-02-16 12:19:18 +01:00
Christophe Simonis de591ccab2 [FIX] {account,stock}: only check for existing move lines if uom is actually changed 2015-02-16 12:03:54 +01:00
Christophe Simonis 84eea02ac5 [IMP] models.py: try in place column cast before copy 2015-02-16 12:00:40 +01:00
Arthur Maniet 32b4ded242 [FIX] account: bank account field of the transactions in a bank statement
- Field is readonly when the statement is closed
- Only bank accounts with the same partner as the transaction or no partner can be selected
2015-02-16 11:55:45 +01:00
Arthur Maniet d1be21dfdf [IMP] account: feature that links bank accounts to partners upon bank statement closing.
Retreive additional informations to write on the res.partner.bank by using the onchange_partner_id, instead of only writing the partner_id
2015-02-16 11:55:45 +01:00
Christophe Matthieu a7e0b73930 [FIX] website: need to add an attribute on html to apply css selector in function of the browser. Fix the media video display for ie 2015-02-16 10:49:28 +01:00
Christophe Matthieu 72c418e6dd [FIX] website_sale: wrong line details in pdf invoice, the invoice line name does not contains the product name 2015-02-16 10:32:39 +01:00
Denis Michiels 8da53f9dec [FIX] account: taxes translated in partner language
Regression introduced during cbe2dbb672
Fixes #5132
opw-627826
2015-02-16 10:20:51 +01:00
Xavier Morel 4f20c45a45 [IMP] doc: move cdn to setup top-level section 2015-02-16 10:14:12 +01:00
Raphael Collet 480d471667 [FIX] base/ir_qweb: use _fields instead of _all_columns
This fixes cases with computed fields that are not present in _all_columns.
2015-02-16 10:08:01 +01:00
Jeremy Kersten 0c7c50b938 [FIX] website: allow to edit a page created by cms.
Without this fix, you cannot use html_editor to edit page create
with the front end.

Since we don't store the new page in field `xml_id´ but in field `key´,
we need to search also into this field.
2015-02-16 10:01:01 +01:00
Xavier Morel eac831f45b [IMP] doc: allow force-right sections, removing bootstrap class from tables 2015-02-16 09:44:33 +01:00
Fabien Pinckaers 75203e18c1 [FIX] fix and improvements on rating system 2015-02-15 22:27:54 +01:00
Fabien Pinckaers 3f5aef24b9 [IMP] layout customer satisfaction page 2015-02-15 22:15:41 +01:00
Fabien Pinckaers 3c68b20fb5 [IMP] project rating improved public view 2015-02-15 22:14:26 +01:00
Fabien Pinckaers dad2640467 [IMP] copy label event 2015-02-15 20:34:56 +01:00
Fabien Pinckaers 4c9889ceb6 [IMP] better labels 2015-02-15 20:33:53 +01:00
Fabien Pinckaers 1d7f266c1f [IMP] Project form view cleaned 2015-02-15 20:32:29 +01:00
Fabien Pinckaers 0b475818ad [IMP] Ratings on proejct form 2015-02-15 20:21:22 +01:00
Fabien Pinckaers 29ace2949e [IMP] removing project sparkline 2015-02-15 19:59:54 +01:00
Fabien Pinckaers 8efa988de9 [IMP] tags and avatar on same line 2015-02-15 19:50:44 +01:00
Gaurav Panchal 79931f245e [ADD] stock: option in warehouse config to install orderpoints calendar 2015-02-13 17:10:11 +01:00
Jeremy Kersten 9ffa3a5c15 [FIX] google_calendar: force google synchro to be without default notif 2015-02-13 16:11:51 +01:00
Denis Ledoux 3fed8ca58d [FIX] base: Address must stay readonly when field use_parent_address is checked
When you change the country of your company, each field of a company address keeps
its attrs. This is why the company address stays on readonly when use_parent_address
is checked.

Closes #4808
opw: 627033
2015-02-13 16:01:07 +01:00
Denis Ledoux 899acef186 [FIX] payment: unique reference constraint
The payment transactions references must be unique, but for
states within draft, pending, done states, not
if the transaction has been canceled or in error.

Otherwise, this is not possible to create a new payment
transaction for an ecommerce order for which
the payment has been canceled by the acquirer

For instance, when the customer lands on Ogone,
then hit the cancel button

opw-627914
2015-02-13 15:35:35 +01:00
moylop260 88ab3db5f2 [FIX] product: missing default init before using it as dict
This revision bring back the possibility to use the copy method
of product.product without passing parameters

Closes #5236
2015-02-13 15:03:13 +01:00
Jeremy Kersten 7638fe51a9 [FIX] website*: SEO optimizely 2015-02-13 13:51:01 +01:00
Jeremy Kersten aed865aa93 [IMP] google_calendar - synchronize OE alarm with google reminders 2015-02-13 13:51:00 +01:00
Christophe Simonis 1eb54d0a4d [FIX] project: add missing dependency web_tip. 2015-02-13 12:11:14 +01:00
Christophe Matthieu d88ba0c6c7 [FIX][REF] website: reverted deletion of new published button by 28ed28f945 2015-02-13 11:50:49 +01:00
Goffin Simon 5b283419d3 [FIX] base: Address must stay readonly when field use_parent_address is checked
When you change the country of your company, each field of a company address keeps
its attrs. This is why the company address stays on readonly when use_parent_address
is checked.

Closes #4808
opw: 627033
2015-02-13 11:35:00 +01:00
Martin Trigaux 20e3f33ebd [FIX] purchase: get supplier from the procurement company
The seller_id field is a related that is read administrator so it would fetch
the first line, whatever the company specified.
Setting related_sudo=False would not be enough as creating purchase orders
through the scheduler makes the computation done as administrator.
Use the company of the procurement (required) to search for a supplier.
If no result, fallback on the first one as before.

Fixes #3833, opw 618809
2015-02-13 15:07:45 +05:30
Géry Debongnie 4e2025719b [FIX] web: viewlist editable use correct record_id in dataset
When clicking on an element in a listview editable, the record_id
is not updated in the dataset, which means that when you switch to form
view, the list view does not display the last selected record.

Also, it should fix the issue solved by PR pull/2725
2015-02-13 10:01:42 +01:00
Jérome Maes 5c07f3ed47 [FIX] website_version : call parent instead of duplicate of parent code. 2015-02-13 09:19:24 +01:00
Fabien Pinckaers 69746e4a53 [ADD] meta generator Odoo 2015-02-13 08:57:54 +01:00
Jeremy Kersten 165c67e879 [FIX] website: improve delete page
Clear cache after delete view
    Move menu to keep all 'New page', 'New blog', 'New forum', ... together
    Disable continue button from popup while user don't confirm with checkbox
    English typo
2015-02-12 18:19:19 +01:00
Christophe Matthieu a9bf846b6f [FIX] website editor: don't save the page (don't trigger the change) when click on clone snippet 2015-02-12 18:01:41 +01:00
Christophe Matthieu fd9ee5e28b [FIX] website summernote: back to the top when change the font-size 2015-02-12 18:01:08 +01:00
Christophe Matthieu 9ee7ed2e18 [FIX] website editor: open the media dialog when double click on summernote button for forum; raise if click on a button before click inside the editor 2015-02-12 17:20:11 +01:00