63.Create PDF Report From Wizard In Odoo14 || Odoo 14 Qweb Tutorials

  Рет қаралды 25,388

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 55
@futhedude4848
@futhedude4848 2 жыл бұрын
Note 15:15 this part will explain about using --dev xml in configuration to ignore update module.
@OdooMates
@OdooMates 2 жыл бұрын
yes
@futhedude4848
@futhedude4848 2 жыл бұрын
Hi Odoo Mates, your work are really great. After follow this video, i've met this issue: AttributeError: 'NoneType' object has no attribute 'compile' AttributeError: 'NoneType' object has no attribute 'CompileError' After debug, i've found that this issue is because i'm missing library "sass" and "libsass" Here's step to resolve it: sudo apt-get install python3.8-dev pip install --upgrade setuptools pip install sass pip install libsass Thanks.
@OdooMates
@OdooMates 2 жыл бұрын
@mohazaa3546
@mohazaa3546 3 жыл бұрын
May Allah bless you bro, your videos are rich source of information and too useful.
@OdooMates
@OdooMates 3 жыл бұрын
So nice of you
@yhasmanivaldes6217
@yhasmanivaldes6217 3 жыл бұрын
thanks for your videos, i learn to much, love your content.
@OdooMates
@OdooMates 3 жыл бұрын
thanks for the support
@dxb_coder
@dxb_coder 3 жыл бұрын
Amazing content as usual. thank you for sharing with us!
@OdooMates
@OdooMates 3 жыл бұрын
thanks brother for the support so far
@ANSAR-rw1lp
@ANSAR-rw1lp Жыл бұрын
Amazing 🥰. I have a ques that how to print multiple patient report details between the given date .
@sihemtaibi3402
@sihemtaibi3402 2 жыл бұрын
Good job, please if you can explain to us how to use the py3o module, to generate the reports or modify the templates written with Office libre via odoo 12.
@OdooMates
@OdooMates 2 жыл бұрын
not yet used this module, will try and see
@sihemtaibi3402
@sihemtaibi3402 2 жыл бұрын
@@OdooMates Inchallah.
@OdooMates
@OdooMates 2 жыл бұрын
@@sihemtaibi3402
@futhedude4848
@futhedude4848 2 жыл бұрын
Hi, i've a question that how to call function in view file of report from wizard?
@OdooMates
@OdooMates 2 жыл бұрын
to call a function from a particular model ?
@futhedude4848
@futhedude4848 2 жыл бұрын
@@OdooMates No sir, to call function in the same model wizard.
@assanisaidi109
@assanisaidi109 2 жыл бұрын
great content, when i try accessing appointments in qweb it raises an error: AttributeError: 'str' object has no attribute 'name'
@OdooMates
@OdooMates 2 жыл бұрын
Make sure that the variable that you are trying to get name from is object itself
@assanisaidi109
@assanisaidi109 2 жыл бұрын
@@OdooMates ok great thanks
@OdooMates
@OdooMates 2 жыл бұрын
Welcome
@erpaltapete5567
@erpaltapete5567 2 жыл бұрын
hi can i get report for particular salesperson from wizard like how you selecting date can i select salesperson if create sales person field in wizard and set domain? help plz
@OdooMates
@OdooMates 2 жыл бұрын
yes possible, by following the same way, you can achieve it, if face any difficulty, let us know
@erpaltapete5567
@erpaltapete5567 2 жыл бұрын
@@OdooMates salesperson_ids = fields.Many2many(comodel_name='res.users', string='Salesperson') it shows salesperson field in wizard but when i click on print button it shoes error and when i click on see more it shows nothing report code if wizard_data.salesperson_ids: domain += [('user_id', 'in', wizard_data.salesperson_ids.ids)]
@erpaltapete5567
@erpaltapete5567 2 жыл бұрын
@@OdooMates raise ValueError("Invalid field %s.%s in leaf %s" % (model._name, path[0], str(leaf))) ValueError: Invalid field account.move.line.user_id in leaf ('user_id', 'in', [2])
@OdooMates
@OdooMates 2 жыл бұрын
If you are searching inside the model account move line, system says there is no field user_id in the account move line model
@erpaltapete5567
@erpaltapete5567 2 жыл бұрын
@@OdooMates in account move line we have field invoice_user_id that shoes salesperson on invoice but shows same error what should i do
@muneebhaider5861
@muneebhaider5861 2 жыл бұрын
Hey i was following your tutorials my module was working fine ... but due to some reason it started missbehaving ... i created a menu but when i searched that menu in technical section i got 6 results for same menu ... so uninstalled my module but i wont re install ... moudule can't find external ids.
@muneebhaider5861
@muneebhaider5861 2 жыл бұрын
may this be an issue with manifest file ?
@OdooMates
@OdooMates 2 жыл бұрын
Make sure the xml file are imported in correct order
@muneebhaider5861
@muneebhaider5861 2 жыл бұрын
@@OdooMates what is the correct order ? Thank you
@OdooMates
@OdooMates 2 жыл бұрын
It is simple, when we rfer something in the code, example external id, that is setting parent for a menu or setting an action for a menu, before doing this that action or that parent menu has to be loaded. Simply it is same how referenced before assignment error in python
@muneebhaider5861
@muneebhaider5861 2 жыл бұрын
@@OdooMates ok Thank you
@uchihaobito723
@uchihaobito723 Жыл бұрын
when i click on print. it is showing configure your layout and when i click save. it gives empty pdf . only white color
@OdooMates
@OdooMates Жыл бұрын
that means you have an empty template, did you designed the template to show the contents ?
@uchihaobito723
@uchihaobito723 Жыл бұрын
@@OdooMates yes, i did it is showing in settings also. i checked
@uchihaobito723
@uchihaobito723 Жыл бұрын
bro there is one problem. when i add new menuitem ,that is reporting. my old menuitem, that is patient is removed. please help
@OdooMates
@OdooMates Жыл бұрын
may be for both menu;s you have given same id ? menu id should be unique
@malikkamil6596
@malikkamil6596 2 жыл бұрын
Hi, I created a wizard and placed in menu i want details of pos session how can i get it in report from wozard
@OdooMates
@OdooMates 2 жыл бұрын
Using odoo orm method search or using sql queries, you can get the data from the models
@malikkamil6596
@malikkamil6596 2 жыл бұрын
@@OdooMates related material?or video
@OdooMates
@OdooMates 2 жыл бұрын
@@malikkamil6596 odoo orm: kzbin.info/www/bejne/qnrEepyulpiid9U
@OdooMates
@OdooMates 2 жыл бұрын
kzbin.info/www/bejne/f3yWgJyZmq9-mtU
@HemaLatha-ld2rk
@HemaLatha-ld2rk 2 жыл бұрын
Pls tell me how to bring the patient name when downloading the .pdf file ?
@mahmoudmagdy3208
@mahmoudmagdy3208 2 ай бұрын
did you find sol for this ?
@salonisingh8685
@salonisingh8685 2 жыл бұрын
when i click on print button it showing me blank report nothing is coming but i have mentioned h2 tag in template it should be print but it is not displaying in report any solution for this ?
@salonisingh8685
@salonisingh8685 2 жыл бұрын
solved
@OdooMates
@OdooMates 2 жыл бұрын
@@salonisingh8685 Happy that you find it, what was the problem ?
@abdelilahqamir7127
@abdelilahqamir7127 2 жыл бұрын
@@salonisingh8685 i have the same problem, how did you fixed it ?
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
New in Dec ‘24: Web Analytics, search volume growth forecast, and more
4:29
Ahrefs Product Updates
Рет қаралды 1,8 М.
.NET Project Setup From Scratch Using These 6 Best Practices
16:07
Milan Jovanović
Рет қаралды 17 М.
Create a new report | Odoo Studio
7:47
Odoo
Рет қаралды 8 М.
How to create PDF Report from wizard | Odoo development | Reporting
23:48
Odoo Discussions
Рет қаралды 4,3 М.
Create and Print PDF Report From Wizard in Odoo
31:45
Odoo Mates
Рет қаралды 24 М.