book, line, category, types: berechtigung für company-user + test,
book: währung neu, line: buchungstyp, betrag, credit, debit, währung, sortierung
This commit is contained in:
parent
1a85b8e80e
commit
d57d76ba3b
20 changed files with 620 additions and 115 deletions
13
line.xml
13
line.xml
|
@ -169,6 +169,19 @@ full copyright notices and license terms. -->
|
|||
<field name="group" ref="group_cashbook"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.rule.group" id="rg_line_companies">
|
||||
<field name="name">User in companies</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'cashbook.line')]"/>
|
||||
<field name="global_p" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.rule" id="r_line_companies">
|
||||
<field name="domain"
|
||||
eval="[('cashbook.company', 'in', Eval('companies', []))]"
|
||||
pyson="1"/>
|
||||
<field name="rule_group" ref="rg_line_companies"/>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- button - edit -->
|
||||
<record model="ir.model.button" id="line_wfedit_button">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue