Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. 怎样设置默认值

怎样设置默认值

Scheduled Pinned Locked Moved Odoo 新手求助
4 Posts 3 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jundi1000
    wrote on last edited by
    #1

    [img http://i.imgur.com/aaLCNUg.png /img]
    我已经设置默认值了

    [img http://i.imgur.com/3rOEP4A.png /img]
    当我创建报价表还没选客户是,默认值是正常现实的

    [img http://i.imgur.com/Trjf01N.png /img]
    不过,当我选择了任意一个客户后,默认值就不见了

    有没有人也试过这样的问题呢?
    有什么方法可以实现选着任意一个客户后,默认值还是一样的显示呢?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      codefans
      wrote on last edited by
      #2

      写一个在view里面写一个onchange 方法

      1 Reply Last reply
      0
      • JoshuaJ Offline
        JoshuaJ Offline
        Joshua
        管理员
        wrote on last edited by
        #3

        因为这里的payment term会根据你所选的partner触发onchange_partner_id来重新赋值。

        【上海先安科技】(joshua AT openerp.cn),欢迎关注公众号:openerp_cn

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Tags
        • Popular
        • Users
        • Groups