mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] scrap_reason_code from v11 to v13
This commit is contained in:
committed by
Chandresh Thakkar
parent
c233777853
commit
0cc4e786c5
@@ -6,11 +6,13 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class ReasonCode(models.Model):
|
||||
_name = 'reason.code'
|
||||
_description = 'Reason Code'
|
||||
_name = "reason.code"
|
||||
_description = "Reason Code"
|
||||
|
||||
name = fields.Char("Code", required=True)
|
||||
description = fields.Text("Description")
|
||||
location_id = fields.Many2one(
|
||||
'stock.location', string="Scrap Location",
|
||||
domain="[('scrap_location', '=', True)]")
|
||||
"stock.location",
|
||||
string="Scrap Location",
|
||||
domain="[('scrap_location', '=', True)]",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user