mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 04:12:05 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue