On 04/12/16 21:02, Cédric Krier wrote:
On 2016-12-04 11:00, Oscar Alvarez wrote:
1. Use placeholders, instead of [ label: field ]
This is not practical because Tryton forms are not fill once form, they
are used also for consultation. So your proposal makes it not possible
to know what is the label of a field once it is filled.
I think that when the users dubts of field name (new users), they can be
push a button or option menu and this change view to classic mode
(current), so another way can be to stay pushed this button and the name
fields are revealed, he idea is to do usable Sao on Smartphones for
example for companies with sellers that has out of company to visit to
customer and to do sales on retail clients using a smartphone.
2. Internal tabs can be changed with (>) button instead try render all tabs
Yes, that would be good but I'm not aware of such feature in bootstrap.
3. Some function (numeric) fields can be render in one line [field name :
value] (see amount values on screen shot) this style can be to defined on
xml views
But there is no way to know that in advance.
Maybe you are talking about list view, this is done table.responsive.
The virtual could maybe tuned to go on the same line if there are enough
places.
Because I think is necessary add new tag to xml views (form, tree)
instead we will use (form, tree, app_form, app_tree), if app_* is
missing tryton render with defaults form and tree style.
4. That just one Module Tab is showed, not all modules Tabs open
I do not understand what you name "Module Tab".
Sorry, I am talking about top Tabs, You can view an example in attach
file, you can note just "*Sales*" form view is showed, instead all tabs
opened.
5. Toolbar just show main buttons (most used), other buttons is in "More..."
Why not but it should work for any size.
6. Lines records can be showed as Tag ( I am no sure if this right name)
this way the space is used to the maximum, adding two tooltip button (edit,
delete).
I think it is a wrong direction to add specific view because they will
not be tested. And the table.responsive is already in some way creating
such view but it could be improved by hiding empty values maybe.
For the button, it will probably be better to have the xxx2Many toolbar
being affix.
Ok is just crazy idea, but the current process the add new line it would
follow same, (+) button open a popup window with current fields to fill
(nothing change), I think that in this popup the fields are tested, but
when the test is ok, popup is closed and the fields and values are
render in tree view with tag 'style'.
If you are agree I can add this to discuss as a proposal, and help with
coding.
I do not see the point to create a discuss if we agree.
Indeed, it is only possible to discuss such change on a patch. So you
can create an issue with the patch per improvement.
https://bugs.tryton.org/issue6093
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton-dev/8f4b6b92-e200-c1f8-8db4-675e40322468%40gmail.com.