-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] *: remove unnecessary/unwanted stuff from kanban archs
*fleet,gamification,hr_holidays,lunch,mrp,purchase,stock Kanban archs are being converted to a simpler API [1]. This is a long process that requires rewritting/reviewing all kanban archs. This commit is a followup of those simplications and aims at fixing some leftovers that have been forgotten/that we didn't see on review: - do not use t-esc to display a field, use the <field> tag instead (t-esc still works for now, but by convention and for the sake of consistency with the form view, we encourage using <field>) - t-att-alt on many2one fields with image widget is useless, the correct alt attribute is already generated by the widget. In particular: - some t-esc were done on datetime fields to not display the time, we can use a classic <field> with show_time option set to false - t-att-alt and t-att-title removed from <field widget="image"/> as the first one is useless and the second doesn't work (and the name was displayed next to the image anyway). [1] task~3992107 closes odoo#180398 Signed-off-by: Simon Genin (ges) <[email protected]>
- Loading branch information
Showing
7 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters