允许用户手动设置要在树视图中显示的项目数量
odoo9-addon-web-listview-custom-element-number的Python项目详细描述
……图片::https://img.shields.io/badge/badge/license-agpl--3-blue.svg
:目标:http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt:license:agpl-3
=>
========================================================================================================手动设置要在树中显示的项目数量视图
=============================================
这个模块扩展了web模块的功能,改进了列表视图,并允许用户显示自定义的项目数量。
(默认情况下,在odoo中,用户只能在
树状视图中显示80/200/500/2000元素
用法
=
要使用此模块,您需要:
。转到列表视图。单击项目“1-80 of xxx”
。提示您要查看的自定义项目数量,然后按return
sample for res.partner model,限制为3:
。图片::/web目录查看自定义元素编号/static/src/img/screnshot_partner_limit.png
…图片::https://odoo community.org/website/image/ir.attachment/5784懔f2813bd/datas
:alt:try me on runbot
:target:https://runbot.odoo community.org/runbot/162/9.0
技术信息
========
*用数据列表选项替换选定元素。它允许
设置自定义值或选择选项。(与之前相同的选项:
80/200/500/2000/unlimited);
*警告:“datalist”是HTML5标记;如果您的浏览器不符合HTML5
,则不会显示这些选项(但
用户可以手动选择一个值);
请参阅浏览器支持:http://www.w3schools.com/tags/tag廑datalist.asp
*根据浏览器的不同,数据列表输入的显示可能会有所不同。
*Firefox显示:
。图片:./web-listview-custom-element-number/static/src/img/screnshot-firefox.png
*chrome显示:
…图片:。/web_listview_custom_element_number/static/src/img/screnshot_chrome.png
>已知问题/路线图
=======
*按Esc键时,用户可以友好地返回到以前的
状态(在编辑数量之前)。
Bug Tracker
==
Bug在“github问题”上跟踪
<;https://github.com/oca/web/issues>;`。如果出现问题,请
检查是否已报告您的问题。如果你先发现它,
通过提供详细且受欢迎的反馈来帮助我们粉碎它。
credits
=(http://www.akretion.com)维护者图片::https://odoo community.org/logo.png
:alt:odoo community association
:target:https://odoo community.org
此模块由oca维护。
oca或odoo community association是一个非盈利组织,其
任务是支持odoo功能的协同开发并促进其广泛使用。
若要对此模块作出贡献,请访问https://odoo community.org。
:目标:http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt:license:agpl-3
=>
========================================================================================================手动设置要在树中显示的项目数量视图
=============================================
这个模块扩展了web模块的功能,改进了列表视图,并允许用户显示自定义的项目数量。
(默认情况下,在odoo中,用户只能在
树状视图中显示80/200/500/2000元素
用法
=
要使用此模块,您需要:
。转到列表视图。单击项目“1-80 of xxx”
。提示您要查看的自定义项目数量,然后按return
sample for res.partner model,限制为3:
。图片::/web目录查看自定义元素编号/static/src/img/screnshot_partner_limit.png
…图片::https://odoo community.org/website/image/ir.attachment/5784懔f2813bd/datas
:alt:try me on runbot
:target:https://runbot.odoo community.org/runbot/162/9.0
技术信息
========
*用数据列表选项替换选定元素。它允许
设置自定义值或选择选项。(与之前相同的选项:
80/200/500/2000/unlimited);
*警告:“datalist”是HTML5标记;如果您的浏览器不符合HTML5
,则不会显示这些选项(但
用户可以手动选择一个值);
请参阅浏览器支持:http://www.w3schools.com/tags/tag廑datalist.asp
*根据浏览器的不同,数据列表输入的显示可能会有所不同。
*Firefox显示:
。图片:./web-listview-custom-element-number/static/src/img/screnshot-firefox.png
*chrome显示:
…图片:。/web_listview_custom_element_number/static/src/img/screnshot_chrome.png
>已知问题/路线图
=======
*按Esc键时,用户可以友好地返回到以前的
状态(在编辑数量之前)。
Bug Tracker
==
Bug在“github问题”上跟踪
<;https://github.com/oca/web/issues>;`。如果出现问题,请
检查是否已报告您的问题。如果你先发现它,
通过提供详细且受欢迎的反馈来帮助我们粉碎它。
credits
=(http://www.akretion.com)维护者图片::https://odoo community.org/logo.png
:alt:odoo community association
:target:https://odoo community.org
此模块由oca维护。
oca或odoo community association是一个非盈利组织,其
任务是支持odoo功能的协同开发并促进其广泛使用。
若要对此模块作出贡献,请访问https://odoo community.org。