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. [分享]关于OpenERP含税价与不含税价的配置

[分享]关于OpenERP含税价与不含税价的配置

Scheduled Pinned Locked Moved Odoo 开发与实施交流
5 Posts 2 Posters 8.4k 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.
  • M Offline
    M Offline
    mrshelly
    wrote on last edited by
    #1

    上海-追远(429702104)  13:54:38
    addons目录里面的account_voucher的account_voucher.py那个文件的323行那里的有个判断改下:        'tax_id': fields.many2one('account.tax', 'Tax', readonly=True, states={'draft':[('readonly',False)]}, domain=[('price_include','=', True)], help="Only for tax excluded from price"), 
    'price_include','=', False  - > 'price_include','=', True

    不含税:
    [attachimg=1]

    含税:
    [attachimg=2]

    上海-追远(429702104)  13:58:39
    生成采购发票的时候

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrshelly
      wrote on last edited by
      #2

      最近 进展:
      在税的配置中, 可以直接配置税种是否包含在价格中.

      [attachimg=1]

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Oliver
        wrote on last edited by
        #3

        不是这个设置问题。具体问题描述:OE的默认配置下,税配置成含在单价中,在生成的采购发票分录中,系统不考虑这个含税配置因素,把含税单价当成不含税单价,造成应付金额错误。

        [quote author=mrshelly link=topic=4656.msg12950#msg12950 date=1358144354]
        最近 进展:
        在税的配置中, 可以直接配置税种是否包含在价格中.

        [attachimg=1]
        [/quote]

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrshelly
          wrote on last edited by
          #4

          嗯. 继续跟进.

          在本例中. 因为OE的代码问题 计算金额的时候
          以  订单 1000元(含税) 为例.

          应该生成
          贷  1000 (订单含税金额)
                      借  854.70 (订单不含税金额)
                      借  145.30 (税)

          而OE 错误生成了 :
          如图:
          [attachimg=1]

          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