Skip to content
Snippets Groups Projects
Commit 4d21eafd authored by Touati Djamel (otd)'s avatar Touati Djamel (otd)
Browse files

[FIX] purchase: show confirmation date in locked PO

Steps to reproduce the bug:
- Go to purchase app > create a request for quotation
- click on confirm > Lock

Problem:
Date confirmation becomes invisible, and date order becomes visible

Solution:
As we have already confirmed the purchase order and the lock button only appears when the PO is confirmed,
it makes sense to leave the confirmation date visible

https://github.com/odoo/odoo/blob/13.0/addons/purchase/views/purchase_views.xml#L138-L139



opw-2612608

closes odoo/odoo#74958

Signed-off-by: default avatarDjamel Touati <DjamelTouati@users.noreply.github.com>
parent 591a726f
No related branches found
No related tags found
No related merge requests found
......@@ -164,8 +164,8 @@
<field name="currency_id" groups="base.group_multi_currency" force_save="1"/>
</group>
<group>
<field name="date_order" attrs="{'invisible': [('state','=','purchase')]}"/>
<field name="date_approve" attrs="{'invisible': [('state','!=','purchase')]}"/>
<field name="date_order" attrs="{'invisible': [('state','in',('purchase','done'))]}"/>
<field name="date_approve" attrs="{'invisible': [('state','not in',('purchase','done'))]}"/>
<field name="origin" attrs="{'invisible': [('origin','=',False)]}"/>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
</group>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment