Commit Graph

92353 Commits

Author SHA1 Message Date
Martin Trigaux 39748abf8c Revert "[FIX] stock_account: return product at purchased price"
This reverts commit 1fd13fbe2b.
For FIFO it was not needed as the cost is already set to the returned quant.
For standard price, this is wrong as the stock is reevaluated when the product
price is changed.
2015-01-05 17:32:40 +01:00
Arthur Maniet 239e1618f2 [FIX] account: do not restrict tax move lines creation from account_move_line.create() 2015-01-05 16:29:08 +01:00
Arthur Maniet 371e96767d [FIX] account: account.move.line creation with account_tax_id accepts taxes with both base code and tax code or neither. base code xor tax code raises a warning.
Fixes #4452
2015-01-05 16:00:58 +01:00
Arthur Maniet 2107896d22 [FIX] account: bank reconciliation widget: a currency amount was not rounded
Fixes #4450
2015-01-05 16:00:58 +01:00
Denis Ledoux be5717434e [FIX] fields: apply user timezone in display name for models using a datetime as name
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name.
Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC.

This rev. is related to 27d8cb843b, but is for the 8.0 api

We are aware we introduce a tiny change of API (method signature change), which we normally prohibit, but considering the really low level of the method, the fact it is probably not ovveriden by any other modules and the fact there is no cleaner way to correct this, we are making an exception.
2015-01-05 15:48:37 +01:00
Denis Ledoux 00762bbae0 [MERGE] forward port of branch saas-3 up to 643bbcb 2015-01-05 14:25:34 +01:00
Denis Ledoux 643bbcb00b [MERGE] forward port of branch 7.0 up to 27d8cb8 2015-01-05 13:48:01 +01:00
Christophe Matthieu 6471fa6ddb [FIX] website_sale: Discussion not working on product and gives '500: Internal Server Error' if public user try to comment on product (without login). Need to redirect to the login page (all user who want to write a comment have already buy the product and can use the portal login) 2015-01-05 13:30:36 +01:00
Martin Trigaux 9a9bf02b1b [FIX] product: display variant in product label report
Following d80c0ff, Fixes #3138
Proper for loop should be done when converting to QWeb report
2015-01-05 12:49:51 +01:00
Denis Ledoux 27d8cb843b [FIX] fields: apply user timezone in display name for models using a datetime as name
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name.
Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC.
2015-01-05 12:48:38 +01:00
Martin Trigaux b303613f85 Forward port of branch saas-3 up to 6d41af4 2015-01-05 12:47:51 +01:00
Martin Trigaux 6d41af4432 Forward port of branch 7.0 up to d80c0ff 2015-01-05 12:41:05 +01:00
fka-odoo d80c0ff647 [FIX] product: Product Label report did not display product
The name of the product was stripped from the product label report
Fixes #3138 (only blank entries)
2015-01-05 12:36:36 +01:00
Aaron Bohy 6977c4daac [FIX] Packaging: debian: .dsc file reference to .tar.gz
Renamming logic (odoo_version.timestamp.extension) of published
files moved out of publish function
2015-01-05 12:15:23 +01:00
Aaron Bohy a8a8beb294 [IMP] Packaging: debian: package maintainer/descriptions updated
Mainly renaming of OpenERP into Odoo
2015-01-05 12:15:05 +01:00
Yannick Vaucher 5906f10436 [FIX] hr_holidays: Add missing context check
Backport of ead3f03
Fixes #4341
2015-01-05 11:37:15 +01:00
Martin Trigaux fefc13a2db [IMP] account: better fix than edbd0df for reconciliation test
Revert edbd0df
Instead of removing the demo data (demo data is our friend), make the test more
specific, adding a date to match the rate of 1.5289 all year long.
2015-01-05 11:30:49 +01:00
Martin Trigaux 33c8aae8e4 [FIX] orm: do not aggregate non-stored columns
Columns defined in the new api as interger, computed and non-stored should not be aggregated in read_group.
Fallback on False if column is None
Fixes #3972, opw 619536
2015-01-05 11:30:26 +01:00
David Monjoie 1d64b65103 [FIX] website_sale_options: use field image_medium instead of image like in the modal template 2015-01-05 10:38:51 +01:00
Jeremy Kersten faee926f1b [FIX] google_calendar - force to strip client_id and secret key.
Fix #4280
Copy Past from google or default value contains some space which need to be trimed.
2015-01-05 10:23:01 +01:00
Martin Trigaux edbd0df9a0 [FIX] account: test assuming specific currency rate
Old demo data hardcoded the currency rate of USD to 1.5289 at the half
of the year, introducting new year red runbot.
Using assertAlmostEquals to avoid values like 32.730000000000004
2015-01-02 14:24:56 +01:00
Frédéric Van der Essen d1c3ff5127 Merge pull request #4120 from initOS/8.0-escpos_command_presorting
[FIX] implement pre-ordering of ESCPOS commands
2014-12-31 15:48:31 +01:00
Ronald Portier (Therp BV) 7c2795ca04 [FIX] base: specify correct pot file linked to po
In case of different directory for stroing po and pot files than 'i18n'
(e.g. 'i18n_extra'), a po could be linked to a wrong pot file.
Use the same folder as the po file to look for pot.
Fixes #4326
2014-12-31 13:56:54 +01:00
tfossoul f3c4688715 [FIX] Calendar : virtual ID fix. Close #4465 2014-12-31 11:56:28 +01:00
Jérome Maes 1adb3de371 [FIX] mail : close #2250. If trying to send empty message in chatter, no other messages can be send wihtout refreshing page. Moving the flag_post allow sending a new message only when the previous one is sucessufully sent. If case of empty message, nothing will happen, and the chatter will not be blocked. 2014-12-30 11:24:55 +01:00
Nicolas Seinlet 8347d36bf1 [FIX] use inner join to avoid null id's in read_group 2014-12-29 15:22:35 +01:00
Josse Colpaert 52f7fad109 [FIX] Factor should be compared with factor, not id 2014-12-29 11:20:02 +01:00
Frédéric van der Essen aab3d9f4b4 [FIX] point_of_sale: use the same rounding sequence as the backend
Conflicts:
	addons/point_of_sale/static/src/js/models.js
2014-12-26 17:52:06 +01:00
Frédéric van der Essen 4647f896a4 [FIX] point_of_sale: prevent negative bank payments 2014-12-26 17:50:07 +01:00
Maxime Chambreuil fa515607cb [FIX] Issue #4424 2014-12-25 14:57:46 -05:00
Frédéric Van der Essen 681c33aa11 Merge pull request #4027 from akretion/8.0-fix-4026-discount-barcode
[FIX] Fixes #4026 on discount barcode in POS
2014-12-24 16:33:58 +01:00
Aaron Bohy 3505dcce70 [FIX] web: view_form.js: radio buttons bug fix
Clicking on a checked radio button doesn't uncheck it anymore
2014-12-24 15:37:50 +01:00
Xavier ALT 8de7be6219 [FIX] stock_account: keep all picking origins when creating a grouped invoice 2014-12-24 15:23:36 +01:00
Denis Ledoux 753a4d787d [FIX] website_blog: ids of create_history method may be an integer 2014-12-24 15:13:22 +01:00
Denis Ledoux 1684206122 [MERGE] forward port of branch saas-3 up to 0b1b820 2014-12-24 14:04:18 +01:00
Denis Ledoux 0b1b820677 [MERGE] forward port of branch 7.0 up to 6372313 2014-12-24 14:02:17 +01:00
Denis Ledoux 5a207fa08e [FIX] web: firefox print all pages of list view
opw-619093
2014-12-24 13:52:45 +01:00
Denis Ledoux 6372313494 [FIX] web: datetime value parsing without time
If the date format language was changed to invert month & day values (so, changed to the classic european format instead of the american format)
Then, when entering manually a datetime without the time (so just '01/02/2014' instead of '01/02/2014 00:00:00', the day and month were inverted (the datetime was set to 02/01/2014 instead of 01/02/2014) because the datetime entered did not exactly match the date + time pattern.

We therefore added a fallback case, to test to parse the value with the date pattern alone (without the time)
2014-12-24 11:37:55 +01:00
Martin Trigaux 1fd13fbe2b [FIX] stock_account: return product at purchased price
For FIFO and standard price, return product at the purchased price instead of
the cost or current standard price.
Not applied for average as returning a purchased product do not recompute
the average price and would lead to an inconsistency in the stock value.
opw 615263
2014-12-24 11:23:51 +01:00
Aaron Bohy e607f03fd0 [FIX] packaging: debian: references to README.md removed 2014-12-24 09:45:10 +01:00
Jos De Graeve 544eefdd32 [FIX] website: add missing decorator for better guess type
The definition of the render method was guessed as cr_uid_context instead of
cr_uid_ids_context, making calls in the new api breaks
Fixes #4401
2014-12-23 14:29:59 +01:00
Denis Ledoux a175ed6b2f [MERGE] forward port of branch saas-3 up to 30674c3 2014-12-23 14:03:38 +01:00
Denis Ledoux 30674c3ed6 [MERGE] forward port of branch 7.0 up to e151e8f 2014-12-23 13:50:25 +01:00
David Monjoie b5cba529d1 [FIX] l10n_ro: changed module author as requested in issue 621105 2014-12-23 13:42:10 +01:00
Martin Trigaux 44513a73b5 [IMP] resource: remove the need to install matplotlib
Seriously? To flatten a list, a math dependency of 80MB?
Fixes #4383
2014-12-23 13:40:30 +01:00
Denis Ledoux e151e8f871 [FIX] point_of_sale: pos details report company taxes and payments
If the sales details only fetches the pos sales details of his own company, it should be the case for the pos payments and taxes as well.
2014-12-23 13:17:54 +01:00
Denis Ledoux 69e8edb8f2 [FIX] survey: use ustr instead of str for question.question 2014-12-23 11:52:45 +01:00
Martin Trigaux 44d155d3d4 [FIX] base: translate place holders in partner view
Placeholders for City, ZIP and State were not translated
Fixes #4340 (and one of #1755), opw 616589
2014-12-23 11:05:44 +01:00
Simon Lejeune b7e2f5be8b [FIX] web: base.css: fallback for browsers without calc support
see https://developer.mozilla.org/en-US/docs/Web/CSS/calc
2014-12-23 10:32:27 +01:00
David Monjoie 63b92c6bfd [FIX] l10n_ro: changed module author as requested in issue 621105 2014-12-23 09:14:14 +01:00