Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
133 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
purchase_contract_analysis/data/purchase_contract_analysis_data.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<openerp> | ||
|
||
<!-- Budgets --> | ||
<data> | ||
<record id="crossovered_budget_kmee0" model="crossovered.budget"> | ||
<field name="code">kmee0</field> | ||
<field name="name">KMEE Purchase Budget 01</field> | ||
<field eval="str(time.localtime(time.time())[0]+1)+'-01-01'" name="date_from"/> | ||
<field eval=""""draft"""" name="state"/> | ||
<field eval="str(time.localtime(time.time())[0])+'-12-31'" name="date_to"/> | ||
<field name="creating_user_id" ref="base.user_root"/> | ||
<field name="total">500000</field> | ||
</record> | ||
</data> | ||
|
||
<!-- Budget lines --> | ||
<data> | ||
<record id="crossovered_budget_kmee0_lines_0" model="crossovered.budget.lines"> | ||
<field name="analytic_account_id" ref="purchase_contract_asus_demo"/> | ||
<field name="general_budget_id" ref="account_budget.account_budget_post_purchase0"/> | ||
<field eval="str(time.localtime(time.time())[0])+'-01-01'" name="date_from"/> | ||
<field eval="300000.0" name="planned_amount"/> | ||
<field name="crossovered_budget_id" ref="crossovered_budget_kmee0"/> | ||
<field eval="str(time.localtime(time.time())[0])+'-01-31'" name="date_to"/> | ||
</record> | ||
<record id="crossovered_budget_kmee0_lines_1" model="crossovered.budget.lines"> | ||
<field name="analytic_account_id" ref="purchase_contract_asus_demo"/> | ||
<field name="general_budget_id" ref="account_budget.account_budget_post_purchase0"/> | ||
<field eval="str(time.localtime(time.time())[0])+'-02-01'" name="date_from"/> | ||
<field eval="200000.0" name="planned_amount"/> | ||
<field name="crossovered_budget_id" ref="crossovered_budget_kmee0"/> | ||
<field eval="str(time.localtime(time.time())[0])+'-02-28'" name="date_to"/> | ||
</record> | ||
</data> | ||
</openerp> |
22 changes: 22 additions & 0 deletions
22
purchase_contract_analysis/demo/contract_purchase_itens_demo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<openerp> | ||
<data> | ||
|
||
<record id="product_purchase_contract_asus_demo" model="contract.purchase.itens"> | ||
<field name="name">Product</field> | ||
<field name="product_id" ref="product.product_product_8" /> | ||
<field name="price">1999.00</field> | ||
<field name="contract_id" ref="purchase_contract_asus_demo" /> | ||
<field name="quantity">25.00</field> | ||
</record> | ||
|
||
<record id="service_purchase_contract_asus_demo" model="contract.purchase.itens"> | ||
<field name="name">Service</field> | ||
<field name="product_id" ref="product.product_product_consultant" /> | ||
<field name="price">150.00</field> | ||
<field name="contract_id" ref="purchase_contract_asus_demo" /> | ||
<field name="quantity">25.00</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
15 changes: 15 additions & 0 deletions
15
purchase_contract_analysis/demo/purchase_contract_demo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<openerp> | ||
<data> | ||
|
||
<record id="purchase_contract_asus_demo" model="account.analytic.account"> | ||
<field name="name">Asus Contract</field> | ||
<field name="partner_id" ref="base.res_partner_1"/> | ||
<field name="contract_type">purchase</field> | ||
<field name="type">contract</field> | ||
<field name="date_start" eval="str(time.localtime(time.time())[0]+1)+'-01-01'"/> | ||
<field name="date" eval="str(time.localtime(time.time())[0]+1)+'-12-31'" /> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters