mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update user api
This commit is contained in:
19
app_base_chinese/views/account_move_views.xml
Normal file
19
app_base_chinese/views/account_move_views.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- VIEWS -->
|
||||
|
||||
<record id="app_view_move_form" model="ir.ui.view">
|
||||
<field name="name">app.account.move.form</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- 过帐操作-->
|
||||
<xpath expr="//header//button[@name='action_post']" position="attributes">
|
||||
<attribute name="string">Post Entry</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
24
app_base_chinese/views/sale_order_views.xml
Normal file
24
app_base_chinese/views/sale_order_views.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- 改收款相关操作显示 -->
|
||||
<record id="app_view_order_form" model="ir.ui.view">
|
||||
<field name="name">app.sale.order.form</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- 全款操作-->
|
||||
<xpath expr="//header//button[@name='%(sale.action_view_sale_advance_payment_inv)d'][1]" position="attributes">
|
||||
<attribute name="string">Make Collections</attribute>
|
||||
</xpath>
|
||||
<!-- 尾款操作-->
|
||||
<xpath expr="//header//button[@name='%(sale.action_view_sale_advance_payment_inv)d'][1]" position="attributes">
|
||||
<attribute name="string">Make Collections</attribute>
|
||||
</xpath>
|
||||
<!-- 查看收据列表-->
|
||||
<xpath expr="//div[hasclass('oe_button_box')]//field[@name='invoice_count']" position="attributes">
|
||||
<attribute name="string">Invoices/FaPiao</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user