Ir Model

Account Bank Statement

X Cashbox End Ids

ID: mint_system.ir_model.account_bank_statement.x_cashbox_end_ids

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_cashbox_end_ids" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Kassenprüfung Endpositionen</field>
    <field name="model">account.bank.statement</field>
    <field name="model_id" ref="account.model_account_bank_statement"/>
    <field name="name">x_cashbox_end_ids</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">cashbox_end_id.cashbox_lines_ids</field>
    <field name="relation">account.cashbox.line</field>
    <field name="relation_fields">cashbox_id</field>
  </record>
  
</odoo>

Source: snippets/ir_model.account_bank_statement.x_cashbox_end_ids.xmlopen in new window

X Cashbox Start Ids

ID: mint_system.ir_model.account_bank_statement.x_cashbox_start_ids

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_cashbox_start_ids" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Kassenprüfung Startpositionen</field>
    <field name="model">account.bank.statement</field>
    <field name="model_id" ref="account.model_account_bank_statement"/>
    <field name="name">x_cashbox_start_ids</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">cashbox_start_id.cashbox_lines_ids</field>
    <field name="relation">account.cashbox.line</field>
    <field name="relation_fields">cashbox_id</field>
  </record>
  
</odoo>

Source: snippets/ir_model.account_bank_statement.x_cashbox_start_ids.xmlopen in new window

Account Move Line

X Sale Order Id

ID: mint_system.ir_model.account_move_line.x_sale_order_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_sale_order_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Verkaufsauftrag</field>
    <field name="model">account.move.line</field>
    <field name="model_id" ref="account.model_account_move_line"/>
    <field name="name">x_sale_order_id</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">sale.order</field>
    <field name="depends">sale_line_ids</field>
    <field name="compute">for record in self:
  record['x_sale_order_id'] = record.sale_line_ids[0].order_id if record.sale_line_ids else 0
    </field>
  </record>
  
</odoo>

Source: snippets/ir_model.account_move_line.x_sale_order_id.xmlopen in new window

Account Move

X Account Codes

ID: mint_system.ir_model.account_move.x_account_codes

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_account_codes" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Account Codes</field>
    <field name="model">account.move</field>
    <field name="model_id" ref="account.model_account_move"/>
    <field name="name">x_account_codes</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
    <field name="depends">line_ids</field>
    <field name="compute">for record in self:
  codes = record.line_ids.mapped('account_id.code')
  codes.sort()
  record['x_account_codes'] = ",".join(codes)
    </field>
  </record>

</odoo>

Source: snippets/ir_model.account_move.x_account_codes.xmlopen in new window

X Date Done

ID: mint_system.ir_model.account_move.x_date_done

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_done" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">date_done</field>
    <field name="model">account.move</field>
    <field name="model_id" ref="account.model_account_move"/>
    <field name="name">x_date_done</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">date</field>
    <field name="related">picking_ids.date_done</field>
  </record>

</odoo>

Source: snippets/ir_model.account_move.x_date_done.xmlopen in new window

X Picking List

ID: mint_system.ir_model.account_move.x_picking_list

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_picking_list" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Picking List</field>
    <field name="model">account.move</field>
    <field name="model_id" ref="account.model_account_move"/>
    <field name="name">x_picking_list</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
    <field name="depends">picking_ids</field>
    <field name="compute">for record in self:
      picking_ids = record.picking_ids.mapped('name')
      if picking_ids:
        picking_list = ", ".join(picking_ids)
        record['x_picking_list'] = picking_list
        record['invoice_origin'] = picking_list</field>
  </record>

</odoo>

Source: snippets/ir_model.account_move.x_picking_list.xmlopen in new window

X Studio Description

ID: mint_system.ir_model.account_move.x_studio_description

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_studio_description" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Beschreibung Rechnung</field>
    <field name="model">account.move</field>
    <field name="model_id" ref="sale.model_sale_order"/>
    <field name="name">x_studio_description</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="ttype">text</field>
    <field name="copied" eval="True"/>
  </record>

</odoo>

Source: snippets/ir_model.account_move.x_studio_description.xmlopen in new window

Agreement Agreement

X Group Ids

ID: mint_system.ir_model.agreement_agreement.x_group_ids

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_group_ids" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Gruppen</field>
    <field name="model">agreement.agreement</field>
    <field name="model_id" ref="crm.model_crm_lead"/>
    <field name="name">x_group_ids</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2many</field>
    <field name="relation">res.groups</field>
  </record>

</odoo>

Source: snippets/ir_model.agreement_agreement.x_group_ids.xmlopen in new window

X User Ids

ID: mint_system.ir_model.agreement_agreement.x_user_ids

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_user_ids" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Benutzer</field>
    <field name="model">agreement.agreement</field>
    <field name="model_id" ref="crm.model_crm_lead"/>
    <field name="name">x_user_ids</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2many</field>
    <field name="relation">res.users</field>
  </record>

</odoo>

Source: snippets/ir_model.agreement_agreement.x_user_ids.xmlopen in new window

Business Requirement

X Estimated Cost

ID: mint_system.ir_model.business_requirement.x_estimated_cost

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_estimated_cost" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Estimated Cost</field>
    <field name="model">business.requirement</field>
    <field name="model_id" ref="business_requirement.model_business_requirement"/>
    <field name="name">x_estimated_cost</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">monetary</field>
  </record>

</odoo>

Source: snippets/ir_model.business_requirement.x_estimated_cost.xmlopen in new window

X Planned Hours

ID: mint_system.ir_model.business_requirement.x_planned_hours

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_planned_hours" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Planned Hours</field>
    <field name="model">business.requirement</field>
    <field name="model_id" ref="business_requirement.model_business_requirement"/>
    <field name="name">x_planned_hours</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">float</field>
  </record>

</odoo>

Source: snippets/ir_model.business_requirement.x_planned_hours.xmlopen in new window

X Project Id

ID: mint_system.ir_model.business_requirement.x_project_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_project_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Project</field>
    <field name="model">business.requirement</field>
    <field name="model_id" ref="business_requirement.model_business_requirement"/>
    <field name="name">x_project_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">project.project</field>
  </record>

</odoo>

Source: snippets/ir_model.business_requirement.x_project_id.xmlopen in new window

X Task Id

ID: mint_system.ir_model.business_requirement.x_task_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_task_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Task</field>
    <field name="model">business.requirement</field>
    <field name="model_id" ref="business_requirement.model_business_requirement"/>
    <field name="name">x_task_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">project.task</field>
    <!-- <field name="depends">x_project_id</field>
    <field name="compute">for record in self:
  record['x_task_id'] = self.env['project.task'].search([('x_business_requirement_id', '=', record.id)], limit=1) -->
    <!-- </field> -->
  </record>

</odoo>

Source: snippets/ir_model.business_requirement.x_task_id.xmlopen in new window

Crm Lead

X Date Start

ID: mint_system.ir_model.crm_lead.x_date_start

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_start" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Date Start</field>
    <field name="model">crm.lead</field>
    <field name="model_id" ref="crm.model_crm_lead"/>
    <field name="name">x_date_start</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">datetime</field>
  </record>

</odoo>

Source: snippets/ir_model.crm_lead.x_date_start.xmlopen in new window

X Date Stop

ID: mint_system.ir_model.crm_lead.x_date_stop

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_stop" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Date Stop</field>
    <field name="model">crm.lead</field>
    <field name="model_id" ref="crm.model_crm_lead"/>
    <field name="name">x_date_stop</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">datetime</field>
    <field name="depends">x_date_start</field>
    <field name="compute">for record in self:
  record['x_date_stop'] = (record.x_date_start + datetime.timedelta(minutes=30))
    </field>
  </record>

</odoo>

Source: snippets/ir_model.crm_lead.x_date_stop.xmlopen in new window

X Mobile

ID: mint_system.ir_model.crm_lead.x_mobile

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_mobile" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Mobile</field>
    <field name="model">crm.lead</field>
    <field name="model_id" ref="crm.model_crm_lead"/>
    <field name="name">x_mobile</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">res.partner</field>
    <field name="related">partner_id.mobile</field>
  </record>

</odoo>

Source: snippets/ir_model.crm_lead.x_mobile.xmlopen in new window

Helpdesk Ticket

X Date Deadline

ID: mint_system.ir_model.helpdesk_ticket.x_date_deadline

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_deadline" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Frist</field>
    <field name="model">helpdesk.ticket</field>
    <field name="model_id" ref="helpdesk.model_helpdesk_ticket"/>
    <field name="name">x_date_deadline</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">datetime</field>    
  </record>

</odoo>

Source: snippets/ir_model.helpdesk_ticket.x_date_deadline.xmlopen in new window

Hr Applicant

X Gdpr

ID: mint_system.ir_model.hr_applicant.x_gdpr

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_gdpr" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Datenschutz</field>
    <field name="model">hr.applicant</field>
    <field name="model_id" ref="hr.model_hr_applicant"/>
    <field name="name">x_date_order</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">boolean</field>
    <field name="website_form_blacklisted" eval="False"/>
  </record>

</odoo>

Source: snippets/ir_model.hr_applicant.x_gdpr.xmlopen in new window

Hr Contract

X Struct Id

ID: mint_system.ir_model.hr_contract.x_struct_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_struct_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lohnstruktur</field>
    <field name="model">hr.applicant</field>
    <field name="model_id" ref="hr.model_hr_contract"/>
    <field name="name">x_struct_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">hr.payroll.structure</field>
  </record>

</odoo>

Source: snippets/ir_model.hr_contract.x_struct_id.xmlopen in new window

Mrp Bom

X Note

ID: mint_system.ir_model.mrp_bom.x_note

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_note" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Notiz</field>
    <field name="model">mrp.bom</field>
    <field name="model_id" ref="mrp.model_mrp_bom"/>
    <field name="name">x_note</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_bom.x_note.xmlopen in new window

X Type Description

ID: mint_system.ir_model.mrp_bom.x_type_description

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_type_description" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Typenbezeichnung</field>
    <field name="model">mrp.bom</field>
    <field name="model_id" ref="mrp.model_mrp_bom"/>
    <field name="name">x_type_description</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">char</field>
    <field name="related">product_tmpl_id.type_description</field>
    <field name="depends">product_tmpl_id.type_description</field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_bom.x_type_description.xmlopen in new window

Mrp Production

X Date Deadline

ID: mint_system.ir_model.mrp_production.x_date_deadline

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_deadline" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Frist</field>
    <field name="model">mrp.production</field>
    <field name="model_id" ref="mrp.model_mrp_production"/>
    <field name="name">x_date_deadline</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">datetime</field>    
  </record>

</odoo>

Source: snippets/ir_model.mrp_production.x_date_deadline.xmlopen in new window

X Note

ID: mint_system.ir_model.mrp_production.x_note

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_note" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Notiz</field>
    <field name="model">mrp.production</field>
    <field name="model_id" ref="mrp.model_mrp_production"/>
    <field name="name">x_note</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
    <field name="depends">product_id,bom_id</field>
    <field name="compute">for record in self:
  if not record.x_note:
    record['x_note'] = record.bom_id.x_note
    </field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_production.x_note.xmlopen in new window

Mrp Workorder

X Reservation State

ID: mint_system.ir_model.mrp_workorder.x_reservation_state

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_reservation_state" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Materialverfügbarkeit</field>
    <field name="model">mrp.workorder</field>
    <field name="model_id" ref="mrp.model_mrp_workorder"/>
    <field name="name">x_reservation_state</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">selection</field>
    <field name="related">production_id.reservation_state</field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_workorder.x_reservation_state.xmlopen in new window

X Type Description2

ID: mint_system.ir_model.mrp_workorder.x_type_description2

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_type_description2" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Typenbezeichnung 2</field>
    <field name="model">mrp.workorder</field>
    <field name="model_id" ref="mrp.model_mrp_workorder"/>
    <field name="name">x_type_description2</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="related">product_id.type_description2</field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_workorder.x_type_description2.xmlopen in new window

X Type Description

ID: mint_system.ir_model.mrp_workorder.x_type_description

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_type_description" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Typenbezeichnung</field>
    <field name="model">mrp.workorder</field>
    <field name="model_id" ref="mrp.model_mrp_workorder"/>
    <field name="name">x_type_description</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="related">product_id.type_description</field>
  </record>

</odoo>

Source: snippets/ir_model.mrp_workorder.x_type_description.xmlopen in new window

Product Set Line

X Categ Id

ID: mint_system.ir_model.product_set_line.x_categ_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_categ_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Kategorei</field>
    <field name="model">product.set.line</field>
    <field name="model_id" ref="product.model_product_set_line"/>
    <field name="name">x_categ_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">product.category</field>
    <field name="related">product_id.categ_id</field>
  </record>

</odoo>

Source: snippets/ir_model.product_set_line.x_categ_id.xmlopen in new window

Product Template

X Expiration Days

ID: mint_system.ir_model.product_template.x_expiration_days

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_expiration_days" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Haltbarkeit in Tagen</field>
    <field name="model">product.template</field>
    <field name="model_id" ref="product.model_product_template"/>
    <field name="name">x_expiration_days</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">int</field>
  </record>

</odoo>

Source: snippets/ir_model.product_template.x_expiration_days.xmlopen in new window

X Hide On Delivery

ID: mint_system.ir_model.product_template.x_hide_on_delivery

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_hide_on_delivery" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Auf Lieferschein ausblenden</field>
    <field name="model">product.template</field>
    <field name="model_id" ref="product.model_product_template"/>
    <field name="name">x_hide_on_delivery</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="False"/>
    <field name="ttype">boolean</field>
  </record>

</odoo>

Source: snippets/ir_model.product_template.x_hide_on_delivery.xmlopen in new window

X Product Label

ID: mint_system.ir_model.product_template.x_product_label

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_product_label" model="ir.model.fields"> 
    <field name="field_description">Label Layout</field>
    <field name="model">product.template</field>
    <field name="model_id" ref=" product.model_product_template"/>
    <field name="name">x_product_label</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">Many2One</field>
    <field name="help">Label to be used when printing</field>
    <field name="relation">ir.actions.report</field>
    <field name="group_expand" eval="False"/> 
    <field name="on_delete">Set NULL</field>
    <field name="domain">[]</field>
  </record>

</odoo>

Source: snippets/ir_model.product_template.x_product_label.xmlopen in new window

X Storage Temperature

ID: mint_system.ir_model.product_template.x_storage_temperature

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_storage_temperature" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Aufbewahrung bei</field>
    <field name="model">product.template</field>
    <field name="model_id" ref="product.model_product_template"/>
    <field name="name">x_storage_temperature</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">int</field>
  </record>

</odoo>

Source: snippets/ir_model.product_template.x_storage_temperature.xmlopen in new window

X Xml Id

ID: mint_system.ir_model.product_template.x_xml_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_xml_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">External ID</field>
    <field name="model">product.template</field>
    <field name="model_id" ref="product.model_product_template"/>
    <field name="name">x_xml_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">char</field>
    <field name="depends">name</field>
    <field name="compute">res = self.get_external_id()
for record in self:
  record['x_xml_id'] = res.get(record.id)
    </field>
  </record>

</odoo>

Source: snippets/ir_model.product_template.x_xml_id.xmlopen in new window

Project Task

X Business Requirement Id

ID: mint_system.ir_model.project_task.x_business_requirement_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_business_requirement_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Business Requirement</field>
    <field name="model">project.task</field>
    <field name="model_id" ref="project.model_project_task"/>
    <field name="name">x_business_requirement_id</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">business.requirement</field>
    <field name="depends">project_id</field>
    <field name="compute">for record in self:
  record['x_business_requirement_id'] = self.env['business.requirement'].search([('x_task_id', '=', record.id)], limit=1)
    </field>
  </record>

</odoo>

Source: snippets/ir_model.project_task.x_business_requirement_id.xmlopen in new window

X Vehicle Id

ID: mint_system.ir_model.project_task.x_vehicle_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_vehicle_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Fahrzeug</field>
    <field name="model">project.task</field>
    <field name="model_id" ref="product.model_project_task"/>
    <field name="name">x_vehicle_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">fleet.vehicle</field>
  </record>

</odoo>

Source: snippets/ir_model.project_task.x_vehicle_id.xmlopen in new window

Purchase Order Line

X Date Approve

ID: mint_system.ir_model.purchase_order_line.x_date_approve

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_approve" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Bestätigung am</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_date_approve</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">date</field>
    <field name="related">order_id.date_approve</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_date_approve.xmlopen in new window

X Drawing File

ID: mint_system.ir_model.purchase_order_line.x_drawing_file

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_drawing_file" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Zeichnung</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_drawing_file</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">product_id.drawing_file</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_drawing_file.xmlopen in new window

X Origin

ID: mint_system.ir_model.purchase_order_line.x_origin

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_origin" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Referenzbeleg</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_origin</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">char</field>
    <field name="related">order_id.origin</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_origin.xmlopen in new window

X Partner Ref

ID: mint_system.ir_model.purchase_order_line.x_partner_ref

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_partner_ref" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lieferantenreferenz</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_partner_ref</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
    <field name="related">order_id.partner_ref</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_partner_ref.xmlopen in new window

X State

ID: mint_system.ir_model.purchase_order_line.x_state

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_state" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Status Bestellposition</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_state</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">selection</field>
    <field name="related">order_id.state</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_state.xmlopen in new window

X User Id

ID: mint_system.ir_model.purchase_order_line.x_user_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_user_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Einkaufsbeauftragter</field>
    <field name="model">purchase.order.line</field>
    <field name="model_id" ref="purchase.model_purchase_order_line"/>
    <field name="name">x_user_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">res.users</field>
    <field name="related">order_id.user_id</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order_line.x_user_id.xmlopen in new window

Purchase Order

X Comment

ID: mint_system.ir_model.purchase_order.x_comment

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_comment" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Kommentar</field>
    <field name="model">purchase.order</field>
    <field name="model_id" ref="purchase.model_purchase_order"/>
    <field name="name">x_comment</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">text</field>
  </record>

</odoo>

Source: snippets/ir_model.purchase_order.x_comment.xmlopen in new window

Res Partner

X Stock Move Ids

ID: mint_system.ir_model.res_partner.x_stock_move_ids

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_stock_move_ids" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lagerbuchungen</field>
    <field name="model">res.partner</field>
    <field name="model_id" ref="base.model_res_partner"/>
    <field name="name">x_stock_move_ids</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">one2many</field>
    <field name="relation">stock.move</field>
    <field name="relation_field">x_picking_partner_id</field>
  </record>

</odoo>

Source: snippets/ir_model.res_partner.x_stock_move_ids.xmlopen in new window

Sale Order Line

X Categ Id

ID: mint_system.ir_model.sale_order_line.x_categ_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_categ_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Produktkategorie</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_categ_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">product_id.categ_id</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_categ_id.xmlopen in new window

X Client Order Ref

ID: mint_system.ir_model.sale_order_line.x_client_order_ref

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_client_order_ref" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Kundenreferenz</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_client_order_ref</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">text</field>
    <field name="related">order_id.client_order_ref</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_client_order_ref.xmlopen in new window

X Commitment Date

ID: mint_system.ir_model.sale_order_line.x_commitment_date

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_commitment_date" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lieferdatum</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_commitment_date</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">date</field>
    <field name="related">order_id.commitment_date</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_commitment_date.xmlopen in new window

X Date Order

ID: mint_system.ir_model.sale_order_line.x_date_order

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_date_order" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Auftragsdatum</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_date_order</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">date</field>
    <field name="related">order_id.date_order</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_date_order.xmlopen in new window

X Drawing File

ID: mint_system.ir_model.sale_order_line.x_drawing_file

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_drawing_file" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Zeichnung</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_drawing_file</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">product_id.drawing_file</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_drawing_file.xmlopen in new window

X Industry Id

ID: mint_system.ir_model.sale_order_line.x_industry_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_industry_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Branche</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_industry_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">order_partner_id.industry_id</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_industry_id.xmlopen in new window

X Margin Percent

ID: mint_system.ir_model.sale_order_line.x_margin_percent

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_margin_percent" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Marge (%)</field>
    <field name="help">Marge Aufschlagsrechnung</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_margin_percent</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">float</field>
    <field name="depends">margin_percent</field>
    <field name="compute">for line in self:
  if line.product_id.type == 'product' and line.purchase_price != 0:
    line['x_margin_percent'] = (line.price_unit-line.purchase_price)/(line.purchase_price)
  else:
    line['x_margin_percent'] = 0
    line['margin'] = 0</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_margin_percent.xmlopen in new window

X Pricelist Id

