Update marketing campaign scenario for sales returned by opportunity conversion

Closes #12829
This commit is contained in:
Cédric Krier committed 2023-12-16 00:11:59 +01:00
1 parent 545e10465f
commit 0b8fa97b81
1 file changed
+3 -2
@@ -104,13 +104,14 @@ Create an opportunity and convert to sale::
>>> opportunity.click('opportunity')
>>> opportunity.state
'opportunity'
>>> opportunity.click('convert')
>>> sale, = opportunity.click('convert')
>>> opportunity.state
'converted'
>>> opportunity.sales == [sale]
True
Check and confirm sale::
>>> sale, = opportunity.sales
>>> sale.marketing_campaign.name
'campaign'
>>> sale.marketing_medium.name