求助,关于含税价格
-
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : zh_CN.cp936
Python Version : 2.5.2
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 244, in dispatch
File "netsvc.pyo", line 73, in call
File "serviceweb_services.pyo", line 583, in execute
File "osvosv.pyo", line 59, in wrapper
File "osvosv.pyo", line 118, in execute
File "osvosv.pyo", line 110, in execute_cr
File "osvorm.pyo", line 2696, in create
File "osvorm.pyo", line 2778, in _store_set_values
File "sql_db.pyo", line 76, in wrapper
File "sql_db.pyo", line 120, in execute
ProgrammingError: column "amount_tax" of relation "purchase_order" does not exist
LINE 1: update "purchase_order" set "amount_tax"=0.0 where id = 3 -
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : zh_CN.cp936
Python Version : 2.5.2
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 244, in dispatch
File "netsvc.pyo", line 73, in call
File "C:Program FilesHornERP AllInOneServeraddonsbase_module_recordbase_module_record.py", line 38, in execute
File "serviceweb_services.pyo", line 583, in execute
File "osvosv.pyo", line 59, in wrapper
File "osvosv.pyo", line 118, in execute
File "osvosv.pyo", line 110, in execute_cr
File "osvorm.pyo", line 2696, in create
File "osvorm.pyo", line 2778, in _store_set_values
File "sql_db.pyo", line 76, in wrapper
File "sql_db.pyo", line 120, in execute
ProgrammingError: column "amount_tax" of relation "purchase_order" does not exist
LINE 1: update "purchase_order" set "amount_tax"=0.0 where id = 14 -
按照17%计算
[table=509][tr][td=1,1,72]数量[/td][td=1,1,72]含税单价[/td][td=1,1,101]税前单价[/td][td=1,1,72]税前总计[/td][td=1,1,72]税[/td][td=1,1,120]税后总计[/td][/tr][tr][td=1,1,72]100[/td][td=1,1,72]12[/td][td=1,1,101]10.256410256[/td][td=1,1,72]1025.6410256[/td][td=1,1,72]174.35897436[/td][td=1,1,120]1200[/td][/tr][/table]
这样是正确的系统合计的时候错误了,税前总价和税额都是正确的
[[i] 本帖最后由 mayazql 于 2010-3-3 16:11 编辑 [/i]]