diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-12-09 15:54:23 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-12-09 15:56:29 +0100 |
| commit | 377277c94e81dd320c92b72d5f1dcb2ddb00b902 (patch) | |
| tree | 53e9745ea9e14c4fca5632165ecbbc8b37cf3560 /addons | |
| parent | a59cf39f06d9fea66eef7019ea9950c72c5dc0bb (diff) | |
[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.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account_analytic_analysis/account_analytic_analysis_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_analytic_analysis/account_analytic_analysis_view.xml b/addons/account_analytic_analysis/account_analytic_analysis_view.xml index 36690ec7371..79881db9f13 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis_view.xml +++ b/addons/account_analytic_analysis/account_analytic_analysis_view.xml @@ -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> |
