Commit Graph

92223 Commits

Author SHA1 Message Date
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
Antony Lesuisse 98bd673202 [FIX] doc: views calendar view attribute name
Courtesy of: Michiels Denis

Closes: #4249
2014-12-23 00:22:41 +01:00
Antony Lesuisse 96aba067a8 [FIX] doc: clean exercise-dashboard xml to v8
Courtesy of Moises Lopez

Closes: #4336
2014-12-23 00:18:30 +01:00
Yenthe666 829ac304e9 [FIX] web footer link from OpenERP to Odoo 2014-12-23 00:13:03 +01:00
kevin wang 7566b9d425 [FIX] report barcode cast humanreadable 2014-12-23 00:10:57 +01:00
Martin Trigaux 9ab18cd149 [FIX] account_anglo_saxon: keep reference to stock.move on invoice line
When an invoice is created from a picking keep a reference to the stock.move to
use the right price for the COGS entry.
This used to be done by the _prepare_invoice_line method but it was removed
during WMS refactoring, replacing by the brand new _get_invoice_line_vals
method! opw 615263
2014-12-22 16:11:26 +01:00
Martin Trigaux 74f18581f1 [FIX] account_anglo_saxon: do not put stock accounts on services
Services are not moved in stock so invoices created from stock.picking should
not use stock accounts, same when creating lines for sales. opw 615263
2014-12-22 16:11:26 +01:00
Martin Trigaux f63acd9902 [FIX] account_anglo_saxon: account selection for onchange
Following 3a50d4b3, should not distinguish invoice and refund for account
selection in anglo-saxon.
Do this in both onchange method and invoice creation from picking.
2014-12-22 16:11:26 +01:00
Christophe Matthieu d9e0997ffd [FIX] website_sale: the price per line display a wrong reduction if the tax is include 2014-12-22 15:16:36 +01:00
Guewen Baconnier 718c94cb48 [FIX] account: Discount is an amount and should be right aligned
The header already is but the value isn't.
Fixes #4372
2014-12-22 15:10:34 +01:00
ALIANE Abdelouahab 05400f56b3 [ADD] documentation requirements
add new requirements to generate the docs.
2014-12-22 14:48:15 +01:00
Valentin Lab 7727a31d1f [FIX] web: correctly show/hide container div
view manager should hide/show divs even if you don't have a controller set.
2014-12-22 13:37:18 +01:00
David Monjoie 873bfc6c10 [IMP] web: update font awesome to 4.2
Required for themes which uses the new icons
2014-12-22 13:21:46 +01:00
Raphaël Valyi b85ac1eb23 [FIX] company contacts should have the credit limit of the company they belong to; spotted by Alexis de Lattre. 2014-12-22 13:17:00 +01:00
jkei 76f6203888 Avoid false values in calendar views
'false' is displayed when no value is assigne to a field declared in a calend.

Impacted versions:

8.0, master
Steps to reproduce:

Create a fresh database, create a new customer and set his fiscal position.
Create a quotation, select the customer
Current behavior:

File "/Users/keje/src/odoo/addons/account/partner.py", line 107, in get_fiscal_position
return part.property_account_position.id
NameError: global name 'part' is not defined

Expected behavior:

No error
2014-12-22 13:16:26 +01:00
Fabien Pinckaers c9446ed903 Merge pull request #1886 from lepistone/7.0-fix-yaml-onchange-user
use selected user and not admin to run yaml tests
2014-12-22 02:39:06 +01:00
Antony Lesuisse fcd1662381 [FIX] event onchange event type
Courtesy of Alejandro Santana

Closes: #1046, #1047
2014-12-21 23:22:58 +01:00
Antony Lesuisse ebc5cd5bef [FIX] delivery stock_move form, weight alignment
Closes: #954
2014-12-21 21:21:13 +01:00
Cedric Le Brouster 8f30ab04be [FIX] sql_db: close db connexions before removing them.
Closes #831 aka lp 1322191
2014-12-21 19:50:56 +01:00
Denis Ledoux 11f52c9ee8 [FIX] payment_buckaroo: copy values dict to avoid altering original dict
_buckaroo_generate_digital_sign uses the values dict to generate the shasign
At some point, it alters the dict, it removes BRQ_SIGNATURE, but, as the values dict was not copied, it altered the original dict.
So, the key BRQ_SIGNATURE was not anymore present for methods called after _buckaroo_generate_digital_sign.
For instance, the overriden method form_feedback of website_sale payment
2014-12-19 17:51:19 +01:00
FalcoBolger c0dce6ac1e [FIX] website_sale perfomance on public categories
Use a domain instead of python filtering when loading root categories.

Closes #4324
2014-12-19 17:48:50 +01:00
Antony Lesuisse 80f2f64695 [FIX] odoo.py fix fetching of git remotes
remove the useless heads in local refs so that:

git checkout -b master odoo/master

and

git checkout -b master-name odoo-dev/master-name

works.
2014-12-19 17:39:11 +01:00
Simon Lejeune 9ed6accd2e [REF] Packaging: Backport of v8 packaging
[REF] Packaging: backport of a7ab5a4109
[REF] Packaging: backport of a700a1139e
[REF] Packaging: backport of 9d0bd2807e
[REF] Packaging: backport of b0722d3e5d
[REF] Packaging: backport of 24b2c93814
[REF] Packaging: backport of e874cdafaa
[REF] Packaging: backport of 56b61da163
[REF] Packaging: backport of be96dd8595
[REF] Packaging: backport of 50a4da99f0
[REF] Packaging: backport of 1c41f36993
[REF] Packaging: backport of cc11331733
[FIX] Packaging: backport of 1347163082
[REF] Package: backport of 93845d683c
[REF] Package: backport of 012bc01c11
[FIX] Package: partial apply of d9e72a3716
[REF] Package: backport of 67036feff4
[REF] Package: backport of 73de0138de
[REF] Package: backport of 30d987ed30
[REF] Package: backport of 29132669a1
[REF] Package: backport of 7db12dc47b
[REF] Package: backport of f668f9c6cd
[REF] Package: backport of 2cf4051a15
[REF] Packaging: backport of 735924878f
[REF] Packaging: backport of f2598ecdce
[REF] Package: backport of fd21912cfe
[REF] Package: backport of 9a8cdf49b0
[REF] Package: backport of 2f4984b838
[REF] Package: backport of 6e9edeeb46
[REF] Package: partial backport of d4624fa826
[REF] Package: backport of 9f13722f78
2014-12-19 17:31:35 +01:00
Yannick Vaucher ead3f039df [FIX] hr_holidays: Add missing context check
Fixes #4341
2014-12-19 16:27:51 +01:00
Julien Legros 26bf35260d [FIX] web: reordering in editable list views
Broaden the set of conditions where reordering is allowed. Lists can be
reordered when they are sorted by sequence (or sequence ASC)

opw-619465
2014-12-19 15:18:31 +01:00
Raphael Collet d9fedfebbd [IMP] registry loading: setup models only if necessary
When loading the registry without any module installation/upgrade, models are
set up once instead of twice.  In other cases, models are always set up before
installations/upgrades.
2014-12-19 13:57:08 +01:00
Raphael Collet 8f38a7806a [IMP] enable loading custom models/fields and views from module data files
Loading views for custom models from module data files was not possible because
custom models and fields were introduced into the registry after all modules
were loaded.  As a consequence, the view architecture did not pass the checks.

This patch takes a different approach: custom models and fields are loaded
early on in the registry, so that views can be validated.  The trick is to take
special care of relational custom fields: we skip them if their comodel does
not appear in the registry.  This allows to install and upgrade modules that
create/modify custom models, fields and views for them.
2014-12-19 13:57:08 +01:00
Christophe Matthieu b0ae5eac57 [FIX] website_sale: compute base price from default company currency to user currency to display the good lst_price or price extra 2014-12-19 11:59:45 +01:00
Denis Ledoux 2a10745d60 [FIX] payment_buckaroo: brq_test expects boolean 2014-12-19 11:57:03 +01:00
Denis Ledoux 1ff4d0c9a1 [FIX] product: variants prices (extra price) digits precision
When adding an extra price for a variant (through the button variant prices in the product template form) with a digits precision greater than 2 (4 for instance), the computed public price did not keep the digits precision of the extra price
2014-12-19 11:53:51 +01:00
Franck Bret e0d482968d [FIX] report add the humanreadable option to barcode image generator
Closes #4334
2014-12-19 05:09:31 +01:00