• (33)odoo中产品价格字段


    打开product.template 和 product.product 模型发现有很多关于价格描述的字段

        product.template:
            price
            list_price
            lst_price
            standard_price


        product.product:
            price
            price_extra
            lst_price
           
        price:
            这个在product.template中是计算字段 用到产品价格表、销售计量单位、
            币种 计算得出的价格 ,计算基础是 list_price
            在product.product 也是同等含义 计算基础是 list_price price_extra
           
        list_price
            这个只在product.template中,是产品销售的基准价格,但不一定最终销售
            价格,最终销售价格是上面的price ,这里list_price 可以用来显示到网站,
            这是基准价,建议定义好了不要随便改,否则会影响没有完成会计相关的票据
           
        lst_price
            在product.template中 和 list_price 是等价的
            在product.product中,则是 list_price 加上了 price_extra 价格
            lst_price 改变了,会减去price_extra价格,然后改变 list_price 价格
       
        standard_price
            只在product.template中,它是产品采购时的成本价,但要记住只在成本计算
            方法为标准计价法才时,若是实时计价法,这个就不是成本价,那成本价放到
            每个quant中了。       

  • 相关阅读:
    从0开始用Hexo框架搭建个人博客(无坑版)
    Appium常用操作之「Toast提示信息获取」
    Appium常用操作之「微信滑屏、触屏操作」
    Appium常用操作之「元素定位、swipe 滑屏操作」
    Python+Appium运行简单的demo,你需要理解Appium运行原理!
    磁盘管理综合测试题
    自总结笔记01(第一章---第七章)
    linux里配置静态ip
    chapter06
    chapter05
  • 原文地址:https://www.cnblogs.com/toby2chen/p/5381806.html
Copyright © 2020-2023  润新知