Update direct_purchase.xml

This commit is contained in:
zainab2097 2024-09-23 12:02:24 +03:00 committed by GitHub
parent 5d84eeab69
commit c2dcdc826d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -14,19 +14,19 @@
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="attrs">{'readonly':[('state', '!=','draft')]}</attribute>
</xpath>
<xpath expr="//field[@name='is_analytic']" position="attributes">
<!-- <xpath expr="//field[@name='is_analytic']" position="attributes">
<attribute name="attrs">{'readonly':[('state', '!=','draft')]}</attribute>
</xpath>
</xpath> -->
<xpath expr="//field[@name='state']" position="replace">
<field name="state" widget="statusbar"
statusbar_visible="draft,dm,direct_manager,send_budget,wait_budget,budget_approve,general_supervisor,waiting"/>
</xpath>
<xpath expr="//field[@name='line_ids']//field[@name='sum_total']" position="attributes">
<!-- <xpath expr="//field[@name='line_ids']//field[@name='sum_total']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']//field[@name='sum_total']" position="after">
<field name="remain" attrs="{'column_invisible': [('parent.state', '!=', 'dm')]}"/>
</xpath>
</xpath> -->
<xpath expr="//button[@name='action_pc_confirm']" position="replace">
@ -119,10 +119,10 @@
</field>
</page>
</xpath>
<xpath expr="//page[@name='dep_use']" position="replace"/>
<xpath expr="//page[@name='technical_use']" position="replace"/>
<!-- <xpath expr="//page[@name='dep_use']" position="replace"/> -->
<!-- <xpath expr="//page[@name='technical_use']" position="replace"/> -->
<xpath expr="//page[@name='procurement_use']" position="replace"/>
<xpath expr="//page[@name='note']" position="replace"/>
<!-- <xpath expr="//page[@name='note']" position="replace"/> -->
</field>
</record>