Skip to content

Commit

Permalink
[FIX] sale_order_validity: fix in sale_order_view
Browse files Browse the repository at this point in the history
closes #770

X-original-commit: 92f76d4
Signed-off-by: matiasperalta1 <mnp@adhoc.com.ar>
Signed-off-by: lav-adhoc <lav@adhoc.com.ar>
  • Loading branch information
lav-adhoc committed Apr 24, 2024
1 parent 001eaaf commit 051453a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sale_order_validity/views/sale_order_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
<field name="inherit_id" ref="view_order_form_validity"/>
<field name="arch" type="xml">
<field name="date_order" position="replace">
<div class="o_td_label" groups="!base.group_no_one" invisible="state in ['sale', 'cancel'] or locked">
<label for="date_order" string="Quotation/Order Date"/>
</div>
<field name="date_order" nolabel="1" groups="!sales_team.group_sale_manager" readonly="1" invisible="state in ['sale', 'cancel'] or locked"/>
<field name="date_order" nolabel="1" groups="sales_team.group_sale_manager" readonly="0" invisible="state in ['sale', 'cancel'] or locked"/>
<div class="o_td_label" groups="!base.group_no_one" invisible="state in ['sale', 'cancel'] or locked">
<label for="date_order" string="Quotation/Order Date"/>
</div>
<field name="date_order" nolabel="1" groups="!sales_team.group_sale_manager" readonly="1" invisible="state in ['sale', 'cancel'] or locked"/>
<field name="date_order" nolabel="1" groups="sales_team.group_sale_manager" readonly="0" invisible="state in ['sale', 'cancel'] or locked"/>
</field>
<field name="validity_date" position="replace">
<field name="validity_date" readonly="state not in ['draft', 'sent']" invisible="state in ['sale'] or locked" groups="sales_team.group_sale_manager"/>
Expand Down

0 comments on commit 051453a

Please sign in to comment.