Commit Graph
113136 Commits
Author SHA1 Message Date
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
amoyaux d46279ef7b [FIX] stock: traceback package tree view
_compute_package_info iterate on package but
sometimes self is used resulting in an ensure one
exception.
2017-10-03 13:01:55 +02:00
qsm-odoo ad4dd2243c [FIX] web_editor: build all child snippets when dropping one
Since website refactoring, the behavior was lost and broke some snippets.
2017-10-03 12:59:55 +02:00
Nicolas Martinelli 09e380e239 [FIX] base, website_customer: incorrect wording
opw-768886
2017-10-03 12:48:48 +02:00
Goffin Simon 791152a876 [FIX] web: The model "ir.values" has been renamed
The model "ir.values" has been renamed in "ir.default" by this commit:

60d9f6fef9
2017-10-03 12:48:13 +02:00
Olivier Dony b02dea7688 [IMP] config: allow blocking access to db manager
- The `--no-database-list` option will now also block access to database
  management functions and screens.
  Presumably this flag should only be used in production when all
  databases have been provisioned, so the admin should like to block
  access to the db manager at the same time.

- If no `--database` or `-d` parameter is provided, the system will be
  unable to fetch a list of databases at all, so users will be blocked
  with an error message.

- Hide the link on the login screen to the DB manager when it is
  disabled, to prevent sending users to an error page.

- Weak attempt at updating the documentation

Note: the security check for RPC methods could have been done in the RPC
dispatcher, however that would not have protected service methods when
called directly, e.g. by a controller (e.g. the dump method).
2017-10-03 12:46:03 +02:00
Olivier Dony 7d16769263 [IMP] config: support hashed master passwords
- Add support for hashed master passwords (super-admin password) using a
  strong scheme (PBKDF2_SHA512).

- Replace the password with a hash in memory (tools.config map), after
  verifying it

- Automatically replace the plaintext master password with a hash when
  saving it after a password change

- Preserve support for setting/using plaintext passwords when necessary
  (e.g. as a temporary deployment thing)
2017-10-03 12:45:22 +02:00
Christophe Simonis 5e0db55a2f [FIX][P3] core: correct database dump rpc function 2017-10-03 12:30:11 +02:00
Christophe Simonis 1475a1c2c3 [FIX][P3] core: correctly handle binary files (base64 encoded) at rpc level 2017-10-03 12:30:11 +02:00
Christophe Monniez 3a6e7f98c2 [MERGE] packaging: Adapt for Python 3 and V11 2017-10-03 12:25:28 +02:00