2019-11-12 16:16:14 +05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-08 17:16:01 +05:00
|
|
|
<odoo>
|
|
|
|
|
|
|
|
<act_window id="res_partner_contract_wizard_action"
|
|
|
|
name="Contract wizard"
|
|
|
|
res_model="res.partner.contract.wizard"
|
|
|
|
src_model="res.partner.contract"
|
|
|
|
view_mode="form"
|
|
|
|
target="new"/>
|
|
|
|
|
|
|
|
<report
|
|
|
|
id="contract_company_template"
|
|
|
|
model="res.partner.contract.wizard"
|
|
|
|
string="Contract"
|
|
|
|
report_type="qweb-pdf"
|
|
|
|
name="client_contracts.contract_template"
|
|
|
|
file="client_contracts.contract_template"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<report
|
|
|
|
id="contract_personal_template"
|
|
|
|
model="res.partner.contract.wizard"
|
|
|
|
string="Contract"
|
|
|
|
report_type="qweb-pdf"
|
|
|
|
name="client_contracts.contract_fiz_template"
|
|
|
|
file="client_contracts.contract_fiz_template"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<report
|
|
|
|
id="contract_appex_only_template_print"
|
|
|
|
model="res.partner.contract.wizard"
|
|
|
|
string="Contract"
|
|
|
|
report_type="qweb-pdf"
|
|
|
|
name="client_contracts.contract_appex_only_template"
|
|
|
|
file="client_contracts.contract_appex_only_template"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<record id="res_partner_contract_wizard_view" model="ir.ui.view">
|
|
|
|
<field name="name">Contract print wizard</field>
|
|
|
|
<field name="model">res.partner.contract.wizard</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form>
|
|
|
|
<group>
|
2019-12-11 20:11:20 +05:00
|
|
|
<!--
|
2018-11-12 15:01:28 +05:00
|
|
|
<group name="template" string="Templates">
|
2019-12-04 15:31:40 +05:00
|
|
|
<field name="template" string="Templates">
|
|
|
|
<field name="attachment_id"/>
|
|
|
|
</field>
|
2018-11-12 13:27:26 +05:00
|
|
|
</group>
|
2019-12-11 20:11:20 +05:00
|
|
|
-->
|
2019-12-11 19:49:09 +05:00
|
|
|
<group name="requisites" string="Requisites">
|
|
|
|
<field name="partner_id" string="Partner" readonly="1"/>
|
|
|
|
<field name="company_id" string="Seller" readonly="1"/>
|
2018-11-08 17:16:01 +05:00
|
|
|
</group>
|
|
|
|
<group name="terms" string="Delivery and payment terms">
|
|
|
|
<field name="payment_terms"/>
|
|
|
|
<field name="delivery_terms"/>
|
|
|
|
</group>
|
2019-12-11 16:58:10 +05:00
|
|
|
<group string="Contract values" colspan="4">
|
2019-12-10 16:27:36 +05:00
|
|
|
<field name="transient_field_ids">
|
2019-12-12 16:13:15 +05:00
|
|
|
<tree editable="1" create="0" delete="0">
|
2019-12-10 16:27:36 +05:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="value"/>
|
|
|
|
<field name="description"/>
|
2019-12-11 19:49:09 +05:00
|
|
|
<field name="technical_name" invisible="1"/>
|
2019-12-10 16:27:36 +05:00
|
|
|
</tree>
|
|
|
|
</field>
|
2018-11-09 14:18:23 +05:00
|
|
|
</group>
|
2018-11-08 17:16:01 +05:00
|
|
|
</group>
|
2019-12-11 18:25:56 +05:00
|
|
|
<button string="Create a document" type="object" name="get_docx_contract" />
|
2019-12-12 16:11:01 +05:00
|
|
|
<footer/>
|
2018-11-08 17:16:01 +05:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2019-11-13 15:26:10 +05:00
|
|
|
</odoo>
|