Commit Graph
95091 Commits
Author SHA1 Message Date
pvy c1cd63fc4e [IMP] account_reports: move footnotes and line folding methods to the common context object, moved the totals to the bottom linesm and some small fixes 2015-05-15 17:33:44 +02:00
Aaron Bohy a8a9fe821a [FIX] Web: ControlPanel: hide ControlPanel on breadcrumb click
if the inner widget doesn't use it.
2015-05-15 16:08:18 +02:00
Darshan Kalola 50a043d979 [IMP] website, website_sale, crm, web_planner : add planner for website modules
This commit impact crm, website, website_sale and web_planner modules because it
- add planner for website and website_sale
- improve planner notebook by setting texterea and input size to 100% and using col-md-* class
- split js code into common part (used in backend and frontend) and backend part (only for backend)
- adapt some tour, since every page will have the planner modal in its DOM, the tour selectors msut be more accurate
- introduce some style fixes and adaptations
- ...
2015-05-15 10:59:42 +02:00
Aaron Bohy 49fe33a3ba [FIX] Web: ActionManager: on_reverse_breadcrumb 2015-05-15 09:43:06 +02:00
Aaron Bohy e7ff2d2c6a [IMP] Web: ListView: semantics classes for row decoration
based on bootstrap contextual colors, and bold/italic fonts.

Backward compatibility is ensured as the ListView is monkey-patched
to keep interpreting colors and fonts attributes.
2015-05-15 09:17:18 +02:00
Géry Debongnie a9522cb46f [IMP] web: introduces event bubbling in widgets
This commit adds event bubbling in the event dispatcher mixin (which
inherits from parentedmixins).  To do this, it introduces a new small
class 'OdooEvent', which register the target and if the event is stopped.

Also, widgets have a new 'custom_events' dictionary to easily register
callbacks like the event dictionary.
2015-05-15 09:16:34 +02:00
Géry Debongnie 97a5eee0ac [IMP] web: performance improvement with bus
The bus class listen for many mouse/keyboard events and trigger them on
itself.  This was intended for the main bus, but not for custom buses.

This commit should improve the performance when using many buses.
2015-05-15 09:16:34 +02:00
Géry Debongnie cd55968212 [FIX] web: better warning message when missing dependencies 2015-05-15 09:16:34 +02:00
Géry Debongnie ebd68aeb83 [FIX] web: prevent useless rpc in one2many
In some cases (for example, some popup dialogs with a form view), the
one2many field is destroyed but the async code still tries to append
a view manager to itself.  The result is that the start method of the
view manager is run, resulting in at least an useless fieldviewget.
2015-05-15 09:16:34 +02:00
Fabien Pinckaers 4585ed840b [IMP] view MO title 2015-05-13 10:44:59 -07:00
Yannick Tivisse 8483ca57ca [IMP] Several UX improvements from saas6 version
calendar : When you create an event (for example from a job interview), you should be set as an attendee.
crm : Lead/opportunity : Bounce should be read only
hr_recruitment : 'Create Employee' should be an action button, instead of a link in the form
website_sale : SO report typo invoicing address instead of invoice address
website : remove Unpublish on the dropdown
website_sale : if accessory product is a non published product : do not show it on the ecommerce (avoid 403 error)
2015-05-13 17:10:19 +02:00
qsm-odoo 101092b5aa [IMP] web_kanban: KanbanProgressBar changes to use ProgressBar widget 2015-05-13 17:05:24 +02:00
qsm-odoo 84208a6ba1 [IMP] web: New generic progressbar widget + FieldProgressBar adaptation 2015-05-13 17:04:20 +02:00
qsm-odoo af32bf13fc [FIX] web, web_kanban: Move Kanban ProgressBar out of web 2015-05-13 17:03:54 +02:00
Binjal Desai b0540916ac [FIX] hr_*: domain on removed fields 2015-05-13 14:16:00 +02:00
Yannick Tivisse 9f727dbf2a [IMP] website_sale : rename labels + remove group_no_one on Products menu 2015-05-13 14:05:36 +02:00
Jérome Maes 556e6503f9 [IMP] base: add accesskeys to switch between records in form views 2015-05-13 13:36:01 +02:00
Martin Geubelle 0aa5bb7ada [ADD] hr, hr_*: new dashboard view for hr departments 2015-05-12 18:00:08 +02:00
Martin Geubelle edd7e9b687 [ADD] sales_team, sale, crm: new dashboard view for sales_team 2015-05-12 18:00:08 +02:00
Martin Geubelle aa29ba226a [ADD] project, project_issue, rating_project, project_timesheet: new dashboard view for project 2015-05-12 18:00:01 +02:00
Martin Geubelle 46074acf51 [ADD] stock, stock_account, report_intrastat: new dashboard view for warehouse 2015-05-12 17:16:19 +02:00
Martin Geubelle cc6a6076de [ADD] web : progress bar widget + method for human readable big numbers 2015-05-12 17:16:19 +02:00
Martin Geubelle a86d6a7df9 [ADD] web_kanban: default behaviour and style for kanban dashboards 2015-05-12 17:16:19 +02:00
Martin Geubelle 338b05f08b [ADD] mrp: kanban mobile version for mrp.production 2015-05-12 17:16:19 +02:00
Martin Geubelle 17fa076bad [ADD] sale: kanban mobile version for sale.order 2015-05-12 17:16:19 +02:00
Martin Geubelle 60f4c40ca5 [ADD] purchase: kanban mobile version for purchase.order 2015-05-12 17:16:18 +02:00
Martin Geubelle c619cc365b [ADD] account_voucher: kanban mobile version for account.voucher 2015-05-12 17:16:18 +02:00
Martin Geubelle 7f737f0936 [ADD] account: kanban mobile version for account.invoice 2015-05-12 17:16:18 +02:00
Pariket Trivedi 2b61f6f6b3 [IMP] project,project_issue,portal_project: code cleaning
- remove unnecessary copy() method from project/res_partner.py
- remove old methods on project.project
- progress is not used anymore on project.project
- use clickable statusbar for project states
- remove _resolve_project_id_from_context
- rename project.category becomes project.tag to be more explicit
- remove old methods on tasks
- issues: remove option fetchmail_issue
2015-05-12 16:31:43 +02:00
pna-odoo f67adc1165 [FIX]stock_account: pass id instead of record set
this closes #224
2015-05-12 16:25:36 +02:00
Cedric Snauwaert 2dd7c07fd8 [FIX] web,account: add support to have possibility to click on a link of type action in help message and fix account dashboard help message 2015-05-12 16:09:16 +02:00
Cedric Snauwaert 7c8a46be2c [FIX] account_invoice: raise exception in case we try to create an account invoice with no account_id (probably no CoA installed) 2015-05-12 15:19:24 +02:00
Christophe Matthieu 6e1f2463a6 Merge branch 'master-fix-x2many-double-blur-chm' 2015-05-11 15:52:46 +02:00
Cedric Snauwaert fe48e2ae28 [FIX] account: some cosmetics change 2015-05-11 11:29:19 +02:00
Christophe Matthieu 2726edc6b0 [FIX] web: x2many: can't save document if a lines is removed with an ohter activate line. The widget try to blur a second time when the user click on save (need to check if allready blurred) 2015-05-11 11:20:24 +02:00
Jeremy Kersten 6e31be7b5e [FIX] website_sale_delivery: fix xpath broken because of previous commit 55725bd 2015-05-09 21:38:06 +02:00
Jeremy Kersten 7d6532d1eb [FIX] website_sale: uniformization of total
Display the same total style everywhere...
2015-05-08 19:30:54 +02:00
Jeremy Kersten e71b7c4a39 [FIX] website_sale: don't cache partner and check that order not confirmed
Cache for browse record are not optimal, should be id.
Don't need to cache the partner according to chs, browse will cached itself.

Be sure to restore previous sale order only if the sale order are always
in draft mode, else checkout will force redirect to /shop anyway.
2015-05-08 19:30:18 +02:00
Jeremy Kersten a50479db77 [FIX] mail_template: use old api for context_timestamp
New api take (record, timestamp) as param.
So cr was the record, and uid the timestamp...
2015-05-08 19:28:27 +02:00
Yannick Tivisse 21cbaa08f1 [IMP] web_linkedin : remove the related description 2015-05-08 17:31:30 +02:00
Jeremy Kersten f8e56af2e2 [FIX] website_sale: allow to customize the ppg
The controller /shop[/category][/page] can now take a parameter in get ppg (eg: ?ppg=10)
to change the number of product displayed by page.

Should be a parameter in a table key/value like ir_config_parameter but nobody want to do it.
2015-05-08 14:56:01 +02:00
Jeremy Kersten 20d5878aa2 [IMP] website_sale: remember last sale order
At next login, user will find again the last cart if always existing.
2015-05-08 12:17:46 +02:00
Jeremy Kersten bcb395616b [ADD] website_sale: manage pricelist by website.
Allow to specify which pricelist can be used on wich website for which countries
2015-05-08 12:14:38 +02:00
Jeremy Kersten 5612b5ff0a [IMP] base: get a list of fields used in adress format 2015-05-08 12:14:38 +02:00
Jeremy Kersten 223f65ec29 [FIX] website_sale: display real price unit.
Now we display the price_reduce from the sale order line
and not the unit price.

If a discount has been added to the quotation, the user had
in the front end not the real price for the line, but the
discounted total which one is the total of the sale order.

So we need to display the final unit price (= reduce_price) to
be consistent with the total price displayed.
2015-05-08 12:14:38 +02:00
Jeremy Kersten a6b1141cb7 [FIX] website_sale: don't call get_unit_price at checkout
Pricelist has been already applied in the sale order, so not needed.

If we refresh with the price computed by pricelist (gup), in
the case of a discount setted on the quotation order, the gup price
will override the real price from sale order by a price.
2015-05-08 12:14:38 +02:00
Jeremy Kersten c2de4e255c [REF] py linter 2015-05-08 12:14:38 +02:00
Gaurav Panchal 3fe06da634 [IMP] project,project_issue,sale: display the current contract state on some various objects like issues or tasks.
Implements a dynamic widget for selection fields to display this state with color codes.
2015-05-08 11:20:54 +02:00
Thibault Delavallée 42316d5aa5 [FIX] mail: added api decorator on a method called in new and old API. 2015-05-08 10:41:26 +02:00
Jérome Maes d4a7ce9dd1 [FIX] crm : typo in planner 2015-05-07 15:05:21 +02:00