Stock Move Backdating

stock_move_backdating
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_move_backdating
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, map-240221
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows users to register stock moves with a past date (i.e., a date different from the current one).
It is especially useful for accurately reflecting historical stock movements and maintaining correct inventory records.

If *Perpetual Inventory Valuation* is enabled, the generated journal entries will reflect the chosen backdated date accordingly.

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
stock_picking_view_form_inherit_backdating stock.picking.form.inherit stock.picking xpath Inherits stock.view_picking_form
stock_picking_view_form_inherit_backdating stock.picking.form.inherit stock.picking xpath Inherits stock.view_picking_form
stock_scrap_form_view stock.scrap.form stock.scrap xpath Inherits stock.stock_scrap_form_view
view_fill_backdating Fill Actual Movement Date fill.date.backdating form New
view_inventory_form Add backdating to Inventory stock.inventory field Inherits stock.view_inventory_form
view_stock_move_line_detailed_operation_tree stock.move.line.operations.tree stock.move.line xpath Inherits stock.view_stock_move_line_detailed_operation_tree
view_stock_quant_tree_inherit stock.quant.tree.inherit stock.quant xpath Inherits stock.view_stock_quant_tree_inventory_editable
Models touched (6)

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (2)
  • constrain_date_backdating(self)
    @api.constrains('date_backdating')
  • fill_date_backdating(self)
    Fill the Actual Movement Date on all pack operations.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (1)
  • date_backdating Datetime
    compute='_compute_date_backdating' help='The Actual Movement Date of the Operations only if they have all the same value.' store=True string='Forced Effective Date'
Public methods (0)

No public methods.

New fields (1)
  • date_backdating Datetime
    string='Actual Inventory Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (1)
  • date_backdating Datetime
    copy=False help='The Actual Movement Date of the Operations only if they have all the same value.' string='Forced Effective Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_move_backdating
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Eduard Brahas
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_backdating
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
stock_picking_view_form_inherit_backdating stock.picking.form.inherit stock.picking xpath Inherits stock.view_picking_form
view_fill_backdating Fill Actual Movement Date fill.date.backdating form New
view_inventory_form Add backdating to Inventory stock.inventory field Inherits stock.view_inventory_form
view_stock_move_line_detailed_operation_tree stock.move.line.operations.tree stock.move.line xpath Inherits stock.view_stock_move_line_detailed_operation_tree
Models touched (7)

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (2)
  • constrain_date_backdating(self)
    @api.constrains('date_backdating')
  • fill_date_backdating(self)
    Fill the Actual Movement Date on all pack operations.

New fields (1)
  • date_backdating Datetime
    string='Actual Inventory Date'
Public methods (2)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')
  • post_inventory(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (1)
  • date_backdating Datetime
    compute='_compute_date_backdating' help='The Actual Movement Date of the Operations only if they have all the same value.' store=True string='Forced Effective Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_backdating
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Rubino, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_backdating
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_picking_view_form_inherit_backdating stock.picking.form.inherit stock.picking xpath Inherits stock.view_picking_form
view_fill_backdating Fill Actual Movement Date fill.date.backdating form New
view_inventory_form Add backdating to Inventory stock.inventory field Inherits stock.view_inventory_form
Models touched (7)

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (2)
  • constrain_date_backdating(self)
    @api.constrains('date_backdating')
  • fill_date_backdating(self)
    Fill the Actual Movement Date on all pack operations.

New fields (1)
  • date_backdating Datetime
    string='Actual Inventory Date'
Public methods (2)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')
  • post_inventory(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (1)
  • date_backdating Datetime
    compute='_compute_date_backdating' help='The Actual Movement Date of the Operations only if they have all the same value.' store=True string='Forced Effective Date'
Public methods (1)
  • action_done(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/10.0/stock_move_backdating
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSPedro M. Baeza, tafaRU, Alex Comba, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_picking_view_form_inherit_backdating stock.picking.form.inherit stock.picking xpath Inherits stock.view_picking_form
view_fill_backdating Fill Actual Movement Date fill.date.backdating form New
Models touched (4)

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (2)
  • fill_date_backdating(self)
    @api.multi
    Fill the Actual Movement Date on all pack operations.
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (0)

No new fields.

Public methods (1)
  • action_done(self)
    @api.multi

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (1)
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (0)

No new fields.

Public methods (1)
  • do_transfer(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/9.0/stock_move_backdating
VERSION
VERSION 1.0
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSAgile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSAgile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE)
WEBSITE
WEBSITEwww.bremskerl.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to register old stock moves
    (with date != now).
    On stock moves, user can specify the "Actual Movement Date", that will be
    used as movement date

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_partial_picking_form stock.partial.picking.form stock.partial.picking xpath Inherits stock.stock_partial_picking_form
view_move_form stock.move.backdating.form stock.move xpath Inherits stock.view_move_form
view_move_picking_form stock.move.picking.backdating.form stock.move xpath Inherits stock.view_move_picking_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, cr, uid, vals, context=None)

New fields (0)

No new fields.

Public methods (2)
  • action_done(self, cr, uid, ids, context=None)
  • on_change_date_backdating(self, cr, uid, ids, date_backdating, context=None)
    Test if date is in the past @param date_backdating: date

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • on_change_date_backdating(self, cr, uid, ids, date_backdating, context=None)
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/8.0/stock_move_backdating
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marco Dieckhoff, BREMSKERL
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, GitHub, Stéphane Bidoul (ACSONE), Alex Comba, OCA Transbot, archetipo, Dave Lasley, oca-travis
WEBSITE
WEBSITEhttp://www.bremskerl.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_stock_enter_transfer_details_backdate stock.transfer_details.backdate" stock.transfer_details xpath Inherits stock.view_stock_enter_transfer_details
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • action_done(self)
    @api.multi

New fields (1)
  • date_backdating Datetime
    string='Actual Movement Date'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • onchange_date_backdating(self)
    @api.onchange('date_backdating')

New fields (0)

No new fields.

Public methods (1)
  • onchange_date(self)
    @api.onchange('date')
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/7.0/stock_move_backdating
VERSION
VERSION 1.0
CATEGORY
CATEGORYStock Logistics
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Marc Dieckhoff, Bremskerl
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Marc Dieckhoff, Bremskerl
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, Leonardo Pistone, Maxime Chambreuil, Alex Comba, Rudolf Schnapka
WEBSITE
WEBSITEwww.bremskerl.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - process
    - web
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - account
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allows back-dating of stock moves
=================================
This module allows to register old stock moves (with date != now).
On stock moves, user can specify the "Actual Movement Date", that will be
used as movement date.

Contributors
------------
* Marco Dieckhoff, Bremskerl
* Agile Business Group
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* David Dufresne (david.dufresne@savoirfairelinux.com)
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_partial_picking_form stock.partial.picking.form stock.partial.picking xpath Inherits stock.stock_partial_picking_form
view_move_form stock.move.backdating.form stock.move xpath Inherits stock.view_move_form
view_move_picking_form stock.move.picking.backdating.form stock.move xpath Inherits stock.view_move_picking_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, cr, uid, vals, context=None)

New fields (0)

No new fields.

Public methods (3)
  • action_done(self, cr, uid, ids, context=None)
  • check_date_backdating(self, cr, uid, ids, context=None)
  • on_change_date_backdating(self, cr, uid, ids, date_backdating, context=None)
    Test if date is in the past @param date_backdating: date

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • on_change_date_backdating(self, cr, uid, ids, date_backdating, context=None)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST[16.0][MIG] stock_move_backdating (#1594)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST [19.0][MIG] stock_move_backdating (#2332)