odoo/odoo#101555
Created by fw-bot
Merged
at ade1a1f5ee00baa88347bfd151f028bd17d7f4f1
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:16.0-saas-15.3-subscription_discount-arj-zQOR-fw
- head
- 12c8ed9fde431daf2fec2985c5f7ee8d639ec328
- merged
- 3 years ago by Misc, Yannick Tivisse (yti)
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 |
[FW][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
Forward-Port-Of: #100545