~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to res_currency_functional/account_move_line_view.xml

  • Committer: jf
  • Date: 2014-01-14 07:53:33 UTC
  • mfrom: (1868.1.34 UF_2237)
  • Revision ID: jfb@tempo-consulting.fr-20140114075333-hmnqc97prb57w0rn
UF-2237 [IMP] Restrictions on accounts use in the interface
lp:~unifield-team/unifield-wm/UF_2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
                    <group col="6" colspan="4">
64
64
                        <separator colspan="6" string="Amount"/>
65
65
                        <newline/>
66
 
                        <field name="account_id" select="1" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" on_change="onchange_account_id(account_id)" colspan="2"/>
 
66
                        <field name="account_id" select="1" domain="[('restricted_area', '=', 'account_move_lines')]" on_change="onchange_account_id(account_id)" colspan="2"/>
67
67
                        <field name="partner_type" select="1" on_change="onchange_partner_type(partner_type, credit, debit)" 
68
68
                            attrs="{'required': [('partner_type_mandatory', '=', True)]}" colspan="2"
69
69
                            domain="[('filter_for_third_party', '=', account_id)]"