zoukankan      html  css  js  c++  java
  • (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中了。       

  • 相关阅读:
    电机驱动MCU通用功能和技术点解析
    串行SPI NOR闪存VS并行NOR闪存
    非易失性存储器Flash和EEPROM之间的差异与优缺点
    为何要使用MCU
    MRAM实现对车载MCU中嵌入式存储器的取代
    ​弥补现有MRAM的不足
    将赛普拉斯nvSRAM替换为MRAM
    PSRAM在数据缓冲应用中可以取代SRAM或SDRAM
    数据库建表语句备份(二)
    数据库建表语句备份(一)
  • 原文地址:https://www.cnblogs.com/toby2chen/p/5381806.html
Copyright © 2011-2022 走看看