1.修复销售总监看不到销售订单2.优化销售审核向导3.优化销售
This commit is contained in:
@@ -6,20 +6,22 @@
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<field name="order_id" invisible="True"/>
|
||||
<group>
|
||||
<field name="check_state" required="True"/>
|
||||
<field name="check_audit" attrs="{'required': [('check_state', '=', 'back')]}"/>
|
||||
</group>
|
||||
<group>
|
||||
<!-- <field name="check_state" widget="radio" options="{'horizontal': true}" required="True" string=""/>-->
|
||||
<field name="check_audit" placeholder="原因.." nolabel="1" colspan="2"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button string="提交" name="submit" type="object" class="oe_highlight"/>
|
||||
<button string="取消" class="btn btn-secondary" special="cancel"/>
|
||||
<button string="通过" name="submit" type="object" class="oe_highlight"/>
|
||||
<button string="退回" name="back" type="object" class="btn btn-secondary" />
|
||||
<!-- <button string="提交" name="submit" type="object" class="oe_highlight"/>-->
|
||||
<!-- <button string="取消" class="btn btn-secondary" special="cancel"/>-->
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_sale_order_check_wizard" model="ir.actions.act_window">
|
||||
<field name="name">销售订单审核向导</field>
|
||||
<field name="name">审核</field>
|
||||
<field name="res_model">sale.order.check.wizard</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
|
||||
Reference in New Issue
Block a user