Initial commit: OCA Mrp packages (117 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:05 +02:00
commit 277e84fd7a
4403 changed files with 395154 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import account_analytic_line

View file

@ -0,0 +1,19 @@
# Copyright 2018-2020 Brainbean Apps (https://brainbeanapps.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
class AccountAnalyticLine(models.Model):
_inherit = "account.analytic.line"
def action_timesheet_report_wizard(self):
return {
"type": "ir.actions.act_window",
"res_model": "hr.timesheet.report.wizard",
"views": [[False, "form"]],
"target": "new",
"context": {
"default_line_ids": [(6, False, self.ids)],
},
}