Commit Graph
1111 Commits
Author SHA1 Message Date
qsm-odoo 49b938a0f1 [FIX] web_kanban: useless breaking-layout o_kanban_mobile
Remove fixed width for kanban records in .o_kanban_mobile (in grouped
view the records overflowed their columns).

Note: this class seems useless and wrongly used by templates. This
should be removed in master (remove the class from templates and
include its less rules in all kanban records for specific classes).
2016-01-06 11:03:55 +01:00
Odoo Translation Bot 4dac9f2b73 [I18N] Update translation terms from Transifex 2016-01-03 01:24:45 +01:00
Géry Debongnie b6f0e485e7 [FIX] web_kanban: disable jquery sortable in mobile mode
It does not work anyway.  But the real issue is that it intercepts touch
events and prevents horizontal scrolling in grouped kanban views.
2015-12-23 16:14:00 +01:00
Nicolas Lempereur 3e2369fbb6 [FIX] web_kanban: reference for loaded more records
If the kanban view is loading grouped records, the dataset of the view
itself is the concatenation of the dataset of each groups.

But when using "Load  more..." on a column, these records are not added
in the view dataset which is thus desynchronised. This could lead to an
error down the road.

closes #10156
opw-659016
2015-12-22 14:49:59 +01:00
Odoo Translation Bot 9e211ef127 [I18N] Update translation terms from Transifex 2015-12-20 01:26:02 +01:00
Odoo Translation Bot 5254e31a46 [I18N] Update translation terms from Transifex 2015-12-13 01:27:04 +01:00
Raphael Collet e4e807d4b3 [FIX] web_kanban: in menu of kanban column, always display "Archive Records"
Do not hide the menu entries when the column is empty, because the column is
not re-rendered after you quick-create records in it.
2015-12-11 10:03:02 +01:00
Nicolas Lempereur 4432639fb5 [IMP] web_kanban: refresh kanban view after fail
If a kanban tile is moved to another column, in case of failure it
would stay in that column giving the false idea that it somewhat worked.

This commit refresh the kanban view in such an instance.

closes #9837

first half of opw-657863
2015-12-10 17:03:13 +01:00
Géry Debongnie 60c1b51c44 [FIX] web_kanban: correctly sets dataset ids in grouped view
When the kanban view is grouped, it did not correctly set the ids of the
dataset.  Consequently, the user could find himself in some weird
situation, such as having X issues visible in a kanban view (typically
grouped with a custom filter), then clicking on it, and arriving in a
form view with Y issues, and X != Y.
2015-12-07 16:11:55 +01:00
Odoo Translation Bot 8e7417ffa6 [I18N] Update translation terms from Transifex 2015-12-06 01:28:23 +01:00
Martin Geubelle 53dab127e1 [FIX] web_kanban: position of kanban_no_content
In sales dashboard, when there is no sales team, the no content message is displayed next to the dashboard.
The class o_kanban_ungrouped adds style to avoid this problem.

Credits to @qsm-odoo.
2015-12-01 16:37:25 +01:00
Odoo Translation Bot 3180f80bf9 [I18N] Update translation terms from Transifex 2015-11-22 01:30:36 +01:00
Odoo Translation Bot 3d7ae73305 [I18N] Update translation terms from Transifex 2015-11-15 01:35:06 +01:00
Goffin Simon 1db1446c60 [FIX] web_kanban: creation of a "team.user"
When creating a team.user record, there was an error to generate an url
for the image because the attribute "__last_update" didn't exist
on the record.

opw:653725
2015-11-12 10:39:04 +01:00
Odoo Translation Bot 14799a9006 [I18N] Update translation terms from Transifex 2015-11-08 01:32:40 +01:00
Odoo Translation Bot e3287faee6 [I18N] Update translation terms from Transifex 2015-11-01 01:32:05 +01:00
Nicolas Lempereur 665bc1c935 [FIX] web{,_kanban}: too much and too little shortcuts
When several accesskey with the same key,  are defined on elements, the
last one (even if not displayed) is the one which will be actioned and
the key sequence is pressed.

This caused an issue since the "Pager" template is shared between all
elements, even the x2many relational widgets.

Also there was shortcut for Create/Save/Discard on the form view, but
those shortcuts should also be enabled in the list and kanban view.

