diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-09-21 10:23:24 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-09-21 10:27:06 +0200 |
| commit | 06138db78d772094679af68a75128df2df5bad21 (patch) | |
| tree | 0fcb48f6e2713954048d2dca1a81c08a16d79cb9 /addons/web_editor/static/src/js/transcoder.js | |
| parent | fc29dc80cbe5a62e8a50640c78bc741847b24fa4 (diff) | |
[FIX] sale_crm: Sales button
The amount displayed in this sales button
is the amount sold for this opporunity,
not for this specific partner, see
See `_get_sale_amount_total`
Therefore, forcing the `search_default_partner_id`
was wrong, as the sale orders could be on other partners
(for instance, the partner parent/`commercial_partner_id`)
The domain `"[('opportunity_id', 'in', [active_id])]"`
is already applied on the window action anyway.
See `sale_action_quotations`
opw-649712
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
