[REF] hr_timesheet_invoice: moved sample invoicing rate to regular data for usability purposes
bzr revid: odo@openerp.com-20101011123749-5infnnimvg196vax
This commit is contained in:
parent
6ed687841e
commit
6b92fc0fcd
|
@ -31,9 +31,9 @@ reports, eso.""",
|
||||||
'author': 'OpenERP SA',
|
'author': 'OpenERP SA',
|
||||||
'website': 'http://www.openerp.com',
|
'website': 'http://www.openerp.com',
|
||||||
'depends': ['account', 'hr_timesheet'],
|
'depends': ['account', 'hr_timesheet'],
|
||||||
'init_xml': [],
|
'data': [
|
||||||
'update_xml': [
|
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
'hr_timesheet_invoice_data.xml',
|
||||||
'hr_timesheet_invoice_view.xml',
|
'hr_timesheet_invoice_view.xml',
|
||||||
'hr_timesheet_invoice_wizard.xml',
|
'hr_timesheet_invoice_wizard.xml',
|
||||||
'hr_timesheet_invoice_report.xml',
|
'hr_timesheet_invoice_report.xml',
|
||||||
|
@ -45,11 +45,12 @@ reports, eso.""",
|
||||||
'wizard/hr_timesheet_invoice_create_final_view.xml',
|
'wizard/hr_timesheet_invoice_create_final_view.xml',
|
||||||
'board_hr_timesheet_invoice.xml',
|
'board_hr_timesheet_invoice.xml',
|
||||||
],
|
],
|
||||||
'demo_xml': ['hr_timesheet_invoice_demo.xml',
|
'demo': [
|
||||||
],
|
'hr_timesheet_invoice_demo.xml',
|
||||||
|
],
|
||||||
'test': ['test/test_hr_timesheet_invoice.yml',
|
'test': ['test/test_hr_timesheet_invoice.yml',
|
||||||
'test/hr_timesheet_invoice_report.yml',
|
'test/hr_timesheet_invoice_report.yml',
|
||||||
],
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'active': False,
|
'active': False,
|
||||||
'certificate': '0056091842381',
|
'certificate': '0056091842381',
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data noupdate="1">
|
||||||
|
<record id="timesheet_invoice_factor1" model="hr_timesheet_invoice.factor">
|
||||||
|
<field name="name">Yes (100%)</field>
|
||||||
|
<field name="customer_name">100%</field>
|
||||||
|
<field name="factor">0.0</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</openerp>
|
|
@ -1,36 +1,24 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<openerp>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
|
|
||||||
<record id="timesheet_invoice_factor1" model="hr_timesheet_invoice.factor">
|
|
||||||
<field name="name">100%</field>
|
|
||||||
<field name="customer_name"/>
|
|
||||||
<field name="factor">0.0</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="timesheet_invoice_factor2" model="hr_timesheet_invoice.factor">
|
<record id="timesheet_invoice_factor2" model="hr_timesheet_invoice.factor">
|
||||||
<field name="name">50%</field>
|
<field name="name">50%</field>
|
||||||
<field name="customer_name">50% Discount</field>
|
<field name="customer_name">50% Discount</field>
|
||||||
<field name="factor">50.0</field>
|
<field name="factor">50.0</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="timesheet_invoice_factor3" model="hr_timesheet_invoice.factor">
|
<record id="timesheet_invoice_factor3" model="hr_timesheet_invoice.factor">
|
||||||
<field name="name">Gratis</field>
|
<field name="name">Gratis</field>
|
||||||
<field name="customer_name">Offered developments</field>
|
<field name="customer_name">Offered developments</field>
|
||||||
<field name="factor">100.0</field>
|
<field name="factor">100.0</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="account.analytic_sednacom" model="account.analytic.account">
|
<record id="account.analytic_sednacom" model="account.analytic.account">
|
||||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="account.analytic_thymbra" model="account.analytic.account">
|
<record id="account.analytic_thymbra" model="account.analytic.account">
|
||||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="account.analytic_partners_camp_to_camp" model="account.analytic.account">
|
<record id="account.analytic_partners_camp_to_camp" model="account.analytic.account">
|
||||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
Loading…
Reference in New Issue