Merge pull request #1256 from expsa/fix_issue_preprod_po
Fix issue preprod po
This commit is contained in:
commit
769cccfce8
|
|
@ -14,9 +14,9 @@
|
|||
<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','waiting'))]}</attribute>
|
||||
</xpath>
|
||||
</xpath> -->
|
||||
<xpath expr="//field[@name='state']" position="replace">
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,dm,str_pro_department,direct_manager,send_budget,wait_budget,budget_approve,general_supervisor,waiting"/>
|
||||
</xpath>
|
||||
|
|
@ -34,12 +34,12 @@
|
|||
<button name="technical_department" type="object" groups="odex25_taqeem_purchase.strategy_project_group" string="Technical Department" states="str_pro_department" class="oe_highlight"/>
|
||||
<button name="%(purchase_requisition_custom.purchase_request_cancel_wizard_action)d" string="Refuse" type="action" groups="odex25_taqeem_purchase.strategy_project_group" states="str_pro_department"/>
|
||||
</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="//page[@name='base_info_dep_use']" position="replace"/>
|
||||
<xpath expr="//page[@name='purchase_request_info']" position="after">
|
||||
|
|
@ -152,10 +152,10 @@
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue