Commit Graph
94038 Commits
Author SHA1 Message Date
Jeremy Kersten 35ace3321d [REF] crm,sale,sales_team,website_crm_score: clean kanban view 2015-01-27 18:20:51 +01:00
Jeremy Kersten 0a78a3d633 [IMP] website_crm_score: use private db uuid to hash lead_id in cookies 2015-01-27 18:20:51 +01:00
Jeremy Kersten a9e387880d [IMP] base: add private db uuid. 2015-01-27 18:20:51 +01:00
Aaron Bohy c465605049 [FIX] Web: views.js and view_pivot.js: sidebar
The sidebar in view pivot was not hidden when switching from view pivot
to another view. Thus, the sidebar content of view pivot was still in a
dropdown of the sidebar of the new view (when this new view has a
sidebar as well).

Also changed the way of switching between views: we now first hide the
current view before creating and displaying the new one. This prevents
weird rendering in the header as well.
Moreover, the task of hidding/showing the view's buttons is left to the
view instead of the ViewManager.
2015-01-27 17:25:38 +01:00
Damien Bouvy d22b94a699 [FIX] planner: portal users had no read access to planner, which caused an error in the webclient 2015-01-27 15:58:22 +01:00
David Monjoie 6798cf93d2 [FIX] theme_bootswatch: fixed image size for theme list 2015-01-27 15:54:44 +01:00
Yannick Tivisse b2eab15594 [FIX] Web : add fontawesome in list handle widget 2015-01-27 15:06:22 +01:00
David Monjoie a24c59fefb [IMP] theme_bootswatch: improved appearance of theme bootswatch in Apps 2015-01-27 14:30:08 +01:00
Antoine Lorence c772b3db9a [FIX] doc: install.rst typo
closes #4937
2015-01-27 14:29:48 +01:00
Yannick Tivisse 93de877e36 [IMP] web : harmonize action buttons css + sass 2015-01-27 14:07:57 +01:00
Xavier Morel 426bcf427c [FIX] incorrect serialisation of log_handler
Saving log_handler to the config file is not currently special-cased,
the value is thus dumped as the repr() of the list, but not deserialized
with literal_eval. This means -s breaks log_handler and the
configuration file example is incorrect (it looks like a list).

Repeated -s further break the log_handler by interpreting the original
value as a string, putting it into a list, then reserialising that with
repr(), injecting a bunch of escaping backslash. The config file is soon
filled with backslashes and doubles in size with each new -s.

Furthermore for some reason the whole thing breaks --log-handler (and
aliases) entirely, once the wrong log_handler has been saved none of
them works anymore.

Fixes #4552
Closes #4157
2015-01-27 13:58:12 +01:00
Xavier Morel e9f0d79f85 [IMP] config: deduplicate loggers in log_handler
Saving multiple levels for the same logger should work with few issues,
but over time pathological (basket) cases (e.g. using ``-s`` all the
time) may build pointlessly huge lists in their config file.

Only keep the last level for each logger when saving to a config file.
2015-01-27 12:35:53 +01:00
Xavier Morel 8641826ca4 [IMP] config: make log_handler and --log-handler additive
For log_handler (list of logger configuration specs), having the
configuration file and the CLI configuration be exclusive (one
overwriting the other) is detrimental: it precludes keeping the
configuration file as a convenient baseline and only altering the subset
of loggers of interest at any given time. Combine specs from both
sources instead of overwriting one with the other.

* remove log_handler and its special case from the first options loop
* remove seeding of option with DEFAULT_LOG_HANDLER
* my_default is the baseline "configuration file" value, it's None if
  not provided which is not convenient. Use DEFAULT_LOG_HANDLER for it
  as baseline configuration file. DEFAULT_LOG_HANDLER isn't a list
  anymore, it's a CSV of logger specs (same as file-serialized)
* could actually use a DEFAULT_LOG_HANDLER of ``:`` (the default logger
  is root, the default level is info), but that might be a tad too
  cryptic
* things are weird between my_default and the file-sourced value,
  _parse_config is first run with my_defaults then with the file, but if
  there's no file it's re-run with already-parsed my_defaults. So when
  the file and the command-line values are of different type,
  _parse_config must be ready to handle both
