menu = "False" Attribute is not working where i'm wrong please correct my mistake or any advice to achieve my goal
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
You should try with this code, Hope it is worked
<report
string="Purchase Order"
id="purchase.action_report_purchase_order"
model="purchase.order"
report_type="qweb-pdf"
name="purchase.report_purchaseorder"
file="purchase.report_purchaseorder"
print_report_name="
(object.state in ('draft', 'sent') and 'Request for Quotation - %s' % (object.name) or
'Purchase Order - %s' % (object.name))"
menu="False"
/>
Restart the server and update the module.
how can i compute two fields?
you can post question on form for getting best answer this is already solved issue ...
Hi,
In your code, there are two report definitions with the same name Purchase Order. Make sure which report is working by changing the Report String. Then check it .
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
ago 23
|
1693 | ||
how to customize Qweb report
Risolto
|
|
3
set 19
|
5693 | |
|
3
giu 20
|
5617 | ||
|
1
gen 20
|
6000 | ||
|
2
gen 24
|
15909 |
did you upgrade related module? after make changes in XML....
yes i restart my server and upgrade this module ....