This module change field type following core odoo from fields.Text to fields.Binary
and reused some method from move.
In method action_open_business_doc() and js_remove_outstanding_partial()
when we do it in expense sheet, self use the hr.expense.sheet model but id in self is move_id,
so we must search it again with object is correct.
I think this way is not good but I don't know how to fixed it.
Someone has any idea please suggest.
This module change field type following core odoo from
fields.Text
tofields.Binary
and reused some method from move.In method
action_open_business_doc()
andjs_remove_outstanding_partial()
when we do it in expense sheet,self
use thehr.expense.sheet
model butid
in self ismove_id
, so we must search it again with object is correct.I think this way is not good but I don't know how to fixed it. Someone has any idea please suggest.