mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[UPD] PR review's remarks
This commit is contained in:
committed by
Patrick Wilson
parent
ddd2c80dfe
commit
4232b8d6fc
@@ -11,14 +11,13 @@
|
|||||||
"website": "https://github.com/OCA/contract",
|
"website": "https://github.com/OCA/contract",
|
||||||
"category": "Partner",
|
"category": "Partner",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"version": "12.0.1.0.0",
|
"version": "12.0.1.0.1",
|
||||||
"depends": ["contacts", "agreement", "product"],
|
"depends": ["contacts", "agreement", "product"],
|
||||||
"data": [
|
"data": [
|
||||||
"data/ir_sequence.xml",
|
"data/ir_sequence.xml",
|
||||||
"data/module_category.xml",
|
"data/module_category.xml",
|
||||||
"data/agreement_stage.xml",
|
"data/agreement_stage.xml",
|
||||||
"data/agreement_type.xml",
|
"data/agreement_type.xml",
|
||||||
"demo/demo.xml",
|
|
||||||
"security/res_groups.xml",
|
"security/res_groups.xml",
|
||||||
"security/ir.model.access.csv",
|
"security/ir.model.access.csv",
|
||||||
"report/agreement.xml",
|
"report/agreement.xml",
|
||||||
@@ -36,6 +35,9 @@
|
|||||||
"views/agreement.xml",
|
"views/agreement.xml",
|
||||||
"views/menu.xml",
|
"views/menu.xml",
|
||||||
],
|
],
|
||||||
|
"demo": [
|
||||||
|
"demo/demo.xml"
|
||||||
|
],
|
||||||
"post_init_hook": "post_init_agreement_legal",
|
"post_init_hook": "post_init_agreement_legal",
|
||||||
"application": True,
|
"application": True,
|
||||||
"development_status": "Beta",
|
"development_status": "Beta",
|
||||||
|
|||||||
@@ -6,143 +6,35 @@
|
|||||||
|
|
||||||
<odoo noupdate="1">
|
<odoo noupdate="1">
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market1')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market1" model="agreement">
|
<record id="agreement.market1" model="agreement">
|
||||||
<field name="description">Hardware IT (C2C-IT0042)</field>
|
<field name="description">Hardware IT (C2C-IT0042)</field>
|
||||||
<field name="agreement_type_id">1</field>
|
<field name="agreement_type_id" ref="agreement_type_agreement"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market1')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market2')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market2" model="agreement">
|
<record id="agreement.market2" model="agreement">
|
||||||
<field name="description">Fiber access office Lausanne (C2C-IT0043)</field>
|
<field name="description">Fiber access office Lausanne (C2C-IT0043)</field>
|
||||||
<field name="agreement_type_id">2</field>
|
<field name="agreement_type_id" ref="agreement_type_contract"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market2')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market3')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market3" model="agreement">
|
<record id="agreement.market3" model="agreement">
|
||||||
<field name="description">Vétérinaire (AGR-VETO001)</field>
|
<field name="description">Vétérinaire (AGR-VETO001)</field>
|
||||||
<field name="agreement_type_id">3</field>
|
<field name="agreement_type_id" ref="agreement_type_loi"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market3')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market4')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market4" model="agreement">
|
<record id="agreement.market4" model="agreement">
|
||||||
<field name="description">Wazo IPBX deployment and maintenance (AGR-TEL001)</field>
|
<field name="description">Wazo IPBX deployment and maintenance (AGR-TEL001)</field>
|
||||||
<field name="agreement_type_id">3</field>
|
<field name="agreement_type_id" ref="agreement_type_loi"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market4')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market5')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market5" model="agreement">
|
<record id="agreement.market5" model="agreement">
|
||||||
<field name="description">SIP Phones supply (BUY-VOIP012)</field>
|
<field name="description">SIP Phones supply (BUY-VOIP012)</field>
|
||||||
<field name="agreement_type_id">1</field>
|
<field name="agreement_type_id" ref="agreement_type_agreement"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market5')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market6')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<value eval="{'noupdate': False}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
<record id="agreement.market6" model="agreement">
|
<record id="agreement.market6" model="agreement">
|
||||||
|
<field name="is_template">True</field>
|
||||||
<field name="description">SIP-ISDN gateways (BUY-VOIP013)</field>
|
<field name="description">SIP-ISDN gateways (BUY-VOIP013)</field>
|
||||||
<field name="agreement_type_id">2</field>
|
<field name="agreement_type_id" ref="agreement_legal.agreement_type_contract"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<function name="write" model="ir.model.data">
|
|
||||||
<function name="search" model="ir.model.data">
|
|
||||||
<value
|
|
||||||
eval="[('module', '=', 'agreement'), ('name', '=', 'market6')]"
|
|
||||||
/>
|
|
||||||
</function>
|
|
||||||
<value eval="{'noupdate': True}" />
|
|
||||||
</function>
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user