| Age | Commit message (Collapse) | Author |
|
Purpose
=======
Task 2195254 introduced many wonderful widgets to pimp the list view.
This task aims at implemeting them into the Services apps: project,
timesheets, helpdesk, expense, planning and field service.
Remaining days: https://drive.google.com/file/d/1o4Wn47445GxLqBkw-ifH9MgtFU_437xz/view
Avatar: https://drive.google.com/file/d/1yDwJWP0MZCUKZbqCa8hte1ziVTYRMMtb/view
Activities: https://drive.google.com/file/d/1e_rXH50eZq4zY2HOzw7_pfgiD39SoRIl/view
Field-specific decorations: https://drive.google.com/file/d/1WFnqJ-jkyDFftRHxWW4bgomoWrOpOuaY/view
More control on buttons
Specifications
==============
You will find below a list of which widgets to apply to which fields by
model. Some changes have to be done in the form/kanban views as well.
1) project.task
remaining days -> date_deadline -> list + kanban + form views
hide this field if is_closed is true
avatar -> user_id -> list view
activities -> 'next activity' field to be added -> list view
field-specific decorations
https://nimb.ws/ACewrY remove the current orange/red decorations we have
if planned_hours > 0, display the remaining_hours field in (list view):
red if progress is > 100%
orange if progress is between 80% and 100%
green if progress is <80%
display unit_amount in red if > 24:00 -> form view
2) rating.rating
display the rating in:
green = satisfied
orange = not_satisfied
red = highly_dissatisfied
list + form views
3) project.project
avatar -> user_id -> list + form views
4) account.analytic.line
avatar -> employee_id -> list view
display unit_amount in red if > 24:00 -> list + kanban + form view
https://nimb.ws/eIWa7E merge the timer and duration fields together
5) helpdesk.ticket
avatar
user_id -> list view
employee_id under timesheet_ids -> form view
remaining hours -> sla_deadline
activities -> 'next activity' field to be added -> list view
field specific decoration -> display unit_amount in red if > 24:00 -> form view
6) hr.expense
avatar -> employee_id -> list view
activities -> 'next activity' field to be added -> list view
badge -> state -> list view
draft = blue
reported = green
approved = green
done = green
refused = red
combine the unit_amount and the currency_id fields (see the total_amount field for reference) -> list view (idem for the expense_line_ids one2many on hr.expense.sheet)
display the total_amount in bold
move 'company_id' before 'amount'
7) hr.expense.sheet
avatar
employee_id -> list view
user_id -> list view
activities -> 'next activity' field to be added -> list view
badge -> state -> list view
draft = blue
submit = green
approve = green
post = green
done = green
cancel = red
display the total_amount in bold
move 'company_id' before 'amount'
8) planning.slot
avatar -> employee_id -> list view
decoration
display the allocated_percentage field in red if > 100% -> list + form view
display the forecast_hours field in red if > planned hours and if planned_hours > 0 -> form view
display the effective_hours field in red if > forecast_hours and if forecast_hours > 0 -> form view
9) misc
calendar.event -> avatar -> user_id -> form view
mail.activity.type -> combine the delay_count and delay_unit fields together -> list view
note.note -> 'next activity' field to be added -> list view
crm.lead.mining.request
combine the lead_number and lead_type fields together -> list view
display the name in bold
badge -> state
draft = blue
done = green
error = red
planning.slot.template -> display the duration field in red if it is = 0
closes odoo/odoo#51271
Taskid: 2248351
Related: odoo/enterprise#10605
Related: odoo/upgrade#1252
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
|
|
closes odoo/odoo#46749
Taskid: 2205057
Related: odoo/enterprise#9119
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
|
|
Previously, we could only set cover image on the kanban view of project
task. This commit makes the feature generic so now cover image can be
added to any kanban view.
Technical notes:
- field used to display the cover image has to be set as 'data-field'
attribute on the kanban dropdown's menu related to cover image
- developer will have to take care while designing kanban views with
cover image ability in such a way that it does not break the design
Task 32108
closes odoo/odoo#31731
Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
|
|
The system completely changed. I also had to adapt classes to new
screen breakpoints.
hidden/hide -> d-none
show -> d-block
hidden-xs -> d-none d-md-(block/inline/...)
hidden-sm -> d-md-none d-lg-(block/inline/...)
hidden-md -> d-lg-none d-xl-(block/inline/...)
hidden-lg -> d-xl-none
visible-xs-* -> d-* d-md-none
visible-sm-* -> d-none d-md-* d-lg-none
visible-md-* -> d-none d-lg-* d-xl-none
visible-lg-* -> d-none d-xl-*
hidden-print -> d-print-none
visible-print-* -> d-none d-print-*
...
and all possible combination of those had to be handled too.
|
|
Purpose
=======
If there is no picture attached to a task, the user doesn't understand how to add a cover image.
Sepecification
==============
- "Select" button to select image => Display only if we have images
- "Remove Cover Image" => Display only if image already set
- "Upload and Set" => Always visible , highlight button if no images. Image uploaded via dailog box should automatically set on task kanban and add to the "Attachments" in task.
|
|
This commit improves readability in kanban views.
The default view in mobile is kanban and many of them
needed to be improved.
task-33438
closes 17853
|
|
* web_editor, web_planner, website
The 'Dialog' class is used in both backend and frontend. Also, lots of
actions can be done without the use of any modal. It thus makes sense
to lazy load its related xml only when a first modal is opened.
This change also allows to get rid of the "base_common.xml" file as the
dialog template is the only remaining one in there and, in the future
website update, it will allow to not load any static XML file on website
page loadings.
|
|
from project task kanban view (PR #17165)
|
|
The RPC system was not completely satisfactory, we decided to prepare
the future and do it properly. This commit introduces the new rpc
system, which replace the previous new one. We now simply have a
method, this._rpc, which takes a dictionary of parameters. The idea is
that depending on the parameters, it is able to add correct default
value when necessary.
For situations where we don't have the this._rpc method, we can use the
rpc.query method, which takes the same arguments, but directly calls
ajax.rpc instead of triggering up some events.
|
|
The remaining widgets were KanbanRecord and the two quick create
widgets. Now, all kanban files have been converted and refactored.
|
|
The _rpc method is now the preferred method to do a rpc, so we need to
update all calls.
|
|
Use this.rpc instead of Model object, with web.ajax if necessary.
nb: EventDispatcherMixin include now the custom_events managment instead
of widget
|
|
* hr_attendance, hr_gamification, hr_recruitment, mass_mailing,
project, sales_team
Before this commit, the kanban column did not know about the model
name which make customization impossible without a getParent. Kanban
records were supposed to know about this thanks to the options
parameter but this was broken. Now the model name is automatically
initialized from the given state.
Adapt all extensions which relied on this.
|
|
This commit introduce a full redesign of all JS views. We started
basically from scratch. The goal was to unify all the various views
under a common framework, to make them testable, to make then usable in
different conditions (in studio, or in the frontend), and to make our
lives easier.
Some important points are:
- we introduced new coding guidelines (camelCase, 80 chars width, ...)
- we have a brand new testing framework (still QUnit based)
- kanban view moved to the web addon
- calendar view (formerly web_calender) moved to web as well
- the tree view was removed
- all new code should be documented
We hope that this code is the start of a new era for the Odoo web
client, we want to have a high quality codebase, well documented, well
tested, well designed.
Work done by the framework team: mostly aab, ged, chm, dmo, qsm
|
|
* Fix the grid display of images (use the column property)
* Use Dialog class
* Allow removing a cover image
* Add image selection before choosing it (or double click to choose)
+ add less mixins in web for columns property
|
|
We don't want the dispayed image to be set to the last attached image but we want to be able to choose it.
|
|
The kanban view has been split in various files, and js modules
using them need to correctly import the classes.
|
|
picker, add domains on reports and style improvements
|
|
dashboard view for project
|
|
The module system needs to know the dependencies of a given module
before executing the function. This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.
But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
|
|
|
|
bzr revid: csn@openerp.com-20140417090515-l1ku2kdc0lzadjxg
|
|
bzr revid: vme@tinyerp.com-20130201121713-ux3pegin1ywd5gj9
|
|
bzr revid: fme@openerp.com-20121128115417-sgpf3hr4rgwglrbm
|
|
bzr revid: fme@openerp.com-20121105084838-gwc7xb19f7131vbi
|
|
'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121031103148-r1slfpl2kcnajjd3
|
|
bzr revid: rgaopenerp-20121031054741-kh2y1e36avh906v3
|
|
bzr revid: hip@tinyerp.com-20121031050905-8r3u9a45kc6dqyue
|
|
the tag name is getting disappeared
bzr revid: hip@tinyerp.com-20121029061539-x1mbipeco6sth82d
|
|
bzr revid: nicolas.vanhoren@openerp.com-20120824182743-1d9cii7kigc7exer
|
|
branc: ~openerp-dev/openerp-web/trunk-m2m_tags_namespacing_imp-abo): adapt views accordingly
also skip the little toggle() trick - it's kinda overkill
bzr revid: abo@openerp.com-20120712131002-lj085r2moshptbts
|
|
CSS agnostic
instead of finding DOM elements by element type *and* CSS class (with long and tending to change names), these functions will only use element type (here <img> and <span>) and data attribute (which is used in the function anyway)
bzr revid: abo@openerp.com-20120712123840-m8kuupefggmgl5v4
|
|
bzr revid: abo@openerp.com-20120712113326-a0p30oij7g67gmtj
|
|
KanbanRecord#on_card_clicked
bzr revid: fme@openerp.com-20120524160752-rl0by5v4g1n22syl
|
|
bzr revid: fme@openerp.com-20120523085514-ku1h80z88xbcg3cs
|
|
bzr revid: fme@openerp.com-20120522155815-y23ps3bs32i9vqlu
|
|
bzr revid: fme@openerp.com-20120521130914-c2iijoifs763am83
|
|
bzr revid: rco@openerp.com-20120509065522-16ouzxqiwqgjdcyd
|
|
bzr revid: apa@tinyerp.com-20120508105521-1mqur1isvkw0j5n7
|
|
bzr revid: apa@tinyerp.com-20120508104705-zri4xvoc4k1d4e9q
|
|
bzr revid: apa@tinyerp.com-20120508104607-w3q12gphejt3zauw
|
|
while merging.
bzr revid: apa@tinyerp.com-20120508103253-fwq86q4be3v6hsxw
|
|
per required
bzr revid: sgo@tinyerp.com-20120508092143-ah3siaudwp7jixc8
|
|
'project.act_project_project_2_project_task_all' instead (easier to configure and maintain) and remove default value for project_id.
bzr revid: apa@tinyerp.com-20120507125708-7gcxl8915us0xoio
|
|
improve code and
bzr revid: sgo@tinyerp.com-20120507072049-u00lsqra9x34nf73
|
|
bzr revid: apa@tinyerp.com-20120427063152-9qp4k3mz6dhgz7ho
|
|
bzr revid: apa@tinyerp.com-20120427062725-0lpfbxs0xkdmm7zf
|
|
bzr revid: apa@tinyerp.com-20120426172529-7xeaex0nulxeul1l
|
|
bzr revid: apa@tinyerp.com-20120412055921-eo0dumz60cimx62c
|
|
bzr revid: apa@tinyerp.com-20120412054631-xs2nk19n3w858qpn
|