~taktik/openobject-addons/hui-extra-6.1

« back to all changes in this revision

Viewing changes to contract_base/contract_view.xml

  • Committer: Luc De Meyer
  • Date: 2014-08-29 15:19:39 UTC
  • Revision ID: luc.demeyer@noviat.com-20140829151939-vqscyplor81jj4al
update noviat modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
                <field name="hidden"/>
92
92
                <group attrs="{'invisible':[('type','=','heading')]}" colspan="4">
93
93
                  <separator colspan="4" string="Taxes"/>
94
 
                  <field colspan="4" name="tax_ids" context="{'type':parent.type}" domain="[('parent_id','=',False),('company_id', '=', parent.company_id)]" nolabel="1"/>
 
94
                  <field colspan="4"
 
95
                         name="tax_ids" 
 
96
                         domain="[('parent_id', '=', False), ('company_id', '=', parent.company_id), ('type_tax_use', 'in', [parent.type, 'all'])]"
 
97
                         nolabel="1"/>
95
98
                  <newline/>
96
99
                  <separator colspan="4" string="Billing Instructions"/>
97
100
                  <group colspan="4" col="8">
186
189
            <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
187
190
            <separator orientation="vertical"/>
188
191
            <filter string="Category" icon="terp-folder-blue" domain="[]" context="{'group_by':'categ_id'}"/>
 
192
            <separator orientation="vertical"/>
 
193
            <filter string="Currency" icon="terp-dolar" domain="[]" context="{'group_by':'currency_id'}"/>
189
194
          </group>
190
195
        </search>
191
196
      </field>
202
207
          <field name="date_start"/>
203
208
          <field name="partner_id"/>
204
209
          <field name="categ_id"/>
 
210
          <field name="total_mrc" sum="Total MRC"/>
 
211
          <field name="total_otc" sum="Total OTC"/>
 
212
          <field name="currency_id" string="Curr."/>
205
213
          <field name="state"/>
206
214
          <field name="analytic_account_id"/>
207
215
          <field name="user_id"/>