closes #9267
opw-652888
2015-10-28 15:32:31 +01:00
Odoo Translation Bot 265b789e38 [I18N] Update translation terms from Transifex 2015-10-25 01:34:24 +02:00
Odoo Translation Bot 7592d85b1f [I18N] Update translation terms from Transifex 2015-10-18 01:35:07 +02:00
Odoo Translation Bot ff9b997736 [I18N] Update translation terms from Transifex 2015-10-11 01:33:54 +02:00
qsm-odoo 9c85163190 [FIX] base,web_kanban: flex in app kanban was useless
+ was breaking old safari versions
+ modify oe_kanban_avatar_smallbox for compatibility
2015-10-07 12:40:43 +02:00
Goffin Simon 595a33a2b1 [FIX] web_kanban: display all items of a selection field
If field.type === "selection" then group.attributes.value is an Array
and s[0] could never be equal to group.attributes.value
2015-10-06 13:39:08 +02:00
qsm-odoo 51a923a734 [FIX] web_kanban: colorpicker shouldn't break
The colorpicker in a kanban record was sometimes breaking over 2 lines.
2015-09-29 15:14:39 +02:00
Yannick Tivisse 0d1240684a [FIX] web: kanbanSelection widget : labels are not mandatory
Coming from hr_recruitment, where kanban_state is displayed, but without the customization
Also, remove lingering options in view, and missing fields for project_issue
2015-09-22 17:08:55 +02:00
Yannick Tivisse e5181b05f7 [FIX] web_kanban, web: KanbanSelection widget refactoring
- Change the widget behavior from asynchronous to asynchronous, by adding 3 related fields
  on the project.task model, which are the custom labels defined for the stage
- Instead of making a rpc call, we are taking directly the labels on the parent for the kanban view,
  or on the view datarecord for the form view
- There are now 2 templates for the kanban view or the form view
- The development has been backported in the community version
- The options attribute has been removed on the project_view.xml file for the kanban_state field
2015-09-22 11:33:58 +02:00
qsm-odoo 0f95a92e15 [FIX] web_tip,web_kanban: tip color and position
The hightlight element when a tip is clicked was placed over a white
rectangle. This induced a problem if the element was itself white.

Also the dimension of the helper were badly computed.

+ remove specific tip style in kanban view
2015-09-18 16:45:21 +02:00
Martin Geubelle 5345961073 [FIX] web_kanban: instant tooltip on tags, without delay 2015-09-16 14:07:30 +02:00
Martin Geubelle 80299af6d5 [IMP] web_kanban: if no tag, the corresponding section should be hidden 2015-09-16 13:42:38 +02:00
qsm-odoo 14162c5e6e [FIX] web_kanban: ctx eval in record creation from m2m_kanban
Contexts in formview which contained parent.[some_field] were not able
to be evaluated when creating a record from a many2many_kanban because
the parent view was not given to the creation dialog.
2015-09-15 17:05:21 +02:00
vbh-odoo 0975c71689 [FIX] web : FormView wrong records count in pager
Using breadcrumb to open and close form view, the page counter increase each time with the number of record in the list view or kanban view
2015-09-15 16:40:46 +02:00
qsm-odoo 73922828f4 [FIX] web_kanban: record padding on mobile
There are several problems with kanban record :
* Ideally they should not use row/col as the grid gutter is too big for
small cards like them
* Some template use rows but kanban record padding is not the same as
a container (and so rows are overflowing the record)

This does not induces a serious problem in desktop version because there
is enough space aroung the records to not have a visual problem.
However, this induces an horizontal scrollbar in mobile as the records
are full width in this mode.

Some solutions were possible :
* Change all record padding to be equal to the bootstrap container
padding -> not chosen because this would impact every record and the
gutter will be too big and make many records ugly
* Overriden inside-record rows and cols to have a smaller gutter
-> not chosen because this will add ugly rules alongside impacting
every record

The chosen solution is to increase the horizontal record padding in
mobile only. This will even align the record content with control
panel content.
2015-09-15 09:36:10 +02:00
Martin Trigaux 2e8996ce0b [I18N] add missing translations
Fetching was stopped at sale, because reasons
2015-09-15 09:30:37 +02:00
Martin Trigaux 1348fee217 [I18N] all: regenerate .pot and pull .po
How great is it to get Odoo (almost) 9.0 (almost) translated?

