Commit Graph
99161 Commits
Author SHA1 Message Date
Joren Van Onder 60af9986ed [IMP] base_action_rule: don't show filters created from automated action
When creating an automated action the filters created for them showed up
in everyone's search box, which often times was confusing and not really
useful.
2015-07-29 19:59:57 +02:00
Josse Colpaert 6ef158b63b [IMP] stock: getting quants methods refactor
The methods for getting the quants took a lot of parameters,
as in most of the cases (only exception being the negative
quants reconcile) the parameters depended on the move/pack operation
being processed.  By just passing the move and ops the code gets simpler.

There should also only be one place where most of the domain for searching the quants
based on the move/ops is calculated.
2015-07-29 17:45:16 +02:00
Antony Lesuisse 4914fcb093 [IMP] web: about dialog for v9 2015-07-29 15:20:48 +02:00
Nicolas Lempereur 030b157895 [I18N] point_of_sale: update unknwon customer
related to opw-645977
2015-07-29 15:18:17 +02:00
qsm-odoo ca6064f155 [FIX] google_calendar: Refresh code
- Google sync was dropped with new design
- Use new API alert/confirm dialogs
- The user was able to click on the button... by clicking next to it
    (remove the button template, create it in JS)
- Fix some exceptions in routes
- Convert CSS to LESS
- Update google tutorial

(google_calendar module needs some improvments, especially to give
meaningful error messages to the user when the google server sends
back errors)
2015-07-29 15:00:07 +02:00
qsm-odoo 82e166bb6f [FIX] (web_)calendar: Refresh code + Filters
- Contact filters were dropped with the new design
- The 'me' filter was not working correctly (wrong colors)
- Remove some useless/unnecessary code
- Use new API confirm dialogs
- Convert CSS to LESS
2015-07-29 15:00:06 +02:00
Antony Lesuisse 78c54c3d98 [IMP] base_import file selection show only .csv files 2015-07-29 14:40:54 +02:00
Nicolas Lempereur b8f9ca4027 [IMP] website_sale: clear promo pricelist when cart empty
opw-646221
2015-07-29 14:38:23 +02:00
Aaron Bohy aa887ed02c [FIX] web,mail: widgets: replace $el.toggle() by do_toggle()
Since rev. 16eb36ff, do_show() and do_hide() on widgets toggle the classname
o_hidden on which the rule 'display: none' is defined, instead of calling
jQuery's show() and hide().

The method do_toggle(), sharing the same logic, has been introduced in rev.
74c5f772.

From now on, every widgets should call do_toggle() instead of $el.toggle() as
it will have undesiderable effects (they should call do_show() and do_hide()
instead of $el.show() and $el.hide() as well, this as been done in 16eb36ff).

This rev. replaces all calls to $el.toggle() by do_toggle(). It also adds
an optional argument to do_toggle() to force hidding or showing the widget.
2015-07-29 14:36:03 +02:00
Aaron Bohy 51952f3033 [REF] web: form view: WidgetButton: use Dialog.confirm 2015-07-29 14:36:03 +02:00
Aaron Bohy ecc4e512cd [IMP] web: action manager: restore action
When clicking on the breadcrumb to come back to a previously loaded action, the
restore() function is called. With this rev, this old action is shown only once
the Deferred returned by the optional on_reverse_breadcrumb callback is
resolved, i.e. when the action is ready, as it should be.
2015-07-29 14:36:03 +02:00
qsm-odoo 970b54d1eb [IMP] web: alert/confirm dialogs default titles
Add "Alert" and "Confirmation" as default titles for
alert and confirm dialogs
2015-07-29 14:30:28 +02:00
Olivier Dony bb2c051d25 [MERGE] Forward-port of latest bugfixes from saas-3 up to cc5860fbcf 2015-07-29 14:01:17 +02:00
Olivier Dony cc5860fbcf [MERGE] Forward port latest bugfixes from 7.0 up to b4de311 2015-07-29 13:54:41 +02:00
Olivier Dony b4de311b0c [FIX] auth_crypt: use system random number generator
Switch to system random as number generator instead of the
default PRNG, which is not recommended for generating
security-related values such as unique tokens.

(Complements parent commit)

