[FIX] purchase: RFQ vs PO
Set the appropriate label in the portal depending on the PO state. opw-1915230 closes odoo/odoo#29477
This commit is contained in:
@@ -1485,6 +1485,7 @@ msgstr ""
|
||||
#. module: purchase
|
||||
#: code:addons/purchase/models/purchase.py:276
|
||||
#: model:ir.actions.report,name:purchase.report_purchase_quotation
|
||||
#: model_terms:ir.ui.view,arch_db:purchase.portal_my_purchase_order
|
||||
#: model_terms:ir.ui.view,arch_db:purchase.report_purchasequotation_document
|
||||
#, python-format
|
||||
msgid "Request for Quotation"
|
||||
|
||||
@@ -68,7 +68,12 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h4>
|
||||
Purchase Order
|
||||
<t t-if="order.state in ['draft', 'sent']">
|
||||
Request for Quotation
|
||||
</t>
|
||||
<t t-else="1">
|
||||
Purchase Order
|
||||
</t>
|
||||
<span t-esc="order.name"/>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user