Skip to content

Commit

Permalink
[IMP] Improved code
Browse files Browse the repository at this point in the history
  • Loading branch information
nikul-serpentcs committed Sep 7, 2017
1 parent 88708e8 commit a76be1f
Showing 1 changed file with 50 additions and 52 deletions.
102 changes: 50 additions & 52 deletions account_invoice_kanban/demo/account_invoice_demo.xml
Original file line number Diff line number Diff line change
@@ -1,55 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">

<record id="invoice_new" model="base.kanban.stage">
<field name="sequence">1</field>
<field name="name">New</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_created" model="base.kanban.stage">
<field name="sequence">2</field>
<field name="name">Invoice Created</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_validated" model="base.kanban.stage">
<field name="sequence">3</field>
<field name="name">Invoice Validated</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_sent" model="base.kanban.stage">
<field name="sequence">4</field>
<field name="name">Documentation Sent</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_received" model="base.kanban.stage">
<field name="sequence">5</field>
<field name="name">Documentation Received</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_signed" model="base.kanban.stage">
<field name="sequence">6</field>
<field name="name">Contract Signed</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_patment_received" model="base.kanban.stage">
<field name="sequence">7</field>
<field name="name">Payment Received</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">True</field>
</record>

</data>

<record id="invoice_new" model="base.kanban.stage">
<field name="sequence">1</field>
<field name="name">New</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_created" model="base.kanban.stage">
<field name="sequence">2</field>
<field name="name">Invoice Created</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_validated" model="base.kanban.stage">
<field name="sequence">3</field>
<field name="name">Invoice Validated</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_sent" model="base.kanban.stage">
<field name="sequence">4</field>
<field name="name">Documentation Sent</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_received" model="base.kanban.stage">
<field name="sequence">5</field>
<field name="name">Documentation Received</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_signed" model="base.kanban.stage">
<field name="sequence">6</field>
<field name="name">Contract Signed</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">False</field>
</record>

<record id="invoice_patment_received" model="base.kanban.stage">
<field name="sequence">7</field>
<field name="name">Payment Received</field>
<field name="res_model_id" search="[('model','=','account.invoice')]" model="ir.model" />
<field name="fold">True</field>
</record>

</odoo>

0 comments on commit a76be1f

Please sign in to comment.