Commit Graph
93560 Commits
Author SHA1 Message Date
Géry Debongnie 9fe39ee52a [FIX] web: correctly use function actions
actions can be defined by a function, but the action manager was changed
to try to instantiate it instead of simply executing it.
2015-02-02 10:55:06 +01:00
Mohammed Shekha 78d4822abb [FIX]History Back: Fixed the issue of history back, when calling action history_back it always redirect to home page, instead of previous view 2015-02-02 10:55:05 +01:00
Goffin Simon ac8d13a0a1 [IMP] To have the link to the pages in the current verison when you clicked on Diff with Master(Technical Feature). 2015-02-02 08:26:29 +01:00
Fabien Pinckaers a6e924051d [IMP] removing fancy group 2015-02-01 17:45:58 +01:00
jpa-odoo ef198302b7 [IMP] website_sale : in billing step form, display error message. Remove inline css and validate email. 2015-01-30 17:05:13 +01:00
Ronak Baxi 1903e89e0d [FIX] product: fixed traceback when creating so line:
wrong error used.
2015-01-30 16:47:46 +01:00
Géry Debongnie 907c62f0ca [FIX] web: correctly initialize view $containers
Problem could happen when clicking in views in dashboards.  The $container
was looked up depth first when the view is created, but in some case,
it is wrong (the correct order is actually breadth first).  A better way
to proceed is to get the reference when the view manager is created,
so we don't have the problem at all.
2015-01-30 16:24:51 +01:00
Géry Debongnie 7dfceb8f7e [FIX] web: unbreak tree view
The do_show and do_hide methods did not call their _super, which is bad.
Also, add an icon for the poor treeview.
2015-01-30 15:14:33 +01:00
Yannick Tivisse aad2a3cca9 [FIX] event: small view fixes:
- removed 'Edit' link on event vignette, as clicking on it redirect on the event
form view;
- fixed a glitch when hovering an event vignette
2015-01-30 14:40:21 +01:00
qsm-odoo f05e5922fb [FIX][IMP] web: radio button: small fix / imp, removing an unnecessary
check on the value in the code. Indeed this could prevent from putting the radio
button on a selection field holding a 0 integer as selection value.
2015-01-30 14:36:28 +01:00
Thibault Delavallée 34d99d9ba8 [IMP] sale: advance payment wizard view: method is now a radio, more user friendly. 2015-01-30 14:18:38 +01:00
Jeremy Kersten b2c0b4e9ed [IMP] qweb: Allow to propagate value to variables outside the loop.
If the variable was existing outside the context of the ``foreach``,
the value is copied at the end of the foreach into the global context.

Fix #4461 - Q74531 - Q71486 - Q71675
2015-01-30 14:09:02 +01:00
Damien Bouvy 89ccab6353 [IMP] website_sale : the link leading to the backend on the "My Orders" page should be hidden by default 2015-01-30 13:41:00 +01:00
cod-odoo 704de94490 [IMP] misc usability improvements
- account: placeholder on invoice form
- sale: do not display "Default Options" menu if no option is available (added
by submodules).
- product: remove unnecessary section for uom
- placeholders Terms and conditions more helpful for configuration
- unify some partner title to avoid getting duplicates
2015-01-29 18:42:37 +01:00
Jeremy Kersten aab5e84c12 [FIX] ir_ui_view: adapt search view to search in field arch_db.
Because arch is become a function field to allow the dev mode to read in file directly
2015-01-29 18:36:53 +01:00
Mahendra Barad d9fa702d5e [IMP] event and event_* modules: onboarding improvements
event:
- added tip
- default subscription/reminder/thanks templates for registrations are now using
the reply_to defined on the event
- fixed check of available seats: use seats_availability field, unlimited events
should never trigger the constraint
- added a sequence on scheduled emails on events
- config: wording improvements
- various improvements in event, registration, event_mail and event_report views

event_sale:
- removed override of seats_max: should not depend on available seats in
tickets. Indeed you may have less available places than the sum of seats for
each ticket type, for example if you have 0-10 VIP and 0-20 Standard tickets
for a 20-seats event.
- removed a duplicated view override
- added a seats_availability field on tickets, same meaning as on event.
- improved event form view: registration tab is now replaced by the tickets tab
when tickets are used

website_event:
- better management of sold-out event in the front-end, when doing registrations

website_event_sale:
- removed register link on the event kanban view. There is no need to to from
the back-end to the front-end from the kanban view. The published button on the
event form view already allows to go to the front-end view on the event
- better management of sold-out event in the front-end, when doing registrations
- fixed a template that was in customize and should not

