Dear Dr Obx,
You need to create a wizard and you will select all record from wizard
and also create button inside wizard form view
when press the button at that time state will be change of order which are selected
Using below code you will create action in 'More' menu.
Syntax:
<record model="ir.values" id="any_name">
<field name="model_id" ref="module_name_model_model_name" />
<field name="name">Any String</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('your_action_name'))" />
<field name="key">action</field>
<field name="model">model.name</field>
</record>
Example:
<record model="ir.values" id="wiz_hospital_values">
<field name="model_id" ref="hospital_management.model_patient_patient" />
<field name="name">Wiz Hospital</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_wiz_hospital'))" />
<field name="key">action</field>
<field name="model">patient.patient</field>
</record>
Please let me know, if you have any problem.
Thanks & Regards
Ankit H Gandhi.