cd6261b34a994f7197ff66bca1379434d25e5fa5
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m42s
When a question was not displayed (conditional question) or skipped, its field was still given to create() with a None value. The field was then emptied instead of keeping its default or computed value. Since the link to an already created record is given at creation, this also made sale.subscription.line price_unit equal to 0 when the "free amount" question was not displayed, instead of the product price. Fields without value are now left out of the values, which also allows several conditional questions to fill up the same field (e.g. one list of amounts per periodicity). Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Description
Languages
Python
76.8%
JavaScript
11.7%
HTML
10.3%
Shell
0.8%
SCSS
0.4%