website_event_track:
- wording improvements
- small improvements in the front-end of tracks
2015-01-29 17:39:41 +01:00
Christophe Simonis 5d53fbc833 [FIX] base: correct init of ir.config_parameter
At database creation, ir.config_parameter are created without groups as
groups are created later in data files.
Correct them via the post init hook.
2015-01-29 15:56:50 +01:00
Christophe Simonis 581d1a9ba7 [FIX] base: ir_config_parameter increase database.secret entropy
As this key is secret, does not leak half of it through `database.uuid`
key (which is public)
2015-01-29 15:49:43 +01:00
Abhishek Jaiswal 064ba9d9eb [ADD] an odoo rpc library to backend.rst
closes #2493
2015-01-29 15:43:31 +01:00
xmo-odoo b94e5f7a8d Merge pull request #4964 from odoo-dev/master-cli-remove-unused-options-xmo
Removes unused CLI options and the underlying code bits
2015-01-29 13:25:19 +01:00
Jeremy Kersten 1899dc9177 [FIX] crm,sale,website_crm_score: Refactoring kanban view sales_team
- change ico fa in kanban
  - fix bug on Opportunities Analytics Kanban
  - remove obsolete field in website_crm_score
2015-01-29 11:11:15 +01:00
Xavier Morel dff893e21e [REM] timezone_get RPC endpoint and underlying function 2015-01-29 11:05:56 +01:00
Jeremy Kersten 905dd42b87 [IMP] website: allow to delete page - fix 440 - forum Q47292 2015-01-29 11:03:31 +01:00
Yannick Tivisse 4079a21a89 [FIX] oe_tag display glitch 2015-01-29 10:13:50 +01:00
Xavier Morel c24b28c62a [REM] timezone option
Also removed most of the now-unused timezone functions.

Left get_server_timezone for now as it's visible over xmlrpc, but print
a deprecation warning if it's invoked.
2015-01-29 09:53:32 +01:00
Xavier Morel f8f95d9e71 [REM] XMLRPCS options: they're not used anymore 2015-01-29 09:53:31 +01:00
Antony Lesuisse 4c0dad0891 [FIX] sale_margin: dont display cost price in form view 2015-01-28 17:22:06 +01:00
Frédéric van der Essen 3c5f62413e [FIX] barcodes: typo in function name 2015-01-28 17:01:27 +01:00
Thibault Delavallée e2153194bd [FIX] website_slides: users seeing partially available slides
should see the website_url field (share url).
2015-01-28 16:21:24 +01:00
Thibault Delavallée c34ccd3b76 [IMP] website_slides: do not crash when installing the module offline.
Catch URLError when trying to fetch videos / google doc data.
2015-01-28 16:21:24 +01:00
Thibault Delavallée eb58572ac2 [IMP][REF] website_customer, website_event, website_livechat, website_sale_delivery,
website_slides: use the recently introduced website.published.mixin to
replace the website_published and website_url fields defined in various
remaining modules.

In slides, some templates have been updated because share_url was basically
website_url and has been replaced.
2015-01-28 16:21:24 +01:00
Jay Patel cc12e1df26 [FIX] mass_mailing: tree view of mass mailing contacts: unsubscription
field was present two times + set a readonly.
2015-01-28 16:16:12 +01:00
Aaron Bohy 9c504fcacd [FIX] Web: views.js: use initial_mode edit
Use the option initial_mode of views when openning a view in 'edit' mode
at first rendering. This fixes a bug with FieldOne2Many widgets whose buttons
were not displayed at first rendering in 'edit' mode (e.g. in the Sales
Team FormView).
2015-01-28 16:08:56 +01:00
Aaron Bohy 40b8fdec00 [FIX] Web: views.js: view switching: hide view.$container
Without hidding view.$container, when coming back to Kanban or List
views, it was no more possible to click anywhere on those views.
Fixes the bug introduced by rev c465605049
2015-01-28 13:08:43 +01:00
Antony Lesuisse 71f710c671 [FIX] bank_statement_import_ofx: optional dependency warning
Should be a short warning only.
2015-01-28 01:10:41 +01:00
Antony Lesuisse 75fa30fc54 [FIX] base: ir_config_parameter increase database.uuid.private entropy
Use uuid4 instead of uuid1 to get 128 bits of entropy.

Rename database.uuid.private to the more meaningful database.secret as it
explains the usage instead of the technical details to generate it. And we
might switch to a longer string with more entropy in the future.

This string can be used to sign cookies or token with
sign(src) -> (src, hash(src + secret))
check(msg) -> msg[1] == hash(msg[0] + secret)
2015-01-28 00:32:51 +01:00
Frédéric van der Essen 53dcf1b9de [IMP] point_of_sale: prevent key repeats in the payment screen. 2015-01-27 18:48:49 +01:00
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
Yannick Tivisse 93de877e36 [IMP] web : harmonize action buttons css + sass 2015-01-27 14:07:57 +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