File: template_form.xml

package info (click to toggle)
tryton-modules-product 7.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,124 kB
  • sloc: python: 1,776; xml: 963; makefile: 11; sh: 3
file content (37 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="6">
  <label name="name"/>
  <field name="name" xexpand="1"/>
  <label name="code"/>
  <field name="code"/>
  <label name="active"/>
  <field name="active" xexpand="0" width="100"/>

  <notebook colspan="6">
      <page string="General" id="general">
          <label name="type"/>
          <field name="type"/>
          <group colspan="2" col="-1" id="checkboxes">
              <label name="consumable"/>
              <field name="consumable" xexpand="0" width="25"/>
          </group>
          <label name="default_uom"/>
          <field name="default_uom" />
          <newline/>
          <label name="list_price"/>
          <field name="list_price"/>
          <newline/>
          <label name="cost_price"/>
          <field name="cost_price"/>
          <label name="cost_price_method"/>
          <field name="cost_price_method"/>
          <newline/>
          <field name="products" mode="form,tree" colspan="2"
              view_ids="product.product_view_form_simple"/>
          <field name="categories" colspan="2"
              view_ids="product.category_view_list"/>
      </page>
  </notebook>
</form>