当前位置:网站首页>ODOO开发教程之透视表
ODOO开发教程之透视表
2022-07-29 04:57:00 【中亿丰数字科技集团有限公司】
ODOO开发教程之透视表
1.透视表:
属性
disable_linking:设置为True删除表格单元格到列表视图的链接。
display_quantity:设置为true默认显示“数量”列。
default_order:默认排序字段
type,指示是将字段用作分组条件还是用作组内的汇总值,
如果type=‘row’,按指定字段分组,每个分组都有自己的行。
如果type=‘col’,根据指定字段,按列进行分组
如果type=‘measure ’,需要总计的字段
<record id="epidemic_record_pivot_view" model="ir.ui.view">
<field name="name">疫情记录透视图</field>
<field name="model">epidemic.record</field>
<field name="arch" type="xml">
<pivot disable_linking="True" display_quantity="True" default_order="desc" >
<field name="is_ill" type="row"/>
<field name="begin_isolation_date" type="row" interval="day"/>
样式:
边栏推荐
- Connection database time zone setting
- EF Core: 一对一,多对多的配置
- Quick start JDBC
- Mapper agent development
- IOS interview preparation - Online
- Live in small private enterprises
- Go面向并发的内存模型
- Conv1d of torch
- Climbing the pit of traffic flow prediction (III): using pytorch to realize LSTM to predict traffic flow
- Leetcode 763. partition labels divide alphabetic intervals (medium)
猜你喜欢

Torch.nn.crossentropyloss() details

Data Lake: spark, a distributed open source processing engine

ios面试准备 - 网络篇

MySQL定时调用预置函数完成数据更新

让你的正则表达式可读性提高一百倍

SGuard64.exe ACE-Guard Client EXE:造成磁盘经常读写,游戏卡顿,及解决方案

SparkSql批量插入或更新,保存数据到Mysql中

Install the gym corresponding to mujoco in the spinning up tutorial, and the error mjpro150 is reported

使用近场探头和电流探头进行EMI干扰排查

Flutter 手势监听和画板实现
随机推荐
使用更灵活、更方便的罗氏线圈
如何让照片中的人物笑起来?HMS Core视频编辑服务一键微笑功能,让人物笑容更自然
Mujoco and mujoco_ Install libxcursor.so 1:NO such dictionary
2021-10-11
How to install Office2010 installation package? How to install Office2010 installation package on computer
Office提示系统配置无法运行怎么办?
Various configurations when pulsar starts the client (client, producer, consumer)
Connection database time zone setting
使用近场探头和电流探头进行EMI干扰排查
JS daily question (10)
【微信小程序--解决display:flex最后一行对齐问题。(不连续排列会分到两边)】
Conv2d of torch
新产品上市最全推广方案
Build auto.js script development environment
Correct user dragging method
Opencv environment construction
Reveal installation configuration debugging
The difference between the two ways of thread implementation - simple summary
[untitled]
WPS如何进行快速截屏?WPS快速截屏的方法