[19.0][MIG] hr_timesheet_type_non_billable: Migration to 19.0#922
[19.0][MIG] hr_timesheet_type_non_billable: Migration to 19.0#922BhaveshHeliconia wants to merge 23 commits into
Conversation
Currently translated at 100.0% (5 of 5 strings) Translation: timesheet-17.0/timesheet-17.0-hr_timesheet_type_non_billable Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_type_non_billable/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: timesheet-17.0/timesheet-17.0-hr_timesheet_type_non_billable Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_type_non_billable/
Currently translated at 100.0% (6 of 6 strings) Translation: timesheet-17.0/timesheet-17.0-hr_timesheet_type_non_billable Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_type_non_billable/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: timesheet-17.0/timesheet-17.0-hr_timesheet_type_non_billable Translate-URL: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_type_non_billable/
798bc63 to
52a1e80
Compare
|
@cgarcia-solvos could you review? Thanks! |
cgarcia-solvos
left a comment
There was a problem hiding this comment.
Code review. LGTM. Only minor comments:
52a1e80 to
dfa856b
Compare
|
@cgarcia-solvos I've addressed your suggestion. Thanks for the review! |
|
@bosd Could you please review? |
|
I'm not so familiar yet with this module. my functional test failed. When i create a bill from the SO. An invoice is created with 1 hour of billable time. |
@bosd Thanks for the review! After checking the module, I noticed that no Time Type records were configured for billable and non-billable time. The timesheet entries were created without a Time Type value, and when the invoice was generated from the Sales Order, the full 1 hour was invoiced. To verify the behavior, I created another Sales Order, S00028, and entered the same timesheets: 0.5 hour billable This time, I explicitly assigned the appropriate Time Type values to the timesheet lines (with the billable/non-billable settings configured). After generating the invoice, only the 0.5 hour billable time was invoiced, which matches the expected behavior. Could you please check the timesheet entries used in your test and run the flow again, making sure that the Time Type is selected and correctly configured with the billable and non-billable flags? |
|
@BhaveshHeliconia Thanks for the explanation that works. Still what confused me is this help text.
|

Uh oh!
There was an error while loading. Please reload this page.