[FIX] account_analytic_analysis: default pricelist for contract sales order
With 'Fixed Price' enabled, a button giving the possibility to list all sale orders appears. When browsing the list, there the possibility to create a new sale order. The contract pricelist should be used by default when coming from this specific button.
This commit is contained in:
parent
a59cf39f06
commit
377277c94e
|
@ -80,7 +80,7 @@
|
||||||
<button name="%(action_sales_order)d" string="Sales Orders"
|
<button name="%(action_sales_order)d" string="Sales Orders"
|
||||||
type="action"
|
type="action"
|
||||||
class="oe_link"
|
class="oe_link"
|
||||||
context="{'default_partner_id': [partner_id], 'search_default_project_id': [active_id],'default_project_id': [active_id]}"
|
context="{'default_partner_id': [partner_id], 'search_default_project_id': [active_id],'default_project_id': [active_id], 'default_pricelist_id': pricelist_id}"
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
|
|
Loading…
Reference in New Issue