Hi i newbie in python and odoo.
Can i return value from python code to action domain in xml or not ?
because i need to use domain like [('create_uid','=',...)] <--- number in array
or convert below this code to python and return them on start load view
<record id="purchase_rfq_sale" model="ir.actions.act_window">
<field name="name">Requests for Quotation(Sale)</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.order</field>
<field name="context">{}</field>
<field name="domain">[]</field>
<field name="view_mode">tree,form,graph,calendar</field>
<field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
<field name="help" type="html">
</field>
</record>
if you want to filter record by created user id try
[('create_uid','=',uid)]