Clean .tx/config file
Regenerate .pot files
Fetch current translations from Transifex (10% completion)
2015-09-14 17:53:37 +02:00
Xavier Morel 2a43803d8a [FIX] web_kanban: column & item quick-creation
In all browsers the ``focus/blur`` event is triggered before a button's
``click`` (it's actually triggered by mousedown).

Column and record quick-creates discard the form on blur but still want
to create the column/record when the "Add" button is clicked. This was
implementing with a fixed debounce/time-delay on the blur handler,
however the exact delay between blur and click dispatch are browser,
environment and possibly load-dependent (on my system unloaded, 10ms is
sufficient in webkit but firefox requires at least 50, a user keeping
the mouse button pressed for some time would increase that delay).

The proper way to handle this is to suppress the ``focus/blur`` event
from the relevant button entirely by preventing the browser's default
mousedown handler.

Do that for both column and record quick-creates, and remove
time-delay/debounces.

Also remove manual proxying of ``click`` in kanban column (move to
``events`` object)
2015-09-14 10:20:30 +02:00
Martin Geubelle 786e5bc775 [ADD] web_kanban: monetary widget 2015-09-10 18:07:51 +02:00
Martin Trigaux 613286b0e8 [I18N] export application terms of all modules
Now that most refactoring has been merged

It is better to have red a great work of another culture in translation than never to have read it at all.
― Henry Gratton Doyle
2015-09-07 17:21:58 +02:00
Mohammed Shekha ebf6a16c0f [FIX] web_kanban: Fixed a css class used to highlight missed deadlines in kanban views. 2015-09-07 15:29:16 +02:00
Martin Geubelle 6374db3ada [IMP] web_kanban: align elements in kanban footer 2015-09-07 14:20:36 +02:00
Martin Geubelle e53fb68cf1 [FIX] web_kanban: kanban attachment image on firefox
Negative margin-top with float element is misinterpreted on firefox
2015-09-07 14:20:36 +02:00
Martin Geubelle 371276dff4 [IMP] web, web_kanban: many2manytags color selection 2015-09-07 14:20:36 +02:00
Martin Geubelle c5a36b522f [IMP] project: displayed image on task not computed anymore
We don't want the dispayed image to be set to the last attached image but we want to be able to choose it.
2015-09-07 14:19:12 +02:00
Fabien Pinckaers f5f3d2bcd4 [IMP] CSS of column options 2015-09-05 19:58:56 +02:00
Fabien Pinckaers 0d06e20235 [IMP] no border on kanban avatar 2015-09-05 19:38:29 +02:00
Fabien Pinckaers 51c2e3b693 [IMP] Small css improvements 2015-09-05 19:27:42 +02:00
qsm-odoo fcf9c0c4c9 [FIX] web_kanban: many2many_kanban, crash on record creation
When creating a record from a many2many_kanban, it did not contain all
the data the kanban view asked to render itself. This fix extends the
record data with undefined value for unknown (but asked) data.
2015-09-04 09:15:56 +02:00
Yannick Tivisse a10ae1bfb8 [FIX] web_kanban: crash on project kanban loading if a task in in undefined stage
kanban_normal cannot be loaded on the js side because 'Undefined' is not a stage,
which was leading to an rpc call with null id
2015-09-03 13:11:19 +02:00
Raphael Collet 8af431d906 [ADD] web, web_kanban: add archive/unarchive
In kanban views, add archive/unarchive for all records in a column.
In list views, add archive/unarchive in sidebar.
2015-09-02 14:29:42 +02:00
qsm-odoo bc11426ab0 [IMP/FIX] *: Kanban dashboard LESS layout
* Fix alignement/layout problems since the reintroduction of
bootstrap grid gutter.
* Fix mobile layout problems.
* Fix various Firefox problems.
* Use odoo variables and simplify LESS.
* Use input type="text" instead of input without type.
2015-09-02 13:22:13 +02:00
Fabien Pinckaers 2ec5afde1c [IMP] Better CRM Dashboard
[IMP] Tax name may not be uniq (sale and purchase tax with simple 21%
name)
[IMP] CSS of kanban
2015-08-30 18:53:55 +02:00
qsm-odoo e06a0f82c8 [FIX] web_kanban, project: flex layout for project dashboard
In chrome, there was a gap at the end of the dashboard because of :
* after/before element in kanban record
* flex items were able to reduce their size
2015-08-28 17:07:45 +02:00