IRC logs of #tryton for Sunday, 2013-02-17

chat.freenode.net #tryton log beginning Sun Feb 17 00:00:01 CET 2013
2013-02-17 12:37 <basman> How I could enter some products quantities into my storage location without purchase operation?
2013-02-17 12:37 <sharoonthomas> basman: use a stock move
2013-02-17 12:38 <sharoonthomas> basman: some random from location (if it doesn't matter) and the to location as the storage location
2013-02-17 12:38 <basman> I made a move from supplier location directly to storage location, but the state of the move keeps being in draft and the quantity don't increase
2013-02-17 12:40 <sharoonthomas> basman: the move needs to be in done state for the stock be in your Quantity (current/real) to change
2013-02-17 12:41 <basman> I'm not able to change the state of the move to Done state
2013-02-17 12:41 <basman> The drop down list is not activated
2013-02-17 12:42 <basman> I'm using the demo database as admin user
2013-02-17 12:43 <sharoonthomas> basman: Create a new supplier shipment (since you don't have access to change the state of the stock move)
2013-02-17 12:44 <sharoonthomas> cedk: what is the best way to call on_change programmatically for a record which doesn't already exist (in 2.6 and using tryton as a library) ?
2013-02-17 12:47 <basman> My problem is as follows, suppose we deployed Tryton in a company that is already working and have purchased many products and put them in stock before the deployment of Tryton, then, what is the best method to enter those products in Tryton stock?
2013-02-17 12:47 <basman> I tried to made a new move from Supplier location to Storage location
2013-02-17 12:47 <basman> but Tryton should ask me then, who's the supplier, but it's not required in the move window, so, the move keeps being in draft state
2013-02-17 12:48 <basman> and can't be change to done state
2013-02-17 12:49 <sharoonthomas> basman: thanks for explaining the purpose, for that you use inventories
2013-02-17 12:49 <sharoonthomas> basman: "Inventory & Stock" > "Inventories"
2013-02-17 12:50 <sharoonthomas> basman: create a new one and put in all the items you have as opening stock and tryton will make the stock moves for you automatically
2013-02-17 12:51 <basman> Actually, I don't understand this concept, what is the difference here between moving stock directly to storage locations and inventory
2013-02-17 12:51 <basman> Aha, so the purpose of the inventory is for entering the opening stock in Tryton ?
2013-02-17 12:52 <sharoonthomas> basman: and making inventory corrections
2013-02-17 12:53 <sharoonthomas> basman: for example, if you took stock in your warehouse and want to adjust the differences, the inventories does the job for you
2013-02-17 12:56 <basman> mmmm
2013-02-17 12:56 <basman> Differences in what?, I'm still confused about this.
2013-02-17 13:29 <udono> basman: hi, I guess sharoonthomas meant the real stock levels of goods are sometimes different to the stock levels maintained in the application. This can be of some reasons like 'defect', 'lost', 'found', 'spoilage'...
2013-02-17 13:32 <basman> Okay, brother, I'm still confused in dealing with Financial module, I know how to configure all stuff in that module, but, I still need more information about the ideal configuration for me
2013-02-17 13:33 <basman> Are there any good article, tutorial or any guide containing examples related to Financial module ?
2013-02-17 14:06 <cedk> sharoonthomas: you can just instanciate the record and call the method
2013-02-17 14:07 <sharoonthomas> cedk: tried with kwargs, but i guess there was one arg which was not passed
2013-02-17 14:07 <cedk> sharoonthomas: don't understand
2013-02-17 14:08 <sharoonthomas> cedk: the issue was there was a missing attribute which was required for the on_change to work and it was not passed
2013-02-17 14:08 <sharoonthomas> cedk: so the lookup failed
2013-02-17 14:08 <sharoonthomas> cedk: took some time to figure it out
2013-02-17 14:09 <cedk> sharoonthomas: yes in 2.6 now, if you don't setup correctly the on_change attribute, you get an error
2013-02-17 14:09 <sharoonthomas> cedk: got it
2013-02-17 16:21 <oscar> Hi, somebody is working about the Tryton POS module for last release 2.6?
2013-02-17 16:22 <oscar> Or somebody has been trying to migrate POS tryton module to 2.6 version?

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!