Commit Graph
113145 Commits
Author SHA1 Message Date
mncoon e792bdbcaf [FIX] l10n_de: correction of tags for german reports 2017-10-09 15:43:28 +02:00
Pierre Masereel c7ca783e24 [FIX] stock: picking action_cancel multi
As the function 'action_cancel' is multi, we cannot  set the value
'is_locked' to True by using '='. Because it will raise an error if self
contains more or less than 1 record.

To fix this we call the 'write' method which support all cases
2017-10-09 11:51:57 +02:00
Khoi Nguyen 44f06a6646 [FIX] mrp: prevent quantity/lot/SN changes from work orders 'manager view'
This revision ensures that users cannot modify the current quantity or
enter lot numbers from the so-called manager view. This is because the
'tablet view' is not aware of the changes made in the manager view.
2017-10-09 11:11:10 +02:00
Odoo Translation Bot ded650083e [I18N] Update translation terms from Transifex 2017-10-09 10:53:17 +02:00
Stephan Rozendaal 4e91a64471 [CLA] signature for StephanRozendaal
Closes #19933
2017-10-09 10:29:57 +02:00
Pierre Masereel e7e37c70e7 [FIX] l10n_in_stock: wrong xpath
The xpath references a span that doesn't exist anymore since https://github.com/odoo/odoo/commit/ddf2b21bdf38492ce075d4ae96bb9323c6ef59dd

It has been introduce in https://github.com/odoo/odoo/commit/2b3c8e6ca9777f6264ecb3d1510dd292ed30ab9f
2017-10-09 10:26:34 +02:00
Laurent Smet c23ef9a9b6 [FIX] remove 'report' from rpc dispatcher
This feature no longer exists since 3425752eac

reported on github issue 19887
2017-10-09 10:03:22 +02:00
Adrian Torres e0b6eb3e62 [FIX] loading: Don't add None to installed apps (#19850)
Previous to this rev., sometimes None could be added
to the list of _init_modules in the registry, this would
then be problematic in ir_http since a sorted would be
performed on this list, which works in py2 but in py3
None and string can't be compared implicitly.
2017-10-09 09:35:59 +02:00
Christophe Monniez 35993ba07d [MERGE] packaging: fixing windows installer issues
Purpose:
    * when installing enterprise, postgresql refuse to install if there
    is a '+' char in the install path.
    * when uninstalling, the nssm and python dirs are not removed
2017-10-09 09:03:57 +02:00
Christophe Monniez 1ca2db0a61 [FIX] setup win32: remove python and nssm on uninstall
Purpose: When uninstalling using the windows uninstaller, python and
nssm were left beyond. This fix removes the python and nssm dirs also.
2017-10-09 08:59:20 +02:00
Christophe Monniez e63813864a [FIX] package: remove unwanted char from install path
Purpose: When installing postgresql under windows, the '+' character is
unallowed. This was creating a bug when using the windows installer the enterprise
version which derivate the install path from the version number.
2017-10-09 08:59:18 +02:00
David Monjoie 6f6f3a44e6 [FIX] iap: remove urllib3 dependency
Since it's not compatible with Python 2.
2017-10-09 08:19:15 +02:00
Christophe Simonis 09f4331c63 [FIX] readme: update badges text & color 2017-10-08 15:32:35 +02:00
Yenthe V.G fb0ee41158 [IMP] doc: update readme links to 11.0
Closes #19910
2017-10-06 12:14:31 +02:00
Jérome Maes 7081a55cb4 [FIX] sale_timesheet: wrong label in project overview 2017-10-05 15:52:47 +02:00
Jérome Maes 8b3c3c0876 [FIX] sale_timesheet: sub task should have the same so line than its parent
And the SO item is readonly for sub task, to avoid
invoice twice the timesheet of a sub task.
2017-10-05 15:52:36 +02:00
Jérome Maes 94e4f782a3 [FIX] sale_timesheet: invoiced/to invoice computation 2017-10-05 15:52:27 +02:00
Jérome Maes 146204edc0 [FIX] hr_expense: don't allow attachement edition/create from expense sheet
The attachment should be create and linked to
the expense directly, and not on the expense
report (where it is readonly).
2017-10-05 15:52:17 +02:00
Jérome Maes 46c1091f36 [FIX] hr_expense: avoid crash when submitting
Create the sheet before opening a cached one avoid to
get error when computing computed field.
2017-10-05 15:52:09 +02:00
Jérome Maes 994ca18ca8 [FIX] sale_timesheet: onchange for consummable product 2017-10-05 15:51:59 +02:00
Martin Trigaux 41ffe6e998 [FIX] doc: remove mention about mandatory attribute
You do not have to specify it for themes

Closes #18039
2017-10-05 09:58:40 +02:00
Antony Lesuisse cd48a806ac [ADD] sms: sms gateway using iap 2017-10-04 20:22:22 +02:00
Antony Lesuisse 6b22476e20 [ADD] iap: In app purchase
IAP allow app publishers to charge for ongoing services. In that context, Odoo
acts mostly as a payment platform between the service user (client) and the service
provider (Odoo App developer).
2017-10-04 20:22:22 +02:00
Jeremy Kersten ea51b6b06f [FIX] website_sale: move promo code input after total
Right column has been removed to have a clean checkout
2017-10-04 15:53:29 +02:00
Sylvain Garancher 823a1aa22d [FIX] P3: graph: correct P3 migration errors
- leftover real division errors
- typos in migration of values() calls in
  fffaf735f5
2017-10-04 15:06:28 +02:00
Nicolas Lempereur a0d63a0a05 [FIX] web: x2m quickcreate>no error but slowcreate
When the quickreate fail and a slow create is used instead, don't
display the error that happened as is done in kanban and calendar
(following 0f7f3fc2f) quick create.
2017-10-04 14:53:52 +02:00
Lucas Perais (lpe) 94cddf69e4 [FIX] point_of_sale: correctly assign and display html for the customer display
Commit f4200f376b aimed at avoiding 414 errors on too long uri.
But it brought up something else: on a new pos.config, the customer display html was not set due to that commit meddeling with the iframe's url.

This present commit forces the set up of the html field on create and write (according to the values, as usual)
the price to pay is to not being able to edit the html right away
2017-10-04 14:38:54 +02:00
qsm-odoo b1cdbf5143 [FIX] mail: restore mobile discuss design 2017-10-04 11:40:12 +02:00
qsm-odoo 44def2086b [FIX] web: allow kanban tags without color field 2017-10-04 11:40:12 +02:00
kujiu 2f07bbca8c [FIX] web: Ordering of inline tree views (#19856)
Allow to order from several columns in inline tree views (x2many fields
in form views).
2017-10-04 10:45:54 +02:00
Jeremy Kersten 9e7a33f7df [FIX] calendar: read of an unknown id crash
Support now that the read can receive id from calendar.event that
doesn't exists. And just ignore the inexisting ids.
2017-10-03 23:38:15 +02:00
Jeremy Kersten 449805ba5c [FIX] calendar: fix read method to avoid to read computed field start_date(time)
Read(['start', 'start_datetime', 'start_date']) make the cache corrupt
for computed field start_datetime or start_date.

Now we don't read (for nothing ?) these 2 fields.

We can remove the skip for the test #500fabf1

Before this commit, a simple :
x = self.create({'name':'subject', 'allday': False, 'start': foo, 'stop': bar})

create randomly an event withtout start_datetime
2017-10-03 23:35:31 +02:00
Olivier Dony 360bfb7a52 [FIX] setup: bump up kvm startup delay
Windows can be slower to start than that, sometimes.
2017-10-03 20:02:29 +02:00
Olivier Dony 1e1e2b4f60 [REL] 11.0 2017-10-03 19:19:57 +02:00
Fabien Meghazi 3af761b4f4 [FIX] db: do not log an error if access to pg_database is denied
Do not log a misleading "bad query" for cases where pg_database is not
accessible.
2017-10-03 19:14:42 +02:00
Olivier Dony 3a387ef2ee [FIX] website_sale_delivery: remove ES6 template literals in untested commit da3c561d35
ES6 template literals are not supported in our testsuite / phantomjs
yet, which is why none of this branch's commit had passing tests >:-(

See #19841
2017-10-03 19:04:34 +02:00
Yenthe V.G 694b7ff866 [FIX] hr_expense: improve tour message
Better English

Closes #19867
2017-10-03 17:35:05 +02:00
Simon Lejeune 9eac6c6377 [REF] stock_account
- value move lines created when the move is done
- when reducing done out move, increase latest in move in order to not
  lose the returned quantity in the fifo chain
2017-10-03 17:15:54 +02:00
Wolfgang Taferner 29c326a8aa [IMP] website_sale_delivery: use the preferred carrier of the partner (if available)
In case you have a delivery partner set on your shipping contact,
when checkouting your cart, the preferred carrier will be used instead
of the first available carrier.
2017-10-03 16:59:27 +02:00
Jeremy Kersten 4778e8d006 [IMP] calendar: add assert to debug test 2017-10-03 16:10:20 +02:00
Jeremy Kersten 500fabf13c [FIX] calendar: temporary fix test...
...commenting it while we find the bug.
Branch need to be green for v11
2017-10-03 16:10:19 +02:00
Jeremy Kersten 662ee52f77 [FIX] website_sale_stock: don't break wishlist/comparaotr design
Before this commit, the priority of the view make that the warning was dipslayed between wishlist and comparator icon
2017-10-03 16:07:26 +02:00
Josse Colpaert 71f9c08e80 [FIX] mrp: make sure the note is logged when you change done qties
The production_id on the stock move line is a helper field for work
orders and you can not assume it is always set correctly.  As
non-tracked stock moves create the stock move lines themselves it is not
set.

So, for logging notes, we check the 2 production order fields through
the moves.
2017-10-03 15:00:13 +02:00
Josse Colpaert 212110a196 [IMP] stock: only allow positive or zero quantities done
Add a constraint in order to forbid it.
2017-10-03 14:52:26 +02:00
qdp-odoo 02aea32656 [FIX] account: onchange amount_currency in case of negative sign should set the credit (with a positive sign) 2017-10-03 14:46:04 +02:00
Richard Mathot e2349f4546 [FIX] odoo: bad imports in tests don't fail silently anymore
Before this fix, you can break a test class by simply adding an
incorrect import like this:
`from gloubiboulga import Casimir`
--> No error message, the test is simply not run

This is due to the fact that we want to ignore ImportError's... only
when there is no `.tests` submodules (actually, we ignored them all!)

This commit fixes the condition and re-enables error logging when tests
actually encounter ImportErrors
2017-10-03 14:29:01 +02:00
Laurent Smet 489245a5ee [FIX] account_budget: prevent having an account.budget.post without account_ids (#19860)
Initially, the check was done in _compute_practical_amount.
However, in case of no account_ids, an error is raised at each click until the account_ids are set.

was PR #19860
2017-10-03 14:28:32 +02:00
amoyaux b284285f62 [FIX] mrp: non-deterministic test/ behaviour
test_03_test_serial_number_defaults creates 3 stock.production.lot
but in a test case they have the same create_date.
Moreover this test go through _assign_default_final_lot_id that do
a search on lot ordered by create date. That's why the test is non-
determinisitc since it could pick one of the 3 lots randomly

This commit add the id in the order.
2017-10-03 13:57:31 +02:00
Josse Colpaert d8ae935e74 [IMP] mrp: traceability of quantity of non-tracked product
When producing a finished product with a lot, also the raw materials
without lot tracking should split the move lines to at least know the
quantities consumed for every lot produced.  This way, the traceability
report will not confuse the user.
2017-10-03 13:57:31 +02:00
Goffin Simon b7a07d3385 [FIX] sale_stock: Typo error
Typo error
2017-10-03 13:04:34 +02:00