[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#75014 X-original-commit: ebf6708b5962a54e9fbed133596dcdfdd204e33d Signed-off-by: Djamel Touati <DjamelTouati@users.noreply.github.com>
This commit is contained in:
@@ -178,9 +178,9 @@
|
||||
<field name="id" invisible="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="date_order" attrs="{'invisible': [('state','=','purchase')]}"/>
|
||||
<label for="date_approve" attrs="{'invisible': [('state','!=','purchase')]}"/>
|
||||
<div name="date_approve" attrs="{'invisible': [('state','!=','purchase')]}" class="o_row">
|
||||
<field name="date_order" attrs="{'invisible': [('state','in',('purchase','done'))]}"/>
|
||||
<label for="date_approve" attrs="{'invisible': [('state','not in',('purchase','done'))]}"/>
|
||||
<div name="date_approve" attrs="{'invisible': [('state','not in',('purchase','done'))]}" class="o_row">
|
||||
<field name="date_approve"/>
|
||||
<field name="mail_reception_confirmed" invisible="1"/>
|
||||
<span class="text-muted" attrs="{'invisible': [('mail_reception_confirmed','=', False)]}">(confirmed by vendor)</span>
|
||||
|
||||
Reference in New Issue
Block a user