мое мнение
<!-- first stage:
field1 will readonly after click next and fied1 has been filled-->
<field name="stage" invisible="1"/>
<field name="fied1" attrs="{'readonly': [('stage', '=', 2)]}"/>
<!-- second stage:
field2 invisible until stage = 2
if you have stage3, to do so on.
but if there has stage3, you should overwrite write method-->
<field name="fied2" attrs="{'invisible': [('stage', '=', 1)]}"/>
<button name="next" string="Next" type="object"/>
stage= fields.Char("stage", default=1)
# overwirte create()
@api.model
def create(self, vals):
vals={}
if vals['field1']:
vals.update({'stage':2})
return super(class_name, self).create(vals)
def next(self):
return