[FIX] sale_project : display SO stat button on task in mobile
Steps : - In mobile, go to Task Issue : - "Sales Order" stat button is not displayed. Cause : - This button's classe are : - d-md-inline = displayed when size is medium+. - d-none = or else not displayed - In the past, there was a field SO in the form, which made this button unnecessary and taking space. Fix : - Now that this field isn't present anymore, delete d-none part. opw-2722535 closes odoo/odoo#82963 X-original-commit: 16f489ad6b6b9e8118bc806f220cf122e20374a8 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<field name="inherit_id" ref="project.view_task_form2"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//span[@id='start_rating_buttons']" position="before">
|
||||
<button class="d-none d-md-inline oe_stat_button"
|
||||
<button class="oe_stat_button"
|
||||
type="object" name="action_view_so" icon="fa-dollar"
|
||||
attrs="{'invisible': [('sale_order_id', '=', False)]}"
|
||||
string="Sales Order"
|
||||
|
||||
Reference in New Issue
Block a user