RMA
Manage Return Merchandise Authorizations (RMAs).
User: Own Documents Only
the user will have access to his own data in the RMA application.
User: All Documents
the user will have access to all records of everyone in the RMA application.
Manager
the user will have an access to the RMA configuration as well as statistic reports.
Allow RMA manual finalization
Personal RMAs
['|',('user_id','=',user.id),('user_id','=',False)]
All RMAs
[(1,'=',1)]
RMA portal users
[('message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id])]
RMA multi-company
['|',('company_id','=',False),('company_id','in',company_ids)]
RMA team multi-company
['|',('company_id','=',False),('company_id','in',company_ids)]
RMA Finalization Reason multi-company
['|', ('company_id', 'in', company_ids), ('company_id', '=', False)]
RMA Personal Invoice
[('move_type', '=', 'out_refund'), '|', ('invoice_user_id', '=', user.id), ('invoice_user_id', '=', False)]
RMA Personal Invoice Lines
[('move_id.move_type', '=', 'out_refund'), '|', ('move_id.invoice_user_id', '=', user.id), ('move_id.invoice_user_id', '=', False)]