Closes #7761
2015-07-29 13:49:11 +02:00
Jignesh Rathod 7d70000a12 [IMP] stock : Improve return mechanism.
When a location is marked as return location,
upon a return it can be put it in the possible return locations,
when it is in the same warehouse or under the same parent location.

The push rules are also applied on returned moves now, but
only when the push rule does not return the return to the original location

The lot in the return line is removed as it does not make sense
(better to change it on the pack operations)
and the views are cleaned

The returned picking is also automatically reserved.
2015-07-29 13:27:41 +02:00
Colin Newell 93f5f86afd [FIX] auth_signup, event_moodle, pad, share, survey: use system random number generator
Switch to system random as number generator instead of the
default PRNG, which is not recommended for generating
security-related values such as unique tokens.

Closes #7761
2015-07-29 12:40:31 +02:00
Christophe Simonis ecfaf213c4 [FIX] module loading: pre/post_init_hook execution
New installation was detected using the `installed_version` attribute
(`latest_version` in `ir_module_module` table), but this field wasn't
reset at module uninstallation (now fixed by cb29f9e) avoiding
execution of hooks.

Same logic was applied for migration scripts at 8ff7230.

Fixes #7708
2015-07-29 12:30:14 +02:00
Wolfgang Taferner 52edf789c2 [FIX] auth_crypt: safer import of base module
Commit 856bc6f2b1
may cause an issue if the auth_crypt module
is loaded before the base module. That should never
happen in normal circumstances, but forcing an
explicit import does not hurt and makes it safer.

Closes #6742
2015-07-29 12:19:55 +02:00
Commandant Custo a2fe8e18d6 [IMP] stock: moved quants from the stock move view
Display the moved quants in the stock move form view for more efficient WMS
maintenance and traceability.
Closes #6093
2015-07-29 12:16:43 +02:00
Christophe Simonis e8076c3854 [MERGE] forward port of branch saas-3 up to 5c7190c 2015-07-29 12:11:20 +02:00
Thibault Delavallée 924c54f24b [FIX] mail: followers computation: working on newId records
can lead to issues when trying to compute followers.

This case appears in the onchange mechanism. Indeed it may
manipulate temporary and/or new records, not having an
ID. In this case the computation of followers is not
necessary anymore.
2015-07-29 12:07:50 +02:00
Thibault Delavallée ed3d6aff81 [IMP] hr_recruitment: have a default stage for newly created jobs
as there is no more column sharing anymore. This ease the use of the
application by having a lightweight data to customize.
2015-07-29 12:07:50 +02:00
Christophe Simonis 5c7190c93f [MERGE] forward port of branch 7.0 up to cb29f9e 2015-07-29 12:07:34 +02:00
Christophe Simonis cb29f9efac [FIX] base: reset latest_version field when uninstalling a module. 2015-07-29 12:00:15 +02:00
pvy 4442efb652 [IMP] account: changed the displayed field of the taxes in the invoice reports, it is now the description, i.e. 'label on invoices'. Based on a request from fp. 2015-07-29 11:11:55 +02:00
qsm-odoo face447e4d [FIX] web: div.o_checkbox compatibility
Add rules so that the enterprise version div.o_checkbox does not
break community layout
2015-07-29 10:45:04 +02:00
Aaron Bohy e56bdb731d [IMP] base_import: ControlPanelMixin and new design compatibility
- Use the ControlPanelMixin in the Import view;
- Adapt the stylesheet to fit with both community and enterprise editions;
- Convert the css into less, use mixins and variables defined in web;
- Return the reload() deferred in the on_reverse_breadcrumb callback so that the
  previous action waits to be properly reloaded before being shown.
