fix(config): change use_mock default from True to False
Prevent accidental mock mode in production when no odoo section is present in config.yaml. Mock mode should be explicitly opt-in.
This commit is contained in:
parent
25db1d1947
commit
098f54eaef
|
|
@ -23,7 +23,7 @@ class OdooConfig(BaseModel):
|
|||
database: str | None = Field(default=None, description="Odoo database name")
|
||||
username: str | None = Field(default=None, description="Odoo username")
|
||||
api_key: str | None = Field(default=None, description="Odoo API key")
|
||||
use_mock: bool = Field(default=True, description="Use mock Odoo client for testing")
|
||||
use_mock: bool = Field(default=False, description="Use mock Odoo client for testing")
|
||||
mock_failure_rate: float = Field(
|
||||
default=0.0, ge=0.0, le=1.0, description="Mock failure rate for testing (0.0-1.0)"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user