日程
This commit is contained in:
@@ -100,6 +100,7 @@ def ks_read(self, records):
|
||||
sql = comodel._order_to_sql(None, wquery)
|
||||
order_by_clause = comodel.env.cr.mogrify(sql).decode()
|
||||
order_by = order_by_clause and (' ORDER BY %s ' % order_by_clause) or ''
|
||||
order_by = '' # 临时修复:跳过排序
|
||||
from_c, where_c, where_params = wquery.get_sql()
|
||||
query = """ SELECT {rel}.{id1}, {rel}.{id2} FROM {rel}, {from_c}
|
||||
WHERE {where_c} AND {rel}.{id1} IN %s AND {rel}.{id2} = {tbl}.id
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='department_id']" position="after">
|
||||
<!-- <field name="allowed_user_ids" invisible="1"/>-->
|
||||
<field name="allowed_user_ids" invisible="1"/>
|
||||
<field name="number"/>
|
||||
<field name="establishment_quotas"/>
|
||||
<field name="no_of_employee" string="在编人数"/>
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<!-- 继承并修改 maintenance.hr_equipment_action 的名称 -->
|
||||
<record id="maintenance.hr_equipment_action" model="ir.actions.act_window">
|
||||
<field name="name">固定资产</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="purchase_assets_equipment_root"
|
||||
name="固定资产"
|
||||
parent="stock.menu_stock_inventory_control"
|
||||
|
||||
Reference in New Issue
Block a user