Commit Graph
117156 Commits
Author SHA1 Message Date
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
Khoi Nguyen 1bbb7d6241 [FIX] web: clear input on clicking 'Create and Edit' from many2one fields
We clear the input field when clicking 'Create and Edit' to ensure that
the field is empty if the user chooses to cancel the record creation. If
a record is indeed created, then the field value will still be updated.
2017-10-09 09:00:19 +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
Odoo Translation Bot 5086bc9a13 [I18N] Update translation terms from Transifex 2017-10-08 07:14:56 +02:00
Odoo Translation Bot 19eb19b92d [I18N] Update translation terms from Transifex 2017-10-08 04:42:45 +02:00
Odoo Translation Bot a846813b96 [I18N] Update translation terms from Transifex 2017-10-08 01:44:15 +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
Sylvain Garancher 815c2a324d [CLA] update the contributors list in Syleam's CLA
Closes #19838
2017-10-05 12:18:05 +02:00
Yoshi Tashiro 9fde53cd8f [CLA] Quartile Limited signs the CCLA
Done at #19516
2017-10-05 10:15:56 +02:00
hansmi 8e8594631f [CLA] signature for hansmi
Done at #19503
2017-10-05 10:09:40 +02:00
David Arnold de803378f1 [CLA] signature for XOE and blaggacao
Done at #19210
2017-10-05 10:04:45 +02:00
David Tran bed3ece7f6 [CLA] add signature for tutran81 and emilyha
Done at #19189
2017-10-05 10:02:39 +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
Edi Santoso 8cf81132b7 [FIX] base: change position of IDR currency
Currency position of IDR must before symbol

Closes #19178
2017-10-05 09:42:03 +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 7e04e442b1 [FIX] calendar: don't read start_date(time) in read
It seems to randomly save a bad value into the cache for star_date(time) field.

For already impacted database, it can be easily fixed with a simple update.
  update calendar_event set start_datetime=start, stop_datetime=stop where allday = 'f';
  update calendar_event set start_date=start, stop_date=stop where allday = 't';

Than can cause errors for google synchro.
2017-10-03 23:54:31 +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
Denis Ledoux 5d1a1942df [FIX] event_sale: tickets with free orders are free
if the attendee ticket is associated to a free sale order,
consider the attended as free.
2017-10-03 22:39:54 +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
Jesús Alan Ramos Rodríguez fdb2f17f8b [I18N] add VAT es_MX translations
To use RFC (Mexico) instead of NIF (Spain)

Closes #19142
2017-10-03 15:00:33 +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