add field 'assembled' to LOT
parent
62e07dd6a5
commit
ce46936b56
|
|
@ -25,6 +25,7 @@ from odoo import fields, models, api, tools
|
||||||
class StockProductionLot(models.Model):
|
class StockProductionLot(models.Model):
|
||||||
_inherit = 'stock.production.lot'
|
_inherit = 'stock.production.lot'
|
||||||
|
|
||||||
|
assembled = fields.Boolean(string='Zusammengebaut')
|
||||||
notes = fields.Text()
|
notes = fields.Text()
|
||||||
weight = fields.Float(string='Gewicht')
|
weight = fields.Float(string='Gewicht')
|
||||||
intrastat_id = fields.Many2one(comodel_name='report.intrastat.code', string='Intrastat Nummer (Code)')
|
intrastat_id = fields.Many2one(comodel_name='report.intrastat.code', string='Intrastat Nummer (Code)')
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
<field name="inherit_id" ref="stock.view_production_lot_form"/>
|
<field name="inherit_id" ref="stock.view_production_lot_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="ref" position="after">
|
<field name="ref" position="after">
|
||||||
|
<field name="assembled" string="Zusammengebaut"/>
|
||||||
<field name="weight"/>
|
<field name="weight"/>
|
||||||
<field name="intrastat_id"/>
|
<field name="intrastat_id"/>
|
||||||
<field name="notes"/>
|
<field name="notes"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue