[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:
Denis Ledoux 2014-12-09 15:54:23 +01:00
parent a59cf39f06
commit 377277c94e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@
<button name="%(action_sales_order)d" string="Sales Orders"
type="action"
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>
</tr><tr>