odoo/odoo#100545
Created by Misc, Arnaud Joset (arj)
Merged
at 0bbb0dfc15db2d7fc0c64bbb71c99b1f949193c5
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team for help in case of failure.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
Linked pull requests
- label
- odoo-dev:saas-15.3-subscription_discount-arj
- head
- e5ffacbd6d93b90387f7a24490ad43a301d89d71
- merged
- 3 years ago by William Braeckman (wbr)
odoo/odoo | odoo/enterprise | |
---|---|---|
saas-15.3 | #100545 | #31488 |
16.0 | #101555 | #31994 |
17.0 | ||
18.0 | ||
saas-18.1 | ||
saas-18.2 | ||
saas-18.3 | ||
master | #101906 | #32173 |
[FIX] sale: use str2bool to make sure the boolean sale.automatic_invo…
…ice is
correctly used
When a boolean ir.config.parameter is set to False, self.env['ir.config_parameter'].sudo().get_param('parzm_key') will return 'False'. As the string is not falsy, the parameter value match as true. This commit fix the behavior for the sale.automatic_invoice to keep coherence with the subscription module
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr