Commit Graph
99161 Commits
Author SHA1 Message Date
Nicolas Lempereur ee0caa2465 [FIX] web: pivot groupby by field from inherits
A related field used in a group by (filter with group_by in context)
which isn't stored on the model, but stored in the related model should
be allowed to be grouped by uppon on a pivot view.

In 8.0 it wasn't the case, but when adding it as a
 <filter context="{'group_by':'field_name'}" />
it was added in the list of fields.

In saas-6 these group by are only available in the search view, but in
some instance (the field is not stored directly on the model) this could
lead to an error which is fixed by this commit.

closes #8349
opw-647401
2015-09-14 17:55:31 +02:00
Dave Lasley 3dc5a38855 [FIX] payment_authorize: update API URL
Update Authorize.net to new gateway URI
cf https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Important-Authorize-Net-Networking-Change/ba-p/51272
Closes #8191
2015-09-14 17:53:40 +02:00
David Lasley 16abe18649 [CLA] sign corporate CLA for LasLabs 2015-09-14 17:53:40 +02:00
David Lasley da062e2760 [CLA] sign CLA for @lasley 2015-09-14 17:53:40 +02:00
Martin Trigaux 1348fee217 [I18N] all: regenerate .pot and pull .po
How great is it to get Odoo (almost) 9.0 (almost) translated?

Clean .tx/config file
Regenerate .pot files
Fetch current translations from Transifex (10% completion)
2015-09-14 17:53:37 +02:00
Olivier Dony 87bd9b5832 [FIX] website_payment: wrong view inheritance
"Your Details" section is now in the website_portal.account
template, not in the footer_default anymore.
2015-09-14 17:23:06 +02:00
odoo-tac 3b563443eb [FIX] res_partner: name field is still required on all types of res_partners. 2015-09-14 16:53:34 +02:00
Goffin Simon 1d2239665f [FIX] account: consolidated children
The consolidated child of an account cannot be a parent of this account and
the consolidated child of an account cannot be this account itself.
To avoid an infinite recursion in the function _get_children_and_consol.

opw:649198
2015-09-14 16:33:45 +02:00
Jeremy Kersten ac8e28405d [FIX] website: website.theme.js make it re-usable and more flexible
Each theme was duplicating this file.
Now we need to improve this file to be re-usable by others themes.

This fix is only to catch input, in case of the selector is an image.
2015-09-14 16:30:39 +02:00
Goffin Simon acf22b7bc8 [FIX] resource: current_hour in interval_get_multi
The minutes of dt_from(start date) must be taken into account by current_hour and not by
todo (hours).
2015-09-14 15:53:59 +02:00
Nicolas Martinelli 8d53febdb6 [IMP] sale: default advance product in res.config
Instead of using the demo data, it is now possible to set up a defaut
product for payment advances.
2015-09-14 15:28:47 +02:00
Nicolas Martinelli 3e59febb16 Revert "[IMP] Sale: Make demo data 'Deposit' invisible to the user + invoice wizard cleaning"
This reverts commit 09cd1ab280.

That's Not How It Works, That's Not How Any Of This Works.

Conflicts:
	addons/sale/res_config.py
2015-09-14 15:28:47 +02:00
cod-odoo cdfddb29ae [FIX] l10n_ro: add new tags in taxes and fix some amounts 2015-09-14 15:13:26 +02:00
Goffin Simon 2442fe2e4b [FIX] resource: hour_to and hour_from in interval_get_multi
The function interval_get_multi must take into account the minutes in
hour_from and hour_to. hour_to and hour_from are float fields in the model
"resource.calendar.attendance" and the decimal part of these two fields is
for the minutes.

opw:648349
2015-09-14 14:53:14 +02:00
Yannick Tivisse 473d792582 [FIX] project: correct planner english 2015-09-14 13:59:31 +02:00
Raphael Collet 7e9e747a0c [IMP] fields: optimize invalidation of fields in draft mode 2015-09-14 13:26:54 +02:00
Denis Ledoux f627199def [FIX] payment_ogone: Waiting status
Waiting status should be seen as pending status:
They require a manual intervention, except
if a new feedback is provided later.

opw-649302
2015-09-14 12:45:13 +02:00
Nicolas Lempereur f7f436ead5 [FIX] web: date widget, set date when shown
In 36146b3f setting the date of the datetimepicker was done when it was
opened, but only for widget datetime. Thus we could get an issue for a
widget date when we wanted to use it to select two same date.

e.g if we select 23 september for a date, it works. if we then use the
widget on another date, 23 september is selected and it will not trigger
a value change if we leave this value.

This fix adds the date setting when opening the date widget, and also
prevents the bootstrap datetimepicker feature* of closing the widget
when setting the value of the date-only picker.

closes #8506
opw-648619

* this feature is explained in the following issue:
  https://github.com/Eonasdan/bootstrap-datetimepicker/issues/603
2015-09-14 12:44:46 +02:00
Nicolas Lempereur 1fe932a7bc [FIX] web: css for popup search view float position
The widget SelectCreatePopup display the search view drawer directly
after the search view input field. But in current firefox version this
could lead to an issue with float positionning.

fixes #8462
opw-648999
2015-09-14 12:15:10 +02:00
Martin Trigaux 04ae8023f6 [FIX] *: various English errors
Unclear or incorrect sentenses.
Courtesy of Eric Geens
2015-09-14 12:14:06 +02:00
Olivier Laurent 47133c7d3f [ADD] doc: database upgrade API: structure change
1° add a second level of titles because they were too long and
overrided the second column (the 'code column)
2° Add 'double backticks' around some keys
2015-09-14 11:52:12 +02:00
Martin Geubelle b3d8057512 [IMP] crm, stock: planner content 2015-09-14 10:49:00 +02:00
Nicolas Lempereur 5ac77c943b [FIX] membership, website_membership: paid but expired
A paid membership is expired if the validity period (period between
date_from and date_to) doesn't match with the current date.

closes #8505
opw-648627
2015-09-14 10:43:29 +02:00
Olivier Laurent fb91433e88 [ADD] doc: database upgrade API: structure change
1° add a second level of titles because they were too long and
overrided the second column (the 'code column)
2° Add 'double backticks' around some keys
2015-09-14 10:38:47 +02:00
Martin Geubelle b9cfbbee87 [FIX] web_settings_dashboard: remove grey color when complete planner 2015-09-14 10:33:49 +02:00
Xavier Morel 2a43803d8a [FIX] web_kanban: column & item quick-creation
In all browsers the ``focus/blur`` event is triggered before a button's
``click`` (it's actually triggered by mousedown).

Column and record quick-creates discard the form on blur but still want
to create the column/record when the "Add" button is clicked. This was
implementing with a fixed debounce/time-delay on the blur handler,
however the exact delay between blur and click dispatch are browser,
environment and possibly load-dependent (on my system unloaded, 10ms is
sufficient in webkit but firefox requires at least 50, a user keeping
the mouse button pressed for some time would increase that delay).

The proper way to handle this is to suppress the ``focus/blur`` event
from the relevant button entirely by preventing the browser's default
mousedown handler.

Do that for both column and record quick-creates, and remove
time-delay/debounces.

Also remove manual proxying of ``click`` in kanban column (move to
``events`` object)
2015-09-14 10:20:30 +02:00
Xavier Morel 9882c8826e [IMP] web: improve Widget.proxy's error reporting
Provide a more informative error message than "undefined is not a
function" when a method passed by name to the events object is missing
on the widget.
2015-09-14 10:20:30 +02:00
Jérome Maes 330bf5ec2f [FIX] website_portal_sale : use correct controller to get product thumbnail 2015-09-14 10:16:48 +02:00
Jérome Maes e36ec6060c [FIX] website_sale : adapt onchange, fixing traceback
Salepocalypse change onchange, and they are not compatible anymore. New onchange return nothing. Here we do a write to update the partner then trigger manually the onchange to update SO fields depending on partner_id.
Once the onchange is trigger, some fields require a check (force pricelist, recompute taxes, ...)
2015-09-14 10:16:40 +02:00
Jérome Maes 1d56ea0f6f [FIX] mail : when create a channel, give it the channel_last_seen_partner_ids to direct make the creator a member and avoid access right exception 2015-09-14 10:16:32 +02:00
Jérome Maes 762cc2dbfa [FIX] mail : make follower subtype edition works
On follower list of a document, the user can (if access rights granted) edit the subtype subscription of other follower. This open a modal with checkboxes. This is commit make this feature works and adapt it to channel follower.
2015-09-14 10:16:21 +02:00
Jérome Maes a58e00bcdb [FIX] im_livechat : anonymous_name should be the user name in case of portal user 2015-09-14 10:16:13 +02:00
Nicolas Lempereur e03d64cfaa [FIX] website: remove cancelled request for mobile preview
In 7d40a7d, f820c07, 3ed0628 the way the mobile preview iframe is set
was altered several times. This left an inconsistent needless page load.

This page load was cancelled, but as a side effect in a given set of
conditions:

- an ajax request is done early in current (and so iframe) page,
- phantomjs is used for the test,
- server response time

this could lead to a false positive caused by a cancelled xhr request
throwing the error: "Can't load template, http status 0".
2015-09-14 10:13:25 +02:00
Fabien Pinckaers 9571bed376 [IMP] typo 2015-09-13 19:34:50 +02:00
Fabien Pinckaers b5ff541e52 [IMP] Invoice from SO semantic (manually select with or without refunds) 2015-09-13 18:38:53 +02:00
Fabien Pinckaers 4adf21320e [IMP] Calendar form view 2015-09-13 16:16:27 +02:00
Fabien Pinckaers b7e393a71a [FIX] calendar recurrent event, [IMP] duration instead of time end 2015-09-13 16:09:42 +02:00
Fabien Pinckaers d459ab1dfd [IMP] CRM Dashboard cleanup 2015-09-13 15:11:59 +02:00
Fabien Pinckaers 6c87d513ed [IMP] Sales planner, better introduction 2015-09-13 11:10:03 +02:00
Odoo Translation Bot 7ed58916df [I18N] Update translation terms from Transifex 2015-09-13 01:55:09 +02:00
Fabien Pinckaers 2f7265eada [IMP] procurement_jit: validates sales order picking automatically 2015-09-12 22:30:01 +02:00
Fabien Pinckaers af176fa67f [FIX] purchase tests 2015-09-12 21:41:26 +02:00
Fabien Pinckaers 463e31f4d3 [FIX] Average price is based on product, not template 2015-09-12 20:18:51 +02:00
Fabien Pinckaers 1b7006687a [IMP] Small usability issue in product search view 2015-09-12 20:09:01 +02:00
Fabien Pinckaers 049b0f7f04 [IMP] Better product form view, stat button 2015-09-12 20:06:40 +02:00
Fabien Pinckaers c3ed1b9401 [IMP] Product Form View 2015-09-12 19:57:55 +02:00
Fabien Pinckaers 2ce5111f5a [FIX] small fix in stock, partial picking 2015-09-12 19:27:13 +02:00
Fabien Pinckaers 4a8d435a84 [FIX] stock buf, sale_expense test bug 2015-09-12 18:45:02 +02:00
Fabien Pinckaers 05e3a1a31d [FIX] shipment test was buggy 2015-09-12 17:49:14 +02:00
Fabien Pinckaers 250c50c3a8 [IMP] Speed improvement procurement_jit: no dual run(), not need to check() after run()
[IMP] procurement_jit: check availability of products directly
[IMP] assign moves to existing picking, even if reserved, but not if printed
[FIX] increase SO quantities: new procurements created
[FIX] typo in res.config.py
2015-09-12 16:18:29 +02:00