OCA / hr-expense

Human Resources Expenses OCA modules for Odoo
GNU Affero General Public License v3.0
50 stars 103 forks source link

[16.0][MIG] hr_expense_payment_widget_amount #252

Open Saran440 opened 2 months ago

Saran440 commented 2 months ago

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.