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
book.xml
13
book.xml
|
@ -107,6 +107,19 @@ full copyright notices and license terms. -->
|
|||
<field name="group" ref="group_cashbook"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.rule.group" id="rg_book_companies">
|
||||
<field name="name">User in companies</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'cashbook.book')]"/>
|
||||
<field name="global_p" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.rule" id="r_book_companies">
|
||||
<field name="domain"
|
||||
eval="[('company', 'in', Eval('companies', []))]"
|
||||
pyson="1"/>
|
||||
<field name="rule_group" ref="rg_book_companies"/>
|
||||
</record>
|
||||
|
||||
<!-- button - open -->
|
||||
<record model="ir.model.button" id="book_wfopen_button">
|
||||
<field name="name">wfopen</field>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue