Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • อีคอมเมิร์ซ
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • Artificial Intelligence
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    อาหาร & การบริการ
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • Property Management
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • โรงผลิตเบียร์
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
MRP subcontracting equipment manufacturing BoM
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
MRP subcontracting equipment manufacturing BoM
เกี่ยวกับฟอรั่มนี้
  1. MRP
  2. ฟอรั่ม

BoM's extra pdf report v15

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
MRPBoM
4678 มุมมอง
อวตาร
Konrad

Hello, 


I need to add one extra BoM report without costs in table. 


I added new report:

  	​	​id="x_bom_report"
​ ​model="mrp.bom"
​ ​string="BoM(lok.)"
​ ​report_type="qweb-pdf"
​ ​file="sqs_custom_documents.bom_with_loc"
​ ​name="sqs_custom_documents.bom_with_loc"/>

​


I copied design code from mrp.report_mrp_bom ​ and paste to my .

Unfortunately I got a error:


{"code": 200, "message": "Odoo Server Error", "data": {"name": "odoo.addons.base.models.qweb.QWebException", "debug": "Traceback (most recent call last):\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 219, in render_template\n yield from compiled_fn(self, values, log)\n File \"\", line 5, in template_2356\nAttributeError: 'mrp.bom' object has no attribute 'get'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/odoo/src/odoo/addons/web/controllers/main.py\", line 2000, in report_download\n response = self.report_routes(reportname, docids=docids, converter=converter, context=context)\n File \"/home/odoo/src/odoo/odoo/http.py\", line 546, in response_wrap\n response = f(*args, **kw)\n File \"/home/odoo/src/odoo/addons/web/controllers/main.py\", line 1929, in report_routes\n pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]\n File \"/home/odoo/src/odoo/addons/account/models/ir_actions_report.py\", line 55, in _render_qweb_pdf\n return super()._render_qweb_pdf(res_ids=res_ids, data=data)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_actions_report.py\", line 902, in _render_qweb_pdf\n html = self_sudo.with_context(context)._render_qweb_html(res_ids, data=data)[0]\n File \"/home/odoo/src/enterprise/web_studio/models/ir_actions_report.py\", line 18, in _render_qweb_html\n return super(IrActionsReport, self)._render_qweb_html(docids, data)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_actions_report.py\", line 946, in _render_qweb_html\n return self._render_template(self.report_name, data), 'html'\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_actions_report.py\", line 681, in _render_template\n return view_obj._render_template(template, values).encode()\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py\", line 1992, in _render_template\n return self.browse(self.get_view_id(template))._render(values, engine)\n File \"/home/odoo/src/odoo/addons/website/models/ir_ui_view.py\", line 436, in _render\n return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext)\n File \"/home/odoo/src/odoo/addons/web_editor/models/ir_ui_view.py\", line 29, in _render\n return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py\", line 2000, in _render\n return self.env[engine]._render(self.id, qcontext)\n File \"/home/odoo/src/enterprise/web_studio/models/ir_qweb.py\", line 47, in _render\n return super(IrQWeb, self)._render(template, values=values, **options)\n File \"/home/odoo/src/odoo/odoo/tools/profiler.py\", line 292, in _tracked_method_render\n return method_render(self, template, values, **options)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py\", line 76, in _render\n result = super()._render(template, values=values, **compile_options)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 134, in _render\n result = ''.join(rendering)\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 221, in render_template\n raise e\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 219, in render_template\n yield from compiled_fn(self, values, log)\n File \"\", line 76, in template_2355\n File \"\", line 72, in t_call_content\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 223, in render_template\n raise QWebException(\"Error when render the template\", self, options,\nodoo.addons.base.models.qweb.QWebException: 'mrp.bom' object has no attribute 'get'\nTraceback (most recent call last):\n File \"/home/odoo/src/odoo/odoo/addons/base/models/qweb.py\", line 219, in render_template\n yield from compiled_fn(self, values, log)\n File \"\", line 5, in template_2356\nAttributeError: 'mrp.bom' object has no attribute 'get'\n\nError when render the template\nAttributeError: 'mrp.bom' object has no attribute 'get'\nTemplate: sqs_custom_documents.report_bom_with_loc\nPath: /t/div/t[1]\nNode: \n \n", "message": "Error when render the template", "arguments": ["Error when render the template"], "context": {}}}


Do you have idea what is a problem and how to fix it? 

0
อวตาร
ละทิ้ง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to create multiple products using same BOM แก้ไขแล้ว
MRP BoM
อวตาร
อวตาร
อวตาร
อวตาร
อวตาร
4
พ.ย. 25
6568
Reverting shop floor changes in V19
MRP
อวตาร
0
มี.ค. 26
852
how to setup a 96 hour work week
MRP
อวตาร
0
มิ.ย. 25
4477
MRP and FEFO แก้ไขแล้ว
MRP
อวตาร
อวตาร
1
มี.ค. 24
5391
I need assistance with designing the management of stages in the manufacturing module of Odoo.
MRP
อวตาร
อวตาร
อวตาร
2
ส.ค. 23
4612
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • Github
  • Runbot
  • การแปล
บริการ
  • โฮสติ้ง odoo.sh เซิร์ฟเวอร์
  • การสนับสนุน
  • อัปเกรด
  • การพัฒนาที่กำหนดเอง
  • การศึกษา
  • ค้นหานักบัญชี
  • ค้นหาพาร์ทเนอร์
  • ร่วมเป็นพาร์ทเนอร์
เกี่ยวกับเรา
  • บริษัทของเรา
  • ทรัพย์สินในรูปของเครื่องหมายการค้า
  • ติดต่อเรา
  • งาน
  • ระบบการจัดงานอีเวนต์
  • พอดแคสต์
  • บล็อก
  • ลูกค้า
  • กฎหมาย • ความเป็นส่วนตัว
  • ความปลอดภัย
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบคลังสินค้า ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now