Commit bfd74d75 by François C.

StockPicking : adding operator_id to store who registred the picking (used from 3rd party app)

parent 10892577
......@@ -2,9 +2,8 @@
##############################################################################
#
# Product - Average Consumption Module for Odoo
# Copyright (C) 2013-Today GRAP (http://www.grap.coop)
# @author Julien WESTE
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
# Copyright (C) 2021-Today GRAP (http://www.grap.coop)
# @author Damien Moulard
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
......
......@@ -64,3 +64,9 @@ class SalesHelper(models.Model):
res['error'] = str(e)
return res
class StockPicking(models.Model):
_inherit = "stock.picking"
# Add to picking table the id of the member who registered the picking
operator_id = fields.Many2one('res.partner', string="Member who registered the picking")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment