Giter Club home page Giter Club logo

acm's People

Contributors

kittiu avatar kongrattapong avatar kranokporn avatar newtratip avatar saran440 avatar theerayutencoder avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

acm's Issues

Error when click on Agreement's [Contracts]

ไม่แน่ใจว่าเฉพาะรายการที่ยังไม่ไม่ Contract รึเปล่า

  • Add compute field "contract_count" & Smart button ควรแสดง contract_count ด้วย
  • ปุ่มควรแสดงเฉพาะกรณีที่มี contract_count > 0 เท่านั้น

image

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 410, in fields_view_get
    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1468, in fields_view_get
    bindings = self.env['ir.actions.actions'].get_bindings(self._name)
  File "<decorator-gen-36>", line 2, in get_bindings
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 93, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 121, in get_bindings
    result[binding_type].append(action.read()[0])
IndexError: list index out of range

Meeting 14/11/2019

TODO List

  • Data as XML :: ข้อมูลที่จำเป็นทุกอย่างควรเป็น XML
  • Product Name compute field not working @newtratip
    • ตอนนี้ไม่สามารถสร้างชื่อ Product แบบอัตโนมัติได้
    • กรณีถ้า user overwrite name เราจะยอมไม๊
  • Agreement / Contract Tree / Invoice @newtratip
    • Product -> Zone = analytic_group_id (required when value type = Rent)
    • Agreement -> add analytic_group_id (required), computed from product line (ค่าเช่า)
    • Agreement create Contract (analytic) ผ่านค่า analytic_group_id (required) มาด้วย
    • @api.constraint > No more than 1 Zone and 1 Product ---> for value type = Rent.
    • Add Zone (analytic_gorup_id) and Product Name in list view, add group by and filter, allow sorting.
  • Batch Invoice สำหรับ ค่าน้ำค่าไฟ @kongrattapong
    • Filter by Zone (analytic_group_id)
    • Use Contract instead of Agreement
    • Create Invoice, with contract (analytic_id)
    • If line subtoal amount == 0, no create invoice
    • Add "ค่าไฟเหมาจ่าย", "Meter Elec 2"
    • Import / Export Excel @kittiu
    • Reviews by p'Lek, @kongrattapong
      • Change error ของ negative amount --> OK but please make sure Meter number should not allow input 'negative' also.
      • ช่วยดึง Zone และ Number มาที่ Invoice ด้วย จะได้รู้ว่า เป็นค่าน้ำ ค่าไฟ ของแผงไหน (คาดว่าต้องแสดงใน Report ด้วย) --> ใส่เป็น Text ไว้ที่ Reference/Description
      • Remove "Batch Invoice" from Invoice, buy you can stamp batch invoice number to "Source Document"
      • Invoice สร้างมาจาก Batch ยังไม่มี Analytic Account (contract)
      • ที่หน้า Batch Invoice ถ้า Onchange แล้วเจอว่าในระบบมี Date Range / Zone เดียวกันแล้วในระบบให้แสดงข้อความเตือนว่า "Batch Invoice for this Date Range / Zone already exists".
  • Contract -> Create Invoice @kittiu
    • ระบบไม่ควรยอมให้สร้าง Invoice ที่ไม่มีบรรทัดเลย --> ระบบตอนนี้จะไม่สร้างหากไม่มี invoice line
    • เพิ่ม feature สำหรับ 1 active_id ให้สามารถสร้าง advance invoice ไปข้างหน้าได้
    • สำหรับ multi active_ids ระบบตอนนี้จะไม่ยอกให้เลือก next dates ที่ไม่เหมือนกัน
  • Invoice will have 4 Invoice Type ("ค่าเช่า", "ค่าน้ำ-ไฟ", "ค่าสุขา", "ค่าอื่นๆ") (required)
  • Rental Collection Form @kongrattapong
    • Print form directly from Wizard :: select Zone, เดือน
    • No select agreement, but use view that join product (rent) and agreement
    • Review by p'Lek @kongrattapong
      • Rental Collection Form
        • Add "Date Range" in Wizard
        • Read-only for "Print Date", but user today() to mark "วันที่พิมพ์รายงาน" on the form.
        • บรรทัดสุดท้าย ไม่ต้องเป็นสีเทา
      • Result from SQL must correct
        • No active agreement -> do not join agreement
        • Many agreements -> join only 1 active agreement only
        • For no agreement product -> Only show product (ล็อก), but don't show category, price.
  • ออก Invoice จาก contract ที่ยังไม่เริ่มต้นสัญญา
  • Customer/Supplier Invoice, analytic account should be filtered for appropriate use. I.e., Department @kittiu
  • Vendor Bill Form QWeb @kongrattapong
  • Dashboard Reports (by the paper) @newtratip
  • Create a lot of demo data, both agreement and product @newtratip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.