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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • How to create pdf report from wizard in odoo. Steps to create pdf report from wizard in odoo 14. Steps to print qweb report from wizard in Odoo. FIlter and print report based on selection in wizard in odoo development. Odoo reporting tutorials. Odoo qweb reporting tutorials.
    Odoo 14 Playlist: • 2. How To Create Modul...
    Module: apps.odoo.com/...
    Website: www.odoomates....
    Github: github.com/odo...
    Email : odoomates@gmail.com
    Facebook: / odoomate
    Twitter: / odoomates
    Support Us in Ko Fi : ko-fi.com/odoo...

ความคิดเห็น • 54

  • @futhedude4848
    @futhedude4848 2 ปีที่แล้ว +5

    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.

  • @mohazaa3546
    @mohazaa3546 2 ปีที่แล้ว +2

    May Allah bless you bro, your videos are rich source of information and too useful.

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      So nice of you

  • @yhasmanivaldes6217
    @yhasmanivaldes6217 3 ปีที่แล้ว +2

    thanks for your videos, i learn to much, love your content.

    • @OdooMates
      @OdooMates  3 ปีที่แล้ว +1

      thanks for the support

  • @dxb_coder
    @dxb_coder 3 ปีที่แล้ว +2

    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 .

  • @futhedude4848
    @futhedude4848 2 ปีที่แล้ว +2

    Hi, i've a question that how to call function in view file of report from wizard?

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +1

      to call a function from a particular model ?

    • @futhedude4848
      @futhedude4848 2 ปีที่แล้ว

      @@OdooMates No sir, to call function in the same model wizard.

  • @sihemtaibi3402
    @sihemtaibi3402 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      not yet used this module, will try and see

    • @sihemtaibi3402
      @sihemtaibi3402 2 ปีที่แล้ว

      @@OdooMates Inchallah.

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      @@sihemtaibi3402

  • @assanisaidi109
    @assanisaidi109 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      @@OdooMates ok great thanks

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      Welcome

  • @uchihaobito723
    @uchihaobito723 ปีที่แล้ว +1

    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

  • @futhedude4848
    @futhedude4848 2 ปีที่แล้ว +1

    Note
    15:15 this part will explain about using --dev xml in configuration to ignore update module.

  • @uchihaobito723
    @uchihaobito723 ปีที่แล้ว +1

    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

  • @HemaLatha-ld2rk
    @HemaLatha-ld2rk 2 ปีที่แล้ว

    Pls tell me how to bring the patient name when downloading the .pdf file ?

  • @muneebhaider5861
    @muneebhaider5861 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      may this be an issue with manifest file ?

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      Make sure the xml file are imported in correct order

    • @muneebhaider5861
      @muneebhaider5861 2 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@OdooMates ok Thank you

  • @erpaltapete5567
    @erpaltapete5567 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      @@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

  • @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: th-cam.com/video/tIaIixa3oAs/w-d-xo.html

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      th-cam.com/video/IK3OiceJKds/w-d-xo.html

  • @salonisingh8685
    @salonisingh8685 2 ปีที่แล้ว +1

    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 ?