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
21
types.xml
21
types.xml
|
@ -63,18 +63,17 @@ full copyright notices and license terms. -->
|
|||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
|
||||
<!-- defaults -->
|
||||
<record model="cashbook.type" id="atype_cash">
|
||||
<field name="short">CAS</field>
|
||||
<field name="name">Cash</field>
|
||||
<record model="ir.rule.group" id="rg_type_companies">
|
||||
<field name="name">User in companies</field>
|
||||
<field name="model"
|
||||
search="[('model', '=', 'cashbook.type')]"/>
|
||||
<field name="global_p" eval="True"/>
|
||||
</record>
|
||||
<record model="cashbook.type" id="atype_giro">
|
||||
<field name="short">GIR</field>
|
||||
<field name="name">Giro</field>
|
||||
</record>
|
||||
<record model="cashbook.type" id="atype_fixtermdep">
|
||||
<field name="short">FTD</field>
|
||||
<field name="name">Fixed-term deposit</field>
|
||||
<record model="ir.rule" id="r_type_companies">
|
||||
<field name="domain"
|
||||
eval="[('company', 'in', Eval('companies', []))]"
|
||||
pyson="1"/>
|
||||
<field name="rule_group" ref="rg_type_companies"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue