f40a2f84519e6fefe7fd60c71baac5e3fc4e1fee
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m44s
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%