Browse Source

Merge pull request #339 from ygol/12.0-feat-demodata

[IMP] [12.0] agreement_legal: Amend demo data with new fields #306
pull/344/head
Maxime Chambreuil 6 years ago
committed by GitHub
parent
commit
44d140e579
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      agreement_legal/__manifest__.py
  2. 40
      agreement_legal/demo/demo.xml

7
agreement_legal/__manifest__.py

@ -11,7 +11,7 @@
"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.1.0",
"depends": ["contacts", "agreement", "product"], "depends": ["contacts", "agreement", "product"],
"data": [ "data": [
"data/ir_sequence.xml", "data/ir_sequence.xml",
@ -35,8 +35,11 @@
"views/agreement.xml", "views/agreement.xml",
"views/menu.xml", "views/menu.xml",
], ],
"demo": [
"demo/demo.xml"
],
'qweb': [ 'qweb': [
"static/src/xml/domain_widget_view.xml",
"static/src/xml/domain_widget_view.xml"
], ],
"post_init_hook": "post_init_agreement_legal", "post_init_hook": "post_init_agreement_legal",
"application": True, "application": True,

40
agreement_legal/demo/demo.xml

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2019 Ygol Internetwork (yves@ygol.com)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="agreement.market1" model="agreement">
<field name="description">Hardware IT (C2C-IT0042)</field>
<field name="agreement_type_id" ref="agreement_type_agreement"/>
</record>
<record id="agreement.market2" model="agreement">
<field name="description">Fiber access office Lausanne (C2C-IT0043)</field>
<field name="agreement_type_id" ref="agreement_type_contract"/>
</record>
<record id="agreement.market3" model="agreement">
<field name="description">Vétérinaire (AGR-VETO001)</field>
<field name="agreement_type_id" ref="agreement_type_loi"/>
</record>
<record id="agreement.market4" model="agreement">
<field name="description">Wazo IPBX deployment and maintenance (AGR-TEL001)</field>
<field name="agreement_type_id" ref="agreement_type_loi"/>
</record>
<record id="agreement.market5" model="agreement">
<field name="description">SIP Phones supply (BUY-VOIP012)</field>
<field name="agreement_type_id" ref="agreement_type_agreement"/>
</record>
<record id="agreement.market6" model="agreement">
<field name="is_template">True</field>
<field name="description">SIP-ISDN gateways (BUY-VOIP013)</field>
<field name="agreement_type_id" ref="agreement_legal.agreement_type_contract"/>
</record>
</odoo>
Loading…
Cancel
Save