2015-07-29 08:41:03 +02:00
Aaron Bohy a21fe28b8d [FIX] base_import: action button 'Import'
Adapt the template according to the refactoring of the parent commit.
2015-07-29 08:41:03 +02:00
Aaron Bohy 71e9de4ecc [REF] web(_tests): list view (editable): action buttons
Refactoring of the DOM structure and classnames of the list view's action
buttons (in the control panel), for new design compatibility. This refactoring
was required as some addons shared between both editions (e.g. base_import)
define their own buttons and extend the ListView.buttons template to insert
them.
2015-07-29 08:41:02 +02:00
Simon Lejeune 4e24b81616 [REF] web: action manager: wrap the client actions in a div
this way we can style the div and use the trick to have the child of a
flex-item filling 100% of its parent (flex item in relative position and
flex child in an absolute position). It is needed to have a consistent
look betwenn Odoo enterprise and Odoo community.
2015-07-29 08:39:38 +02:00
Antony Lesuisse c8b1f0d678 [IMP] hr_recruitment search attachments
code moved from the deprecated hr_recruitment_document
2015-07-29 00:53:23 +02:00
Antony Lesuisse 0ef5453e48 [REM] hr_applicant_document
The feature will be readded in hr_recruitment
2015-07-29 00:20:53 +02:00
Antony Lesuisse 05146e438b [FIX] document: remove some unnecessary deps 2015-07-29 00:20:28 +02:00
Joren Van Onder 86f2cbb967 [IMP] sale: filter multi-company taxes on a sales order
Showing only the taxes from the same company. Beware that multi-company as
adminstrator is not supported, anyawy this mitigate some of the possible errors
if it happens anyway.
2015-07-28 23:10:22 +02:00
Joren Van Onder f23b9b31b5 [IMP] ir_model: don't allow manual creation of invalid one2many fields
Only allow it when there is an inverse many2one. This is meant to try
and prevent users from messing up their database.
2015-07-28 23:06:27 +02:00
Joren Van Onder b7cec33182 [IMP] product: don't allow modification of UOM's from odd views
This is to avoid users accidentally breaking inventory values.
2015-07-28 23:05:08 +02:00
Jusab Sida fd65b57b08 [IMP] sales_team: fix the help message
of the active field. Try not to tell the opposite of the actual
behavior.
2015-07-28 18:30:28 +02:00
Jusab Sida 034f540664 [IMP] crm, base_calendar: help messages on the
active field were misleading. Actually, not really misleading, just
wrong. Because the behavior is the opposite of what the help tells.
2015-07-28 18:27:39 +02:00
Olivier Dony d52e996816 [FIX] analytic: prevent deleting contract template when in use 2015-07-28 17:46:16 +02:00
Nicolas Lempereur 96f0c28b3d [FIX] point_of_sale: unknown customer translation
The string "Unknown Customer" in the point_of_sale could not be
translated.

opw-645977
2015-07-28 17:17:04 +02:00
Nicolas Lempereur c1cb489ebe [FIX] purchase: uom for PO without product_id
When a purchase order line doesn't have a product_id, the current onchange
method would return False as uom_id since b675ff1, thus introducing an issue
since uom_id is required and the field may be not shown (so not changeable).

closes #7770
opw-646088
2015-07-28 16:50:52 +02:00
qsm-odoo 9bd09bc233 [FIX] board: use of event variable
The global event variable is magically ok on some browsers
but not on firefox

(Thanks aab)
2015-07-28 16:35:32 +02:00
Christophe Simonis ea5ee871d4 [FIX] mail: adapt test introduced during previous forward-port 2015-07-28 15:08:54 +02:00
Damien Bouvy 8998b03b82 [FIX] website_quote: missing deps in website_quotation.js 2015-07-28 14:33:47 +02:00
Christophe Simonis 908cb7cde3 [FIX] web: use correct non-undefined variable.
Bug introduced during previous forward-port
2015-07-28 14:30:05 +02:00
Martin Trigaux 5792e4063b [FIX] calendar: bad field label 2015-07-28 14:07:48 +02:00
Christophe Simonis 97073e2a73 [MERGE] forward port of branch saas-6 up to 51040b6 2015-07-28 13:56:16 +02:00
Thibault Delavallée f1099a6598 [REM] resource, project: removed faces library and its related
code in resource and project.

This library was once used to perfom resource allocation: scheduling
tasks and things like that. However this feature cannot be accessed
through the interface since a long time.

The feature is now removed from the project code. The library has been
removed. Some code in resource used only in the project code
has also been removed, as well as a test linked to this code.
2015-07-28 12:36:00 +02:00
Martin Trigaux 3114c5cf09 [I18N] product: remove term
lst_price was exported as found in tag
<attribute name="name">lst_price</attribute>
so lst_price was exported

Remove from pot to avoid confusion
2015-07-28 12:30:11 +02:00