ID: mint_system.ir_model.sale_order_line.x_pricelist_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_pricelist_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Preisliste</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_pricelist_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="related">order_id.pricelist_id</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_pricelist_id.xmlopen in new window

X State

ID: mint_system.ir_model.sale_order_line.x_state

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_state" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Status Auftragsposition</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_state</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">selection</field>
    <field name="related">order_id.state</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_state.xmlopen in new window

X Taxed Amount Invoiced

ID: mint_system.ir_model.sale_order_line.x_taxed_amount_invoiced

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_taxed_amount_invoiced" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Rechnungsbetrag inkl. MWST</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line"/>
    <field name="name">x_taxed_amount_invoiced</field>
    <field name="store" eval="True" />
    <field name="readonly" eval="False" />
    <field name="copied" eval="False" />
    <field name="ttype">float</field>
    <field name="depends">untaxed_amount_invoiced,price_tax</field>
    <field name="compute">for rec in self:
      rec['x_taxed_amount_invoiced'] = rec.price_unit * rec.qty_delivered + rec.price_tax</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_taxed_amount_invoiced.xmlopen in new window

X Weight Delivered

ID: mint_system.ir_model.sale_order_line.x_weight_delivered

<?xml version='1.0' encoding='UTF-8'?>
<odoo>

  <record id="x_weight_delivered" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Geliefertes Gewicht</field>
    <field name="model">sale.order.line</field>
    <field name="model_id" ref="sale.model_sale_order_line" />
    <field name="name">x_weight_delivered</field>
    <field name="store" eval="True" />
    <field name="readonly" eval="True" />
    <field name="copied" eval="False" />
    <field name="ttype">float</field>
    <field name="depends">qty_delivered</field>
    <field name="compute">for rec in self:
      rec['x_weight_delivered'] = rec.product_id.weight * rec.qty_delivered</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order_line.x_weight_delivered.xmlopen in new window

Sale Order

X Product Uom Qty

ID: mint_system.ir_model.sale_order.x_product_uom_qty

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_product_uom_qty" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Gesamtmenge</field>
    <field name="model">sale.order</field>
    <field name="model_id" ref="sale.model_sale_order"/>
    <field name="name">x_product_uom_qty</field>
    <field name="state">manual</field>
    <field name="store" eval="False"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">float</field>
    <field name="depends">order_line</field>
    <field name="compute">for rec in self:
      lines = rec.order_line.filtered(lambda l: l.product_id.categ_id.name == 'Ware')
      rec['x_product_uom_qty'] = sum(lines.mapped(lambda l: l.product_id.weight * l.product_uom_qty))</field>
  </record>

</odoo>

Source: snippets/ir_model.sale_order.x_product_uom_qty.xmlopen in new window

X Studio Description

ID: mint_system.ir_model.sale_order.x_studio_description

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_studio_description" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Beschreibung Verkausauftrag</field>
    <field name="model">sale.order</field>
    <field name="model_id" ref="sale.model_sale_order"/>
    <field name="name">x_studio_description</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="ttype">text</field>
    <field name="copied" eval="True"/>
  </record>

</odoo>

Source: snippets/ir_model.sale_order.x_studio_description.xmlopen in new window

Stock Move

X Count Boxes

ID: mint_system.ir_model.stock_move.x_count_boxes

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_count_boxes" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Anzahl Kisten</field>
    <field name="model">stock.move</field>
    <field name="model_id" ref="stock.model_stock_move"/>
    <field name="name">x_count_boxes</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">int</field>
    <field name="depends">quantity_done</field>
    <field name="compute">for rec in self:
      if rec.product_packaging:
        if rec.product_packaging.name == "Schale Gross":
          rec['x_count_boxes'] = (rec.quantity_done/4 + 2.4)/2.5
        elif rec.product_packaging.name == "Schale Klein":
          rec['x_count_boxes'] = (rec.quantity_done/6 + 0.9)/1
        elif rec.product_packaging.name == "Vakuum Gross":
          rec['x_count_boxes'] = (rec.quantity_done/4 + 2.4)/2.5
        elif rec.product_packaging.name == "Vakuum Klein":
          if rec.product_id.id == 68:
            rec['x_count_boxes'] = (rec.product_uom_qty + 9)/10
          else:
            rec['x_count_boxes'] = (rec.quantity_done/8 + 0.9)/1
        elif rec.product_packaging.name == "Kiste":
          if rec.product_id.id == 68:
            rec['x_count_boxes'] = (rec.product_uom_qty + 9)/10
          elif rec.product_id.id == 51:
            rec['x_count_boxes'] = (rec.product_uom_qty + 99)/100
          else:
            rec['x_count_boxes'] = (rec.product_uom_qty + 14)/15
        elif rec.product_packaging.name == "Karton":
          rec['x_count_boxes'] = 0
      else:
        rec['x_count_boxes'] = 0</field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_count_boxes.xmlopen in new window

X Count Packaging

ID: mint_system.ir_model.stock_move.x_count_packaging

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_count_packaging" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Anzahl Verpackungen</field>
    <field name="model">stock.move</field>
    <field name="model_id" ref="stock.model_stock_move"/>
    <field name="name">x_count_packaging</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">int</field>
    <field name="depends">product_uom_qty</field>
    <field name="compute">for rec in self:
	if rec.product_packaging:
		if rec.product_packaging.name == "Kiste":
		  rec['x_count_packaging'] = (rec.product_uom_qty + 14)/15
		if rec.product_packaging.name == "Schale Gross":
			rec['x_count_packaging'] = (rec.product_uom_qty + 2.4)/2.5
		if rec.product_packaging.name in ["Vakuum", "Schale Klein", "Karton"]:
			rec['x_count_packaging'] = (rec.product_uom_qty + 0.9)/1</field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_count_packaging.xmlopen in new window

X Operation Qty

ID: mint_system.ir_model.stock_move.x_operation_qty

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_operation_qty" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Inventory +/-</field>
    <field name="model">stock.move</field>
    <field name="model_id" ref="stock.model_stock_move"/>
    <field name="name">x_operation_qty</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">float</field>
    <field name="depends">product_uom_qty</field>
    <field name="compute">for record in self:
  if (record.location_id.id == self.env.ref('stock.stock_location_stock').id):
    record['x_operation_qty'] = -1 * record.product_uom_qty
  else:
    record['x_operation_qty'] = record.product_uom_qty
    </field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_operation_qty.xmlopen in new window

X Packaging Uom Id

ID: mint_system.ir_model.stock_move.x_packaging_uom_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="packaging_uom_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Mengeneinheit</field>
    <field name="model">product.packaging</field>
    <field name="model_id" ref="product.model_product_packaging"/>
    <field name="name">x_packaging_uom_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="False"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">uom.uom</field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_packaging_uom_id.xmlopen in new window

X Picking Partner Id

ID: mint_system.ir_model.stock_move.x_picking_partner_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_picking_partner_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lieferadresse</field>
    <field name="model">stock.move</field>
    <field name="model_id" ref="stock.model_stock_move"/>
    <field name="name">x_picking_partner_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">res.partner</field>
    <field name="related">picking_id.partner_id</field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_picking_partner_id.xmlopen in new window

X Scrap Id

ID: mint_system.ir_model.stock_move.x_scrap_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_scrap_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Buchung Lagerschwund</field>
    <field name="model">product.packaging</field>
    <field name="model_id" ref="product.model_product_packaging"/>
    <field name="name">x_scrap_id</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="True"/>
    <field name="ttype">many2one</field>
    <field name="relation">stock.move</field>
    <field name="depends">state</field>
    <field name="compute">for record in self:
  if record.state == 'done':
    
    record['x_scrap_id'] = 1
  else:
    
    record['x_scrap_id'] = 0
    </field>
  </record>

</odoo>

Source: snippets/ir_model.stock_move.x_scrap_id.xmlopen in new window

Stock Quant

X Last Delivery Partner Id

ID: mint_system.ir_model.stock_quant.x_last_delivery_partner_id

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_last_delivery_partner_id" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Lieferadresse</field>
    <field name="model">stock.quant</field>
    <field name="model_id" ref="stock.model_stock_quant"/>
    <field name="name">x_last_delivery_partner_id</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">many2one</field>
    <field name="relation">res.partner</field>
    <field name="related">lot_id.last_delivery_partner_id</field>
  </record>

</odoo>

Source: snippets/ir_model.stock_quant.x_last_delivery_partner_id.xmlopen in new window