Commit Graph
106440 Commits
Author SHA1 Message Date
Simon Lejeune baf3508222 [REF] packaging: windows: start the correct service name during test 2016-09-30 12:05:49 +02:00
Simon Lejeune bc04ec942f [REF] packaging: debian: remove unneeded recommanded dependencies
They were there since long time but to allow some obscure test
to run. As they don't bring anything let's just drop them.
2016-09-30 12:05:48 +02:00
Simon Lejeune ac9b10003d [REF] packaging: document dependencies 2016-09-30 12:05:48 +02:00
Simon Lejeune eb501081c5 [REF] packaging: openerp has been renamed odoo
Fix the various place when the rename of the git root directory
broke the packaging script. Also, we can now name the library
"odoo".
2016-09-30 12:05:48 +02:00
Simon Lejeune ba5258adb8 [REF] packaging: web_analytics was removed in saas-12 2016-09-30 12:05:48 +02:00
Nicolas Martinelli b2b85fbb19 [FIX] website_sale: recompute fiscal position
Following commit 6006c0d72a, the shipping address can be changed after
the call to `checkout_form_save`. This is the case, for example, when
the user has the same shipping and invoicing address. We need to make
sure to recompute the fiscal position after the shipping address is
finally set.

opw-689281
2016-09-30 11:52:51 +02:00
Denis Vermylen (dve) 88977a90e7 [FIX] portal: fix new api forward-port migration
_create_user was called on self instead of wizard_user
(for wizard_user in self...)

This created an ensure_one crash later on if more than one record in self.
2016-09-30 11:49:10 +02:00
Nicolas Martinelli 204c75939a [FIX] sale: always set fiscal position
An issue occurs in the following case:
- create a SO
- set a partner for which a fiscal position applies
- change the partner to a partner for which no fiscal position applies

The fiscal position set in a first place remains. This is a major issue
when interacting with the eCommerce, since a fiscal position can be
first set based on the GeoIP results, then might need to be removed when
the user fills in his address details.

opw-689281
2016-09-30 11:48:16 +02:00
qdp-odoo 32fc5e49d4 [FIX] account_check_printing: fix flow of check.
Use case fixed: create a draft supplier payment, tick it in list view and launch the action 'print check'. Then, on the pop up window cancel the operation => the state was badly set to 'sent'.
2016-09-29 21:47:27 +02:00
qdp-odoo 45e2a6abdc [FIX] account: fix bad domain on payment form view, preventing to validate a manual supplier payment 2016-09-29 21:40:57 +02:00
tdi-odoo 4b11e3e3a5 [FIX] account: set fiscal position on customer invoice in the same fashion as on SO 2016-09-29 16:55:46 +02:00
Martin Trigaux 3189438450 [I18N] export 10.0 source terms 2016-09-29 16:51:51 +02:00
Martin Trigaux b5b0d36b31 [ADD] point_of_sale: differentiate the sale and invoice journal
Using the same journal for both the session closing and the invoices generated
from the PoS may be problematic as they share the same sequence.
In such case, gaps may appears in the invoice numbers (as the sequence is on the
account.move, closing a session increases the sequence by one).

cf opw-685660
Fixes 13242
2016-09-29 15:50:12 +02:00
qdp-odoo ffd009a504 [FIX] stock_acount: copy analytic tags on COGS entry 2016-09-29 15:47:34 +02:00
Jeremy Kersten 9674d9ce84 [FIX] website_sale: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 0c54eb198b [FIX] website_event: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 69321569e0 [IMP] website_blog: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 1d6ac7960d [FIX] website_event: fix website event demo 2016-09-29 15:46:27 +02:00
Jeremy Kersten 7d5751f2c5 [IMP] product: remove default property for sale_pricelist 2016-09-29 15:46:27 +02:00
Jeremy Kersten 7b70844aa3 [FIX] website_sale: display currency in cart 2016-09-29 15:46:27 +02:00
Jeremy Kersten ee43282319 [FIX] website_blog: don't save the hostname in bg cover image
Url saved need to be relative.
Before this commit, demo was relative, but once updated, urls was absolute.
2016-09-29 15:46:27 +02:00
Denis Ledoux dd28f9bf78 [FIX] website_quote: /quote/ redirects to login when not signed in and no token
When the route /quote/<order_id>
is accessed without token
e.g. through the `View sales Order` button
in the headers of thread mails

the user must be redirected to the login screen
if he's not signed in.

In other words, you must be signed in to access
this route without token.

opw-687931
2016-09-29 15:06:38 +02:00
Thibault Delavallée d4ee7971e2 [IMP] project: improve user tour
* Correct some language
 * Add extra steps to redirect to the implementation planner after having
  finished the tour
