I'm using ubuntu 12.04 and opeerp 7.0-20130828-231133. I have created a simple module, added data, clicked on the form view only edit, create, more buttons appeared, shouldn't there be a print button as well?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
Nope, you have to add at least a report to your new module to enable it.
For example:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<report id="sale.report_sale_order"
name="sale.order.webkit"
auto="False"
model="sale.order"
file="sale_order_webkit/report/sale_order.mako"
string="Quotation - Order"
webkit_header="base_headers_webkit.base_reports_portrait_header"
report_type="webkit"/>
</data>
</openerp>
This automatically adds a link on the Print Menu. It's based on the model.
After creating a report module how should I go enabling the report button. Should I include that in the xml of the report?
I've updated my answer, It depends on which type of report you want to use, but basically this is the way.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
tammik. 24
|
14404 | ||
|
2
maalisk. 18
|
5218 | ||
|
0
tammik. 18
|
3358 | ||
|
2
helmik. 24
|
25831 | ||
|
3
helmik. 25
|
55805 |