Skip to Content
Odoo model

stock.rule

Stock Rule. Defined in module stock; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 2 fields added, 3 removed, 0 renamed, 1 type changes.

  1. Odoo 16 stock
  2. Odoo 17 stock
  3. Odoo 18 stock
  4. Odoo 19 stock
  5. Odoo 20 stock

Odoo 16 to 17

Community only All changes in this step
1 views of this model removed
  • delivery.view_stock_rule_form_delivery

Odoo 17 to 18

Community only All changes in this step

Fields added (2)

FieldTypeModule
location_dest_from_rulebooleanstock
push_domaincharstock

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields removed (3)

FieldTypeModuleNotes
group_idmany2onestock
group_propagation_optionselectionstock
propagate_warehouse_idmany2onestock

Type changed (1)

FieldOdoo 18Odoo 19
picking_type_code_domain charjson

Odoo 19 to 20

Community + Enterprise All changes in this step

No change to this model's own fields in this step.

All fields declared on stock.rule (25)

Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.

present not present not covered (Enterprise, Odoo 16 and 17)

Show all 25 fields
FieldTypeLabelModule1617181920
actionselectionActionstock
activebooleanActivestock
autoselectionAutomatic Movestock
company_idmany2one res.companyCompanystock
delayintegerLead Timestock
group_idmany2one procurement.groupFixed Procurement Groupstock
group_propagation_optionselectionPropagation of Procurement Groupstock
location_dest_from_rulebooleanDestination location origin from rulestock
location_dest_idmany2one stock.locationDestination Locationstock
location_src_idmany2one stock.locationSource Locationstock
namecharNamestock
partner_address_idmany2one res.partnerPartner Addressstock
picking_type_code_domainjsonstock
picking_type_idmany2one stock.picking.typeOperation Typestock
procure_methodselectionSupply Methodstock
propagate_cancelbooleanCancel Next Movestock
propagate_carrierbooleanPropagation of carrierstock
propagate_warehouse_idmany2one stock.warehouseWarehouse to Propagatestock
push_domaincharPush Applicabilitystock
route_company_idmany2oneRoute Companystock
route_idmany2one stock.routeRoutestock
route_sequenceintegerRoute Sequencestock
rule_messagehtmlstock
sequenceintegerSequencestock
warehouse_idmany2one stock.warehouseWarehousestock
Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.