Commit Graph
109420 Commits
Author SHA1 Message Date
Moises Lopez - https://www.vauxoo.com/ 4e2db85f2e [FIX] base_address_extended: default to Null instead of empty string
for computed street fields.

Qweb reports delete the node if the value is Null but won't if the value is an empty string. And then, l10n_mx_edi module has errors because there are nodes with empty string and the minimum value is one char.

Courtesy of Vauxoo. Was PR #17169

Backport in Saas-14 from opw-770430
2017-09-08 10:13:30 +02:00
Christophe Simonis ec0d51f20e [MERGE] forward port branch 10.0 up to a4bcb66bfc 2017-09-06 10:59:06 +02:00
Nicolas Martinelli a4bcb66bfc [FIX] base_import: headerless import
- Import a CSV file without header
- Untick the option 'The first row contains the label of the column'

An error is reported.

If no header, the method `_match_headers` should return consistent
object types.

opw-769117
2017-09-05 16:37:48 +02:00
Christophe Simonis 80ca45b161 [MERGE] forward port branch 9.0 up to e300a587b3 2017-09-05 12:14:05 +02:00
Christophe Simonis e300a587b3 [MERGE] forward port branch saas-6 up to 0099074ab2 2017-09-05 11:27:58 +02:00
Christophe Simonis 0099074ab2 [MERGE] forward port branch 8.0 up to ce12a7397f 2017-09-05 11:26:19 +02:00
Lucas Perais (lpe) e14ab69772 [FIX] point_of_sale: control if a cashier is in localstorage
Before this commit, we could temporarily change cashier from A to B, and back to A seamlessly just by refreshing the page.
This could be a security issue for a cashier is held responsible for its sales.

This commit stores the cashier in localstorage, and with the right sets of methods, corrects the issue.

OPW 767827

closes #19207
2017-09-05 08:41:33 +02:00
Olivier Dony ce12a7397f [FIX] base: remove early size limit on author field
The default size limits set in base.sql are eventually superseded by the
actual limits (or absence of) when the DB schema is synchronized with
the Python model definitions.

However the list of modules (name, authors, descriptions, dependencies)
is loaded before this can happen. The length of the author field is one
case that can easily crash the database bootstrap process at that point,
should a module with a long author name be present in the addons path.

After schema sync, that size limit is lifted entirely (although Odoo Apps
does limit the max author name length to 512 at the moment, to prevent
abuse).

Fixes #5850
2017-09-05 01:46:47 +02:00
Olivier Dony 53bd1266b6 [FIX] doc: mention psycogreen dependency for gevent worker 2017-09-05 01:45:26 +02:00
Christophe Simonis a9991e8082 [MERGE] forward port branch 10.0 up to abb726d4df 2017-09-04 18:47:40 +02:00
Christophe Simonis abb726d4df [MERGE] forward port branch saas-11 up to 431b30b478 2017-09-04 18:46:46 +02:00
Christophe Simonis 431b30b478 [MERGE] forward port branch saas-10 up to aab6bdd54a 2017-09-04 18:38:25 +02:00
Christophe Simonis 99426b95b5 [MERGE] forward port branch 10.0 up to c5df78f38b 2017-09-04 16:15:28 +02:00
Elkasitu c5df78f38b [FIX] ir_model: Don't prefetch unnecessary fields
Do not prefetch unnecessary fields during the uninstallation of modules.

Previous to this commit, prefetching of unnecessary fields would cause server crashes
on some modules that add a field on ir_model_fields.
i.e. website_form
2017-09-04 15:46:19 +02:00
Elkasitu 8862bb01b9 [FIX] ir_model: Don't prefetch unnecessary fields
Do not prefetch unnecessary fields during the uninstallation of modules.

Previous to this commit, prefetching of unnecessary fields would cause server crashes
on some modules that add a field on ir_model_fields.
i.e. website_form
2017-09-04 14:57:13 +02:00
Christophe Simonis dad095de30 [MERGE] forward port branch 9.0 up to dc88a1ac42 2017-09-04 11:58:43 +02:00
Patel Jalpesh dc88a1ac42 [FIX] l10n_fr: migrate tags on taxes
Closes #19231
2017-09-04 11:55:45 +02:00
Lucas Perais (lpe) f98bb2b86b [FIX] website_sale: correct images of product and variants
Before this commit, when trying to edit through the website editor the product image, it was in fact the product variant that we edited.

This commit corrects it and when an image is displayed, the model it comes from is reliable

OPW 767539

closes #19168
2017-09-04 10:19:25 +02:00
Nicolas Martinelli abea8d3513 [FIX] crm: expected closing
Complement of commit 9d2f48dc7f

opw-724375
2017-09-04 10:13:12 +02:00
Lucas Perais (lpe) d22d4dcc23 [FIX] website_crm: fix lead creation through website_form
Before this commit, a message received through the contact us form did create a Lead, but any notification was impossible (even if a user was a follower of the relevant sales team.
This was because the default sales team is integrated in the values for create in models.py, which mail_thread can't see, but needs in order to notify

This commit corrects the behavior which now converge with standard lead creation by adding the default sales_team earlier in the values for create

OPW 762651

closes #19180
2017-09-04 10:09:06 +02:00
Goffin Simon 23f0fb6168 [FIX] website_sale: product category tree not clickable in eCommerce
When  the last selected category or search criteria in eCommerce had
no products(No product defined), the website category tree was not
clickable.

opw:767021
2017-09-04 09:39:05 +02:00
Nicolas Martinelli 8813e9cffc [FIX] website_sale_delivery: disable 'Pay Now' button
- Enable several shippers
- Enable Paypal acquier
- Buy a product on the eCommerce, go to payment page
- Change the shipper

While the page is reloading, the user has time to click on the 'Pay Now'
button.

opw-748467
2017-09-04 09:12:47 +02:00
Nicolas Martinelli 04990288a5 [FIX] website_sale: archived products
Archived products still published on the website will trigger a
traceback when accessed (the link might still exist in a search engine
results).

opw-767740
2017-09-04 08:46:46 +02:00
Wolfgang Taferner 85213a49b5 [FIX] mrp: generating raw move based on bom line should copy sequence
Closes #19182
opw-769259
2017-09-04 08:40:25 +02:00
Wolfgang Taferner bfa6394383 [FIX] hr_attendance: only if the check_out is later than the check_in
You can not create a check-in at 09:00 in case you have an attendance
where you checked out at 09:00.

Complement of bfa55e42f9

Closes #19226
opw-769773
2017-09-04 08:28:32 +02:00
Nicolas Martinelli 5d1dafbf9b [FIX] hr_expense: prevent deletion of posted expense
Prevent the deletion of expense or expense sheet if they are linked to a
journal entry.

Closes #19128
Closes #19044

opw-767549
2017-09-04 08:22:40 +02:00
Odoo Translation Bot 0e0771e319 [I18N] Update translation terms from Transifex 2017-09-03 04:40:05 +02:00
Odoo Translation Bot 11ce4d228d [I18N] Update translation terms from Transifex 2017-09-03 00:30:50 +02:00
Lucas Perais (lpe) b6778ee752 [FIX] account: reconciliation_widget: rounding of reconciliation_amount computation
Use case:
- a tax of 10%, computation method: percentage of tax included
- a account_reconciliation_model with an amount of 90%
- make a statement of 1.31 (or something weird when it comes to digits)
- reconcile it with a counterpart
- prefill that counterpart with the account_reconciliation just created
- push on reconcile

Before this commit, the amount that was computed was not rounded, resulting in making unbalanced account_moves (by 0.001)
This was invisble since the display of monetary is rounded
After this commit, the rounding is done according to the currency's parameters and produces correct move_lines

OPW 751881
2017-09-01 17:15:47 +02:00
Odoo Translation Bot 8e6f65b469 [I18N] Update translation terms from Transifex 2017-09-01 02:40:20 +02:00
Adrien Peiffer (ACSONE) 4ca6945256 [FIX] base: consider materialized view as table
Closes #18442
opw-769167
2017-08-31 15:00:22 +02:00
Adrien Peiffer (ACSONE) 0fff391c38 [FIX] tools: empty name
Check if name isn't empty before executing regex. xlsxwriter can handle
an empty name.

opw-769163
Closes #18877
2017-08-31 13:47:41 +02:00
Nicolas Martinelli 65f5fc6bf8 [FIX] stock: delivery slip
Complement of commit b0d498c11d

The delivered quantity displayed on the "Delivery Slip" should use the
same UOM than the "Ordered Quantity".

opw-766914
2017-08-30 16:12:15 +02:00
Christophe Simonis 583fcf0a67 [MERGE] forward port branch 10.0 up to 1b7e31f341 2017-08-30 15:34:58 +02:00
Christophe Simonis 1b7e31f341 [MERGE] forward port branch saas-11 up to 3f72629794 2017-08-30 15:30:01 +02:00
Christophe Simonis 3f72629794 [MERGE] forward port branch 9.0 up to cb21934e00 2017-08-30 15:29:24 +02:00
Christophe Simonis 792204ae9e [MERGE] forward port branch saas-11 up to dce35ca44b 2017-08-30 14:15:32 +02:00
Richard Mathot 6a5c1001d3 [FIX] mrp: stupid typo introduced at ccfc4e7026
Sorry about that.
2017-08-30 14:12:47 +02:00
Nicolas Martinelli cb21934e00 [FIX] stock: inventory adjustment
Backport of commit c00267bc34

opw-767538
2017-08-30 14:04:01 +02:00
Christophe Simonis dce35ca44b [FIX] l10n_*: limit tag migration to 9.0 series 2017-08-30 13:29:44 +02:00
Christophe Simonis f75fd6dcdb [MERGE] forward port branch 9.0 up to 24ca3793bf 2017-08-30 13:19:58 +02:00
Christophe Simonis 24ca3793bf [FIX] website_forum: do not compare recordset against integer 2017-08-30 12:45:35 +02:00
Lucas Perais (lpe) aee1456e89 [FIX] website_sale: correcting syntax typo in xml 2017-08-30 11:43:49 +02:00
Lucas Perais (lpe) e88f91ba41 [FIX] web_editor, website_sale: load images of the shop when product has been updated
Before this commit, when the shop was in multi images, the main image was not refreshed when changed in the back end.
This was because of the ?unique parameter that was computed on the product variant image. Hence, when the product image changed, the variant image did not, the hash neither, and the image wasn't refreshed

This commit fixes this by adding an option to the qweb.field.image

OPW 765287

closes #19133
2017-08-30 10:00:50 +02:00
Luis Ernesto Torres Macías 6630ce7e76 [FIX] l10n_mx: changing nature of accounts
Was PR #19137
2017-08-30 09:40:24 +02:00
Christophe Simonis 722dbcfa07 [FIX] hr_expense: also consider cash journals 2017-08-29 16:09:02 +02:00
Christophe Simonis 6c6ba6c78a [MERGE] forward port branch 9.0 up to 81908899fc 2017-08-29 16:07:03 +02:00
Rohan Patel 81908899fc [IMP] l10n_vn: created new tags and assign them to taxes
task: https://www.odoo.com/web#id=22700&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19064
2017-08-29 13:38:50 +02:00
Christophe Matthieu e55aa95f2a [FIX] website_sale: very slow shop grid and product view
The problem is present because there are more than 1000 variants for each
product. For display, the price of each product is recalculated (instead
of looking only at the last product)

opw-766897
2017-08-29 13:27:15 +02:00
Rawish Murari e8b5d84140 [IMP] l10n_lu: created new tags and assign to taxes
task: https://www.odoo.com/web#id=22558&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19102
2017-08-29 13:25:58 +02:00