Commit Graph

91028 Commits

Author SHA1 Message Date
Josse Colpaert a0d855ffad [IMP] Inter-company pricing: put price on move when only partner and not connected to sale or purchase + invoice_state inverse function 2014-09-12 13:49:41 +02:00
Josse Colpaert 8b204e6751 [IMP] Make sure property_ids on sale order line are visible and able to work 2014-09-12 13:49:41 +02:00
Josse Colpaert 064b1a3a40 [IMP] Old hack where uom_id had to be empty in on_change
[IMP] Add purchase order origin on picking

[WIP] Picking type on move for location on routing

[IMP] Provide extra function for custom buttons on picking

[IMP] Action assign optim

[IMP] Push apply should take invoice_state into account.  Propagation of cancel of stock moves should depend on procurement rule
2014-09-12 13:49:41 +02:00
Simon Lejeune ce0dcac161 [FIX] report: /report/download route should not be website enabled
There's a little magic inside the website enabled route modifying the
context's lang, thus breaking the logic to print the report in the
current user's lang. The direct route to display the report should
stay in website_enabled mode, as it allows to switch lang, use the
website translator and so on.
2014-09-12 12:29:29 +02:00
Denis Ledoux 06e1476e3b [FIX]stock_account: missing default value for Inventory Valuation 2014-09-12 09:57:56 +02:00
Denis Ledoux abba7aa212 [FIX] product: can be sold as default filter for templates 2014-09-11 17:54:58 +02:00
fka-odoo 875d7ed38e [FIX] web: sort with undefined value
In this awesome programming language called javascript, undefined is neither bigger nor smaller than a string. Previous code was then considering undefined values equal to any string.
This fix allows to sort in a column of a o2m field and group the undefined values together. opw 607704
2014-09-11 17:38:40 +02:00
Denis Ledoux 8c39241651 [FIX] stock: return picking, pass serial number value when returning 2014-09-11 17:21:12 +02:00
Arthur Maniet b7361b04ee [FIX] account: reconciliation: allow to reconcile when no_partner 2014-09-11 17:02:47 +02:00
Dharti Ratani 386174cf0e [FIX] survey: access rights error when editing
The wizard 'Edit Survey' > 'Add Question' was trowing an access rights error as the id was passed as a string instead of a real id. opw 607854
2014-09-11 17:01:10 +02:00
Denis Ledoux 3911468d72 [FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False 2014-09-11 17:00:45 +02:00
Arthur Maniet 0171d94939 [FIX] account: bank statement reconciliation widget: refactor fix : is_single_statement -> single_statement 2014-09-11 16:34:05 +02:00
Denis Ledoux 87d458f0d7 [FIX] website: customize menu, only a with data-view-id should actually call do_customize 2014-09-11 15:48:37 +02:00
Simon Lejeune c240b4a4e8 [FIX] website_forum: moved editor-related js files into the editor asset 2014-09-11 14:09:11 +02:00
Denis Ledoux a259370fed [FIX] website: do not bind do_customize to menu without data-action 2014-09-11 13:57:58 +02:00
Olivier Dony 914b697ee9 [FIX] report_webkit: re-enable test, disabled during new API developement
Requires an extra use_global_header to be added on
the report record, to mimic the super.create()
behavior, as super.create() is not called.
2014-09-11 13:54:16 +02:00
Martin Trigaux bf9a3723c0 [FIX] hr_expense: tax amount computation
The tax_amount field should contain the basic amount (without tax) for base tax code. (opw 613470)
2014-09-11 13:50:16 +02:00
Martin Trigaux d6fd96d0e9 [FIX] stock: multicompany warehouse creation
When creating a new warehouse, the linked locations should have the same company as the warehouse.
The company_id field is required on warehouse (not necessary in vals as could be added by default values) while it is not for stock.location (meaning global location, also filled with default value).
2014-09-11 13:31:16 +02:00
Christophe Simonis 980d23f98b [IMP] website_blog: more generic xpath expression when inheriting view. ease migration. 2014-09-11 13:19:59 +02:00
Ronak Baxi 1db9915891 [FIX] web: scroll should move top on clicking menu on top bar
Backported from 97d99d1974c965506ed9005d4854fcc5ffee0590
2014-09-11 13:15:39 +02:00
Arthur Maniet b146263a77 [IMP] account: bank statement reconciliation widget: better animations 2014-09-11 13:08:59 +02:00
Arthur Maniet 80c62b395f [IMP] account: bank statement reconciliation widget: it is now possible, when reconciliation is done, to close all the statements reconciled and to go back to statements list view 2014-09-11 12:46:56 +02:00
Raphael Collet 7c0387c952 [FIX] fields: in computed fields, handle AccessError and MissingError
When computing a field on a recordset, a subset of the records may be missing
or forbidden by access rules.  In that case, evaluate the compute method record
by record, and mark failed records as such in cache.
2014-09-11 11:57:18 +02:00
Simon Lejeune 378d41551a [FIX] website_forum: header template: double display of questions
The <t t-raw='0'/> is already defined lower in the view (line 101)
2014-09-11 11:56:12 +02:00
Simon Lejeune 92c0dbb8ae [FIX] web: about odoo: correct bootstrap structure inside the modal
Bootstrap's container class has a fixed width, using it in a modal
with the previous commit allowing an horizontal scrollbar makes the
layout goes crazy. Use container-fluid instead and cleaned some css.
2014-09-11 11:55:30 +02:00
Simon Lejeune f4896fc4f4 [FIX] web: modals: overflow-x on modal-body to prevent large content to be displayed outside 2014-09-11 11:55:30 +02:00
Raphael Collet 85533e1841 [FIX] models: in onchange(), do not send a field value if it has not changed
The method onchange() executes onchange methods in cascade.  Suppose onchange()
is called and a field F=1 in the form.  If an onchange method set F=2, that
value is put in the result variable.  If another onchange method set it back to
F=1, the binding F=2 must be removed from the result variable.

Fixes #2309
2014-09-11 11:45:23 +02:00
Denis Ledoux 948c554a83 [FIX] web: *.openerp.com to *.odoo.com 2014-09-11 09:59:21 +02:00
Martin Trigaux e948253b3a [IMP] point_of_sale: field company_id on pos.config view
Move invisible field on bottom to avoid blank space in view if display journal, group or sequence field
2014-09-11 09:32:59 +02:00
Arthur Maniet 6af1d35ba6 [FIX] account: bank statement reconciliation widget: correctly refresh partial reconciliation sign 2014-09-11 09:27:10 +02:00
Jeremy Kersten fba1f63550 [FIX] website_blog: fix js error from 0a8aad990c 2014-09-10 19:50:22 +02:00
Jeremy Kersten c916243bb6 [FIX] website_blog: change group restriction to load the JS editor 2014-09-10 18:20:54 +02:00
Jeremy Kersten 0a8aad990c [FIX] website_blog: wait that document is ready before to check if we need to update menu for blog 2014-09-10 18:10:25 +02:00
Martin Trigaux f2cf6ced17 [FIX] mail: encoding of sender name with unicode
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part.
Instead of using a limited regex, use the parseaddr method from email library.
Fixes lp:1272610, opw 607683
2014-09-10 17:36:00 +02:00
Denis Ledoux 2684b7de4c [FIX] mail: alias domain should be fetch as superuser
as ir.config.parameter has limited access
2014-09-10 17:26:39 +02:00
Jeremy Kersten ba74b29ed0 [FIX] website_event_track: force type from related to fix bug with convert_to_cache on picture 2014-09-10 17:23:19 +02:00
Arthur Maniet f879548340 [FIX] account: bank statement reconciliation widget: cleaning (ID has nothing to do in the tooltip showing more infos about a move line) 2014-09-10 17:17:35 +02:00
Arthur Maniet 1cd330f7ef [FIX] account: reconciliation: taking into account that amount_residual can (very infrequently) be < 0 2014-09-10 17:07:07 +02:00
Olivier Dony 13be43f8e3 [FIX] mrp: force default values for dropped fields
Those values were dropped at rev 9b34358 but
need to be forced to empty so older databases
get fixed when upgrading
2014-09-10 17:04:48 +02:00
Arthur Maniet e49eeded39 [FIX] account: reconciliation widget: when updating matches (move lines), exclude those which are reconciled with a selected move line as well 2014-09-10 16:59:19 +02:00
Olivier Dony 43b0a63fb8 [FIX] sale: force default values for dropped fields
Those values were dropped at rev 3b636a5 but
need to be forced back to default so older
databases get properly updated when upgrading.
2014-09-10 16:51:48 +02:00
Arthur Maniet 90cc05f8c3 [FIX] account: bank statement reconciliation widget: firefox compatibility 2014-09-10 15:47:08 +02:00
Pankaj Joshi e722bdb3c2 [FIX] hr_recruitment: fixed computation and storage of day_open and day_close + assignment of date_open and date_closed. 2014-09-10 15:45:44 +02:00
Denis Ledoux d3ba8a840d [FIX] website_sale: the order of the attribute list doesn't matter 2014-09-10 15:08:34 +02:00
Arthur Maniet b281b83cd0 [FIX] account: reconciliation: using move_line.name instead of move_line.move_id.name when is defined 2014-09-10 15:02:33 +02:00
Arthur Maniet 24cf401f63 [IMP] account: bank reconciliation widget: making it harder to remove a statement line's partner ; improved change statement name usability 2014-09-10 15:01:13 +02:00
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