I'm writing an application to speed up the product import procedure, but I'm stuck on the qty on hand part. It appears this is a calculated field (?) and there is no way to insert it directly into a table. Does anybody have any info/suggestions? I've got the import process to about 14 records per second, vs. the OpenERP import which takes almost a full second per record, so I'd rather not use the OpenERP import. TIA!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
Import a Physical Inventory
Warehouse --> Inventory Control --> Physical Inventories
https://doc.openerp.com/7.0/book/5/5_14_Stock/5_14_Stock_inv/#initial-inventory
Quantity on hand takes into account
- products in stock
- products ordered but not yet received
- products sold but not yet delivered
- products to be manufactured
Thanks. That's kind of what I figured. Was hoping I could just write a simple sql insert but that doesn't look likely. Might just have to use the initial inventory routine.
SQL is a dangerous way to go - it bypasses all of the business logic. You could quickly end up with a mess of a database. OpenERP wasn't written to handle a database in an inconsistent state and it won't do so elegantly. You should configure the server to log SQL calls so you can see what is happening when something is done via the UI to make sure you are 100% sure you understand the data model and can use SQL properly to update the database.
Yeah, I was thinking the same thing and looking at how to enable logging in PostgresQL. Any tips? I've got logging set to "all" in the conf file, but it's not logging anything - i made changes to the inventory and product and get nuthin...
first thing i did was google it. got logging on postgresql enabled and i think everything in the conf file is right... still don't get any sql stuff... i'm stuck...i'll post it on stackoverflow and see if anyone there knows what i'm missing... thanks for your help though.
Take a look at OpenERP Webservice!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
1
okt. 16
|
5631 | ||
|
1
mar. 15
|
6199 | ||
|
1
mar. 15
|
5766 | ||
|
1
mar. 15
|
5140 | ||
|
2
apr. 15
|
4263 |