2015-01-27 12:35:52 +01:00
Xavier Morel 9f4dea0891 [FIX] config: correctly serialize log_handler to CSV 2015-01-27 12:35:52 +01:00
Xavier Morel 23ad48a91b [FIX] config: a list is always equal to itself
add_option(action=append*) always modifies the ``default`` list
in-place. When using DEFAULT_LOG_HANDLER directly, that means
log_handler is always equal to DEFAULT_LOG_HANDLER since they're the
same list object. Thus the --log-handler command-line would never
overwrite the log_handler value from the configuration file, which is
unexpected

Fix that by copying DEFAULT_LOG_HANDLER before passing it as the
option's default value.
2015-01-27 12:35:51 +01:00
Damien Bouvy ec6fa5d3d9 [IMP] doc: documentation for qweb reports
closes #4876
2015-01-27 11:49:02 +01:00
Frédéric van der Essen afa4bb1e56 [MERGE] point_of_sale: a few fixes, see individual commits for details. 2015-01-27 11:47:10 +01:00
Frédéric van der Essen 5a3d9ce9ce [FIX] point_of_sale: prevent sneaky inputs:
User drops something on the keyboard > Inputs very large number unnoticed
> Bad things happen.

 - Limit input lengths to 12
 - Ring bell when exceeding that length
 - Warn if the amount makes dubious business sense
 - Block screen inputs when popup is active.
 - Asserts to prevent edition of the order after validation. Just
   in case.
2015-01-27 11:46:41 +01:00
Frédéric van der Essen 0db25ad1aa [FIX] pos_restaurant: splitbill would crash on reloaded orders due to not reloading orderline ids 2015-01-27 11:46:40 +01:00
Frédéric van der Essen fcd3f4e9a5 [FIX] point_of_sale: correctly set popup title. 2015-01-27 11:46:40 +01:00
Frédéric van der Essen dbc8912bc3 [FIX] point_of_sale: this/self mismatch after refactor. 2015-01-27 11:46:40 +01:00
Frédéric van der Essen f517b8a54d [FIX] point_of_sale: the open cashbox button was not working 2015-01-27 11:46:40 +01:00
Frédéric van der Essen 3aaf219c54 [IMP] point_of_sale: add the possibility to highlight control buttons 2015-01-27 11:46:40 +01:00
Frédéric van der Essen cfb1a7e804 [IMP] point_of_sale: the 'image' field is big and not used anymore ... 2015-01-27 11:46:39 +01:00
Frédéric van der Essen 68ac031a96 [FIX] point_of_sale: fix crash from badly refactored code. 2015-01-27 11:46:39 +01:00
Yenthe666 51ea2a3dde [FIX] point_of_sale: missing translation for invoice button
Fixes #4863
2015-01-27 11:44:44 +01:00
Denis Ledoux cc2a406b4f [FIX] product: uom category name 2015-01-27 11:37:30 +01:00
pga-odoo e31450f536 [IMP] website : change banner image of 'banner' snippet 2015-01-27 11:31:53 +01:00
Frédéric van der Essen 932257150b [FIX] point_of_sale: scale debug was not working with an unplugged scale 2015-01-27 10:58:58 +01:00
Denis Ledoux 0b18a5afec [FIX] purchase: purchases button on product variants
This rev. is related to 8381d47543

The action action_purchase_line_product_tree is used in both
product templates and product variants forms.
Therefore, the default_product_id: active_id in the context
cannot be used,
As sometimes it will active_id will be a product template,
sometimes it will be a product variant.

I believe two different window actions should be used,
instead of sharing a common one and making hacks.
Nevertheless, as we avoid taking risks in stable releases
This should be done in master.
2015-01-27 10:37:49 +01:00
Denis Ledoux 8381d47543 [FIX] purchase: purchases button on product templates
The purchases button on product templates open the purchase orders
that have at least one of the variants of the templates

Set in the context of the action button action_purchase_line_product_tree
'search_default_product_id': active_id, 'default_product_id': active_id
as no point, as default_product_id expects a variant id (product.product)
while active_id is a template id (product.template).

opw-626521
2015-01-27 10:21:25 +01:00
Julien Legros f6525db027 [FIX] web_tip: stacking context unimpaired by css transitions
this prevents a new stacking context to be created by a css transition
altering the opacity of a parent (e.g. fade class on kanban views)
2015-01-27 09:53:08 +01:00
Christophe Simonis 1df023c388 [FIX] *: add missing dependency to web_tip module 2015-01-26 20:31:53 +01:00
Christophe Simonis 8df69431f4 [FIX] base: add missing oldname attribute for ir_ui_view.arch_db field 2015-01-26 19:59:30 +01:00
Jeremy Kersten 0c1cbd57ca [IMP] website_crm_score: improve usability + misc
Review kanban to have only create by default without the search view
Rename model leads_dry_run into crm_leads_dry_run
Fix bug when toggle the running field on kanban was done before save
Remove useless link Assign now and Dry Run
Add dry run action_server in team.user more context
2015-01-26 18:57:44 +01:00
Denis Ledoux f9b1161ea7 [FIX] sales_team: ensure encoding using ustr for bar values
On Windows, when having special characters in the month name (For instance, 'décembre'),
the windows odoo server sent non utf8 encoded, which could not be decoded by json dumps

opw-622189
2015-01-26 18:55:22 +01:00
Denis Ledoux ae9341fa22 [FIX] hr_evaluation: force empty domain for evaluation tree
Domain on the action_hr_evaluation_interview_tree has been removed
during rev.fbbe8631c9edb2dacedcb99c1cd7c6bea6f42b33

We force an empty domain in order to remove the domain from the window action
for migrated database, coming from 7.0.
2015-01-26 17:21:30 +01:00
jpa-odoo de331d5aae [IMP] website_sale : onboarding. Allow user to print saleorder when confirm its command, display delivery method menu in sale and in warehouse (with access right stock.group_stock_manager and base.group_sale_manager) and improve quantity ui widget. 2015-01-26 17:06:00 +01:00
Harrison Hubbell 4caeda8669 [IMP] URL widget for list view columns
closes #4338
closes #3592
2015-01-26 16:58:10 +01:00
Olivier Dony 8e03852fd4 [I18N] Update translations from Launchpad 8.0 branches 2015-01-26 16:36:51 +01:00
Christophe Simonis e19ec6a8be [MERGE] forward port of branch 8.0 up to 4e62515 2015-01-26 15:46:24 +01:00
Géry Debongnie 1f3ab82f77 [FIX] focus the input searchbox when displaying searchview
usability issue: the searchview wasn't focused when created.
2015-01-26 15:43:58 +01:00
Xavier Morel 4e62515819 [IMP] doc: old/new API clarifications 2015-01-26 15:33:44 +01:00
Simon Lejeune 28c38320a9 [IMP] web: jquery-ui autocomplete widget styling
a little more integrated with the Odoo webclient
2015-01-26 15:00:57 +01:00
Simon Lejeune 92f539078f [FIX] web: correct append of the autocomplete widget in the viewmanager
Adapt rev 4a3e5df93a and rev e1cde4d038 to the current webclient
structure. Without this patch, autocomplete widget is completely broken
with multiple viewmanager.
2015-01-26 15:00:50 +01:00
Aaron Bohy 1db27f417d [FIX] Packaging: Windows: _prepare_build_dir
Catch shutil.Error thrown when addons have already been moved to
openerp/addons. Fixes the bug introduced by commit 91026647d4.
2015-01-26 14:24:44 +01:00
Christophe Simonis fe5f8c60f3 [FIX] account: remove duplicated menu definition 2015-01-26 12:18:49 +01:00
Xavier Morel 8fcf8cbac6 [ADD] scaffold: generate menus and views in default scaffold 2015-01-26 11:44:21 +01:00
Olivier Dony 6ebdcbd2cd [FIX] account: misleading labels/tooltips on new fiscal position fields 2015-01-26 11:27:01 +01:00
Christophe Matthieu 2726e4ffda [FIX] product: add a method invers on price to change list_price; Allow to change the price in the website_sale 2015-01-26 10:14:02 +01:00