[IMP] point_of_sale: set the file in terp

bzr revid: sbh@tinyerp.com-20100319063644-2ib2ii1rxf62ggc9
This commit is contained in:
sbh (Open ERP) 2010-03-19 12:06:44 +05:30
parent c4ea44517b
commit 44df5c0710
5 changed files with 24 additions and 23 deletions

View File

@ -38,21 +38,8 @@ Main features :
'author': 'Tiny',
'depends': ['sale', 'delivery'],
# 'depends': ['sale', 'purchase', 'account', 'account_tax_include','board','mrp','board_manufacturing','delivery','profile_manufacturing','account','multi_company'],
'init_xml': [
'security/point_of_sale_security.xml',
'security/ir.model.access.csv',
'pos_report.xml',
'pos_wizard.xml',
'pos_view.xml',
'pos_sequence.xml',
'posrule_data.xml',
'pos_data.xml',
'pos_workflow.xml',
'statement_view.xml',
'statement_report.xml',
'statement_data.xml',
'statement_wizard.xml'
],
'init_xml': [],
'update_xml': [
'security/point_of_sale_security.xml',
'security/ir.model.access.csv',
@ -71,7 +58,11 @@ Main features :
'pos_sequence.xml',
'posrule_data.xml',
'pos_data.xml',
'pos_workflow.xml'
'pos_workflow.xml',
'statement_view.xml',
'statement_report.xml',
'statement_data.xml',
'statement_wizard.xml',
],
'demo_xml': ['pos_demo.xml','singer_statement_demo.xml','multi_company_stock_data.xml'],
'installable': True,

View File

@ -996,8 +996,8 @@ invoiced
<menuitem icon="STOCK_PRINT" action="wizard_pos_sales_user_today_current_user"
id="menu_pos_sales_user_today_current_user" parent="menu_cashboxes_by_day" type="wizard" sequence="7"/>
<menuitem icon="STOCK_PRINT" action="wizard_pos_details"
id="menu_pos_details" parent="menu_cashboxes_by_day" type="wizard" />
<menuitem icon="STOCK_PRINT" action="action_report_pos_details"
id="menu_pos_details" parent="menu_cashboxes_by_day" type="action" />
</data>

View File

@ -52,8 +52,8 @@
<wizard id="wizard_pos_sales_user_today_current_user" menu="False"
model="pos.order" name="pos.sales.user.today.current.user" string="Sales for Current User"/>
<wizard id="wizard_pos_details" menu="False"
model="pos.order" name="pos.details" string="Sales Details"/>
<!-- <wizard id="wizard_pos_details" menu="False"
model="pos.order" name="pos.details" string="Sales Details"/>-->
<!-- <wizard string="Get From Order" model="pos.order"
name="pos.sale.get" id="pos_sale_get"/>

View File

@ -27,7 +27,7 @@ import time
class pos_details(osv.osv_memory):
_name = 'pos.details'
_description = 'Order Details'
_description = 'Sales Details'
_columns = {
'date_start': fields.date('Date Start'),

View File

@ -21,13 +21,23 @@
</field>
</record>
<act_window name="POS Details"
<record id="action_report_pos_details" model="ir.actions.act_window">
<field name="name">Print Report</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.details</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field name="context">{'record_id' : active_id}</field>
</record>
<!-- <act_window name="POS Details"
res_model="pos.details"
src_model="pos.order"
view_mode="form"
target="new"
key2="client_action_multi"
id="action_report_pos_details"/>
id="action_report_pos_details"/> -->
</data>
</openerp>