Branch
[MISC+FIX] to_hr_payroll: use payroll localization category instead localization -Odoo provide payroll localization at https://github.com/Viindoo/odoo/blob/cf5994705a85551737ffa8e7ffe04d4c120892ea/odoo/addons/base/data/ir_module_category_data.xml#L22 we should use that instead. This commit also fix wrong category set on action 'open_payroll_modules'
[IMP] to_base: Allows you to expand the search panel - Sometimes the content in the search panel is too long and needs to be expanded to be able to see the entire content - This commit arose after increasing the font size of the entire software, causing the fixed width of the search to sometimes not meet the content.
[IMP] to_base: Allows you to expand the search panel - Sometimes the content in the search panel is too long and needs to be expanded to be able to see the entire content - This commit arose after increasing the font size of the entire software, causing the fixed width of the search to sometimes not meet the content.
[IMP] to_base: Allows you to expand the search panel - Sometimes the content in the search panel is too long and needs to be expanded to be able to see the entire content - This commit arose after increasing the font size of the entire software, causing the fixed width of the search to sometimes not meet the content.
[IMP] to_base: Allows you to expand the search panel - Sometimes the content in the search panel is too long and needs to be expanded to be able to see the entire content - This commit arose after increasing the font size of the entire software, causing the fixed width of the search to sometimes not meet the content.
[IMP] to_base: Allows you to expand the search panel - Sometimes the content in the search panel is too long and needs to be expanded to be able to see the entire content - This commit arose after increasing the font size of the entire software, causing the fixed width of the search to sometimes not meet the content.
[FIX] viin_pos_refund: pos order might have 2 line same product but different price -Step to reproduce: create a pos order with 2 line of same product, first product we set the default price as it currently, the second one we set different price -> Confirm -> create invoice -> Go to pos ui to refund -> Singleton error happen -Solution: beside filter using product_id, we also filter using price_unit. In case pos user not changing the price but add discount then this filtered is still correct.
[MISC] to_hr_expense: rename field as odoo have the same but different type -New PR merge upstream from v15 https://github.com/Viindoo/odoo/pull/833 with latest odoo commit 230e5beba518c7bfdaedbf4587e25e20c490d4e8 has add a field call 'expense_sheet_id' (one2many) in module sale_expense, we have this field but with type is many2one. -So there are a few cases here: Case 1: Customers using odoo 15 and have latest code from odoo. If they buy and install to_hr_expense, expense_sheet_id will be changed to many2one, expense_sheet_id one2many field will no longer exist -> this is really bad because it will definitely cause errors. Case 2: The customer has purchased the to_hr_expense module without the latest code from odoo 15, the customer's server (not yet installed sale_expense) updates the latest code from odoo 15, then install the sale_expense field, the expense_sheet_id field is still only many2one defined by the to_hr_expense module (tested twice but still dont get it why it still many2one, well never mind) ==>>>>> With both 2 cases, this commit will always cover: we change 'expense_sheet_id' to 'viin_expense_sheet_id' (just like we did when upgrade to 16) , and of course change the related logic, add migration script to change the field name (change in ir_model_fields table and rename column). ***NOTE: - This commit also remove some redundant code and when forward it to v16/master + only change the code which has been removed in the init file (the pre_init_hook) -Only notify the customer to get the latest and upgrade module and they will good to go.
[FIX] viin_hr_recruitment_approval: fix automation test - Edit the test to match the PR logic [FIX] viin_hr_recruitment_approval: avoid approval officer having recruitment user(10658) - Avoid approving staff with recruitment users. If you want, you need to add group_hr_recruitment_user permission group
[IMP] to_attendance_device: device should be unique by serial number -Since [1]: we have allowed user to edit serial number, therefore need to constrain unique by serial number by device. -This commit allow to delete device commands because there might be some errors when connecting device for the first time so delete it to ensure all the command will be executed -Also only process data from device when in confirmed state Ticket: https://viindoo.com/web#id=51938&cids=1&menu_id=89&model=viin.helpdesk.ticket&view_type=form 1: 3535236e1019bc3b7f91e0343c35b453434e514b