Initial commit: Sale packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:49 +02:00
commit 14e3d26998
6469 changed files with 2479670 additions and 0 deletions

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">
<!-- Override this rule because in hr_timesheet,
the lowest access right can only see own timesheets (model: account.analytic.line)
and this ir.rule accept all account.analytic.line in its domain.
Therefore, we need to override this rule to change the domain, and then the
rules for the account.analytic.line defined in timesheet will be apply.
-->
<record id="account.account_analytic_line_rule_readonly_user" model="ir.rule" forcecreate="False">
<field name="domain_force">[('project_id', '=', False)]</field>
</record>
<record id="account.account_analytic_line_rule_billing_user" model="ir.rule">
<field name="domain_force">[('project_id', '=', False)]</field>
</record>
</odoo>