diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-01-27 10:33:48 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-01-27 10:37:49 +0100 |
| commit | 0b18a5afec291a7248593704b0456d667349fca4 (patch) | |
| tree | 25f55cb69a98baa76088ff9d8ac7859c71682973 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 8381d47543e998e792b9514d9e6b19635832052b (diff) | |
[FIX] purchase: purchases button on product variants
This rev. is related to 8381d47543e998e792b9514d9e6b19635832052b
The action action_purchase_line_product_tree is used in both
product templates and product variants forms.
Therefore, the default_product_id: active_id in the context
cannot be used,
As sometimes it will active_id will be a product template,
sometimes it will be a product variant.
I believe two different window actions should be used,
instead of sharing a common one and making hacks.
Nevertheless, as we avoid taking risks in stable releases
This should be done in master.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