2016-09-29 14:25:50 +02:00
qsm-odoo 0d65c27dea [FIX] mass_mailing: restore py import (prevented to unsubscribe)
For unknown reasons, commit bbca135410 removed the
import of "_" which was still used. This commit restores it, allowing
users to unsubscribe from mailing without crash.
2016-09-29 13:17:03 +02:00
Laurent Smet 14fd32bd08 [FIX] web: prevent a crash when clicking on 'more' button (#13630)
A traceback is generated when a user clicks on 'more' button in settings to see the pending invitations.
That was caused by a missing check condition.

backport of saas-13 commit 2fdf631

opw-689597
2016-09-29 10:53:01 +02:00
qdp-odoo 6c79cfa83d [FIX] stock_account: copy the analytic account on the COGS entry in anglo-saxon mode.
OPW Ticket: 688456
2016-09-29 10:19:45 +02:00
Martin Trigaux 349e873f8e [IMP] l10n_be: fully translate CoA in Dutch 2016-09-29 08:27:47 +02:00
Haresh Shyara 2eef1aa839 [IMP] mrp: timer duration improvement 2016-09-28 20:54:14 +02:00
Josse Colpaert 178e7439ea [FIX] maintenance: certain data in xml should be demo data
We need only one maintenance team in data and no categories, so
we moved those to the demo data xml.
2016-09-28 18:19:02 +02:00
Jeremy Kersten 671c63424f [FIX] ir_config_parameter: fix muter - openerp renamed into odoo 2016-09-28 17:45:42 +02:00
Jeremy Kersten 5c11310070 [FIX] website_forum: make moderation queue async
Don't refresh page between each validation.
2016-09-28 17:26:13 +02:00
Jeremy Kersten 59c60e38e7 [FIX] manifest: use comma separated in author.
Apps store uses comma separated convention to sort by author the apps.
Closes #13574
2016-09-28 17:26:13 +02:00
Martin Geubelle ef839bda43 [IMP] base: improve menu form view
Hide fields if not in debug mode.
2016-09-28 16:55:51 +02:00
Raphael Collet 6b1f6aa1d4 [IMP] models: in model/field reflection, trigger recomputations
This enables extensions of `ir.model` and `ir.model.fields` with computed
fields without messing up too much with reflection itself.
2016-09-28 16:55:51 +02:00
Raphael Collet 1c4661ee9d [IMP] models: refactor _add_manual_fields to make it extendable 2016-09-28 16:55:51 +02:00
Raphael Collet 979c553918 [IMP] base: refactor _instanciate on ir.model to make it extendable 2016-09-28 16:55:51 +02:00
Aaron Bohy 8e8c98bf0c [ADD] web: handle custom_events perform(_model)_rpc
If those events are catched by the web_client, it means that no other widget
did handle them, so simply call their on_fail callback.
2016-09-28 16:55:51 +02:00
Martin Geubelle df724840f7 [IMP] base: add model to name_get on ir.model.fields
The `model` has been added to the name_get.
2016-09-28 16:55:51 +02:00
Géry Debongnie f1affd7ae3 [IMP] base: improve ir.model.data form view
A non stored, computed field 'reference' is added to ir.model.data, this
allows the form view to display a nice link to open the record in form
view.
2016-09-28 16:55:51 +02:00
Martin Geubelle 5515eb688c [ADD] base: get web_icon when loading menus
The combinaison of `web_icon` and `web_icon_data` is used
to determine if the menu has:
 * no icon
 * an image icon: [module, path]
 * a built icon: [icon_class, icon_color, background_color]
2016-09-28 16:55:51 +02:00
Adrien Dieudonne cfd002e304 [IMP] base: Extract check_group function into a method
Possibility to inherit _check_group to have groups in attribute
In studio, we need to avoid to delete groups node
2016-09-28 16:55:51 +02:00
Martin Geubelle e11f23b701 [REF] web_editor, website: move ACE editor to web_editor
The commit e59a7fe3ff has moved
the ACE editor from website to web_editor. As some code on ir_ui_view
was used for this widget, the code has also been moved to web_editor.
2016-09-28 16:55:51 +02:00
Martin Geubelle fa4fa90890 [REF] report: allow client action to be extended
The iframe is set in a template inside a div.
The widget is returned so it can be extended.
2016-09-28 16:55:51 +02:00
Géry Debongnie b782a5d922 [FIX] web_editor: fix various issues with ace editor
Ace editor is not very smart, it does a rpc for each inherited view, it
tries to load workers before deciding not to use them, and it does way
too much work in general.  This commits tries to make sure that only the
necessary rpcs are done (lazily).

fix some issues with ace editor: lazy loading

fix various issues with ace editor
2016-09-28 16:55:51 +02:00
Martin Geubelle 75f321a1ba [ADD] web: get active view from action 2016-09-28 16:55:51 +02:00
Martin Geubelle b2aafa23b8 [IMP] web: trigger event when changing action
This comportement was added in the DebugManager to trigger an event.
As this event could be useful in other situations (e.g. studio), we trigger
the event directly in the ActionManager. By default, the WebClient does not
use this event but an handler is added to be overwritten.

This handler is overwritten in some widgets (DebugManager, Studio, etc.) that
requires the Systray items instances so we add them in ´widgets´ in the Systray Menu.

As the module dashboard uses multiple ActionManager, the event bubbling should be
avoided in this case.
2016-09-28 16:55:51 +02:00
Aaron Bohy 037b7063e2 [REF] web: process views arch in data manager
A refactoring of the js views is in progress.  Those new views are used
in web studio, and this change is part of it. This is necessary to allow
web studio to correctly fetch data from the server when rendering a
preview.  Note: this is necessary for special widgets (status bar,
selection, radio widgets)
2016-09-28 16:55:51 +02:00
Martin Geubelle 5b94799c82 [IMP] web: allow to clear the cache in data manager
Sometimes, we need better control on the cache.  For example, if a view or an
action has been changed, it is required to make sure that the correct
data is loaded.
2016-09-28 16:55:51 +02:00
Aaron Bohy b1b80d8d6d [IMP] web: add option replace_last_action to do_action in action_manager 2016-09-28 16:55:51 +02:00
Martin Geubelle aa19d9edd0 [REF] web: update nestedSortable lib 1.3.5 -> 2.1a 2016-09-28 16:55:51 +02:00