Industry Fsm

Project Task View List Fsm

Show Id

ID: mint_system.industry_fsm.project_task_view_list_fsm.show_id

<?xml version="1.0"?>
<data inherit_id="industry_fsm.project_task_view_list_fsm" priority="50">

    <xpath expr="//field[@name='progress']" position="after">
        <field name="id" string="ID" optional="hide"/>
    </xpath>

</data>

Source: snippets/industry_fsm.project_task_view_list_fsm.show_id.xmlopen in new window

Worksheet Custom

Add Info

ID: mint_system.industry_fsm.worksheet_custom.add_info

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom" priority="50">

  <xpath expr="//div[1]" position="before">
    <h1>Arbeitsrapport</h1>
    <span id="title">
      <strong t-field="doc.name"/>
    </span>
    <table>
      <tr>
        <td style="width:120px">
                      Kunde:
        </td>
        <td style="width:700px">
          <span t-field="doc.partner_id"/>
          <t t-if="doc.partner_id.ref">
                      /
            <span t-field="doc.partner_id.ref"/>
          </t>
        </td>
      </tr>
      <tr>
        <td>Benutzer:</td>
        <td>
          <span t-field="doc.x_user_text"/>
        </td>
      </tr>
      <tr>
        <td>Systemname:</td>
        <td>
          <span t-field="doc.x_systemname"/>
        </td>
      </tr>
    </table>
  </xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom.add_info.xmlopen in new window

Replace Layout

ID: mint_system.industry_fsm.worksheet_custom.replace_layout

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom" priority="50">

  <xpath expr="//t[@t-call='web.external_layout']" position="replace">
    <t t-call="web.external_layout_worksheet">
      <t t-call="industry_fsm.worksheet_custom_page" t-lang="doc.partner_id.lang"/>
    </t>
  </xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom.replace_layout.xmlopen in new window

Worksheet Custom Page

Remove Address

ID: mint_system.industry_fsm.worksheet_custom_page.remove_address

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom_page" priority="50">

    <xpath expr="//div/div[1]" position="replace"/>
   
</data>

Source: snippets/industry_fsm.worksheet_custom_page.remove_address.xmlopen in new window

Replace Display Name

ID: mint_system.industry_fsm.worksheet_custom_page.replace_display_name

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom_page" priority="50">

    <xpath expr="//span[@t-field='line.display_name']" position="replace">
        <span t-field="line.name"/>
    </xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom_page.replace_display_name.xmlopen in new window

Style Moser

ID: mint_system.industry_fsm.worksheet_custom_page.style_moser

<data inherit_id="industry_fsm.worksheet_custom_page" priority="60">

	<xpath expr="//div[hasclass('page')]" position="before">
		<style>
		  	h1 {
        	font-size: 1.8rem;
        	margin-top: 60px;
            }
			h2 {
        	font-size: 1.4rem;
        	margin-top: 60px;
            }   
      		#title {
         	font-size: 1.2rem;
      		}
		</style>
	</xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom_page.style_moser.xmlopen in new window

Worksheet Custom

Add Info

ID: mint_system.industry_fsm.worksheet_custom.add_info

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom" priority="50">

  <xpath expr="//div[1]" position="before">
    <h1>Arbeitsrapport</h1>
    <span id="title">
      <strong t-field="doc.name"/>
    </span>
    <table>
      <tr>
        <td style="width:120px">
                      Kunde:
        </td>
        <td style="width:700px">
          <span t-field="doc.partner_id"/>
          <t t-if="doc.partner_id.ref">
                      /
            <span t-field="doc.partner_id.ref"/>
          </t>
        </td>
      </tr>
      <tr>
        <td>Benutzer:</td>
        <td>
          <span t-field="doc.x_user_text"/>
        </td>
      </tr>
      <tr>
        <td>Systemname:</td>
        <td>
          <span t-field="doc.x_systemname"/>
        </td>
      </tr>
    </table>
  </xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom.add_info.xmlopen in new window

Replace Layout

ID: mint_system.industry_fsm.worksheet_custom.replace_layout

<?xml version="1.0"?>
<data inherit_id="industry_fsm.worksheet_custom" priority="50">

  <xpath expr="//t[@t-call='web.external_layout']" position="replace">
    <t t-call="web.external_layout_worksheet">
      <t t-call="industry_fsm.worksheet_custom_page" t-lang="doc.partner_id.lang"/>
    </t>
  </xpath>

</data>

Source: snippets/industry_fsm.worksheet_custom.replace_layout.xmlopen in new window