[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',
|
||||
'website': 'http://www.openerp.com',
|
||||
'depends': ['account', 'hr_timesheet'],
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'hr_timesheet_invoice_data.xml',
|
||||
'hr_timesheet_invoice_view.xml',
|
||||
'hr_timesheet_invoice_wizard.xml',
|
||||
'hr_timesheet_invoice_report.xml',
|
||||
|
@ -45,11 +45,12 @@ reports, eso.""",
|
|||
'wizard/hr_timesheet_invoice_create_final_view.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/hr_timesheet_invoice_report.yml',
|
||||
],
|
||||
],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
'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"?>
|
||||
<openerp>
|
||||
<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">
|
||||
<field name="name">50%</field>
|
||||
<field name="customer_name">50% Discount</field>
|
||||
<field name="factor">50.0</field>
|
||||
</record>
|
||||
|
||||
<record id="timesheet_invoice_factor3" model="hr_timesheet_invoice.factor">
|
||||
<field name="name">Gratis</field>
|
||||
<field name="customer_name">Offered developments</field>
|
||||
<field name="factor">100.0</field>
|
||||
</record>
|
||||
|
||||
<record id="account.analytic_sednacom" model="account.analytic.account">
|
||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||
</record>
|
||||
|
||||
<record id="account.analytic_thymbra" model="account.analytic.account">
|
||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||
</record>
|
||||
|
||||
<record id="account.analytic_partners_camp_to_camp" model="account.analytic.account">
|
||||
<field name="to_invoice" ref="timesheet_invoice_factor1"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue