IRC logs of #tryton for Wednesday, 2009-03-18 #tryton log beginning Wed Mar 18 00:00:01 CET 2009
bechamelcedk: and you want to merge this phantom concept with a way to show/choose alternatives in a bom ?00:00
cedkbechamel: yes, but if we colapse what I named "phatom product" with product, the choose will be no more linked to that00:00
cedkrmu: don't understand00:01
cedkrmu: you must produce product and not template00:02
bechameland what is the used of a phantom product if it can be a real product (i mean if it's a real product that can be stored/sold/purchased it must have his own production order, so it's no more phantom)00:02
bechamels/is the used/is the use/00:03
cedkbechamel: I think the phatom concept must be put in the BOM line00:03
rmucedk: imagine this module creates the concrete variants00:03
rmuout of a template and values in different dimensions00:03
cedkrmu: the input will also be a product and not a template00:04
bechamelcedk: so it's a phatom bom (or phatom assembly in the sap link vocabulary), not a phantom product00:04
rmuit's late and i'm slow...00:05
cedkbechamel: yes, but I think it is better to put it on the line instead of the BOM00:05
vengfulsquirrelThis way more advanced logic can be used, like say treat as phantom unless we don't have enough materials then check if phantoms exist in stock.00:05
vengfulsquirrel*At bom explosion time00:06
cedkvengfulsquirrel: I'm not sure you can check the stock level at explosion00:06
cedkvengfulsquirrel: because it can happen earlier than the production00:07
vengfulsquirrelOh yeah good point I should review my own diagrams.00:07
cedkvengfulsquirrel: and if at explosition there is in stock and at production no more, the producer is blocked00:07
bechamelcedk: the product order is also created "earlier than the production"00:07
cedkvengfulsquirrel: and it is not the real used of phatom00:08
bechameldoes a line may contains another bom ? if yes, i think a bom may be phantom or non-phantom00:09
cedkbechamel: no only product00:09
cedkbechamel: that is why I say that phatom must be on the line of BOM00:09
bechamelcedk: so i'm ok00:10
cedkvengfulsquirrel: I think we have the good vision for BOM00:11
cedkvengfulsquirrel: next thing will be the production order00:11
vengfulsquirreloh well I mean I prototyped it using this phantom design00:12
vengfulsquirrel  Production==ProductionOrder00:14
cedkvengfulsquirrel: it miss the phatom flag on production.bom_input_line00:14
vengfulsquirrelits a seperate module00:15
cedkvengfulsquirrel: ok00:16
vengfulsquirreland one more00:16
cedkvengfulsquirrel: but I think the production.production must be more sofisticated00:17
cedkvengfulsquirrel: I think you must list all the BOMs (BOM + phatom BOM)00:18
vengfulsquirrelyeah i guess my reasoning was i wanted to start using it right away and i didn't need phantoms, substitutes or configurations00:18
vengfulsquirreli just needed inventory management00:18
vengfulsquirreland tracking00:18
cedkvengfulsquirrel: and the user will be able to change on BOM for another one (with the same output product)00:18
vengfulsquirrelWhat do you mean list all the boms ?00:19
vengfulsquirrelThe production input and outputs will be multi-level00:20
cedkvengfulsquirrel: the production order must display all the boms that are used00:20
vengfulsquirrelif that's what you mean00:20
vengfulsquirrelyes that is considered in the design00:20
cedkvengfulsquirrel: no, I mean that to produce one product you can have many boms00:20
vengfulsquirrelyeah you have to pick a bom can click complete00:21
vengfulsquirrelover and over again00:21
vengfulsquirreluntil they are all chosen00:21
cedkvengfulsquirrel: and when you explode one bom, you explode also the phatom boms00:21
vengfulsquirrelha you can set a variable for that but that's not possible without assuming which bom to choose00:21
vengfulsquirrelSo like maybe it could use the most recent bom00:22
cedkvengfulsquirrel: so you display in the production order which boms have been choosen00:22
cedkvengfulsquirrel: but before starting to produce the user can switch some boms00:22
vengfulsquirrelyes you have to because people might want to change a bom and then complete again00:22
cedkvengfulsquirrel: and the production order must update the moves to respect the new explostion00:23
vengfulsquirrelhmmm well yeah i think those are two different states00:23
vengfulsquirrelso you'd have to move back to the draft stage to change the boms00:23
cedkvengfulsquirrel: what is different ?00:24
vengfulsquirrelmaybe assigned isn't the right word but that's what I use now to say moves have been created00:24
cedkvengfulsquirrel: yes you choose at draft00:24
vengfulsquirrelSo if you have assigned and you want to change bom you have to change state back to draft00:24
cedkvengfulsquirrel: no move exist at draft00:25
vengfulsquirreland then you can use complete to re-explode the bom as desired00:25
vengfulsquirrelI should say boms ... if there are nested boms00:25
cedkvengfulsquirrel: yes00:25
vengfulsquirrelsince there can be multiple boms for a product00:25
cedkvengfulsquirrel: so I think your input_lines, output_lines on production.production is not required00:26
vengfulsquirrelwe use the principal products of a bom to determine if it is eligible to be selected as a bom to produce a given product00:26
cedkvengfulsquirrel: yes, but for me it is not mandatory00:27
cedkvengfulsquirrel: but it is a detail00:27
cedkvengfulsquirrel: are you agree that input_lines, output_lines on production.production can be dropped ?00:29
vengfulsquirrelno i don't know what you mean by that00:29
vengfulsquirrelthey store all the information about the selected boms and substitution and phantoms00:29
cedkvengfulsquirrel: I mean that they are not useful00:29
cedkvengfulsquirrel: selected boms must be a list of boms00:29
vengfulsquirrelthey are essentially where everything is stored for the entire system00:29
cedkvengfulsquirrel: you must store only the boms00:30
vengfulsquirreli store what is planned and then what actually happens00:30
vengfulsquirrelas well as all the products00:30
cedkvengfulsquirrel: no need to store what is planned00:30
cedkvengfulsquirrel: it comes from bom00:31
vengfulsquirrelwhat aobut multiples?00:31
cedkvengfulsquirrel: if you know which boms are choosen, you know everythings00:31
cedkvengfulsquirrel: which multiples?00:31
vengfulsquirrelsorry phone, well for example 15 of some product means that all the input lines have to be calculated00:34
vengfulsquirrelas multiples00:34
cedkvengfulsquirrel: and?00:35
vengfulsquirrelthat is stored in the input lines00:35
vengfulsquirrelalso depending on how many byproducts are produced those are record in output lines00:35
vengfulsquirrelsince it might not always be absolute00:35
cedkvengfulsquirrel: you can put in from_inventory_moves00:36
vengfulsquirreland similarly with principal outputs actually00:36
vengfulsquirrelbut this might be important for records later00:36
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: Checked in another DB. There as well the already translated and updated items are marked fuzzy after doing update translation. Added another scre ...00:37
vengfulsquirrelalso if we have to recalculate everything at every step of the production process its going to be slow and changes elsewhere in the system would need to be stopped because we have to create everything on the fly00:37
cedkvengfulsquirrel: still don't understand, theorical quantity can be retreived from the boms selection00:37
cedkvengfulsquirrel: only each time the user change the boms selection00:37
vengfulsquirreland then where is it stored?00:38
cedkvengfulsquirrel: you generate theorical moves at draft, the user modify it later to respect the real production quantity00:38
cedkvengfulsquirrel: in the moves00:39
vengfulsquirrelwhat about while they are exploding the bom ?00:39
vengfulsquirrelits similar to how inventory lines are stored for an inventory00:39
vengfulsquirrelas well as there moves00:39
cedkvengfulsquirrel: the explosition appends when you create the production order00:39
vengfulsquirrel*their moves00:40
cedkvengfulsquirrel: no it is different then inventory00:40
cedkvengfulsquirrel: because inventory is a process in the other way, you know where you want to go and ask the system to make move to go there00:40
cedkvengfulsquirrel: and it is really better to work directly with moves on production order because it will modify the stock computed for forecast00:42
cedkvengfulsquirrel: and the scheduler will generate production order based on the stock level00:42
vengfulsquirrelThe quantities are only part of it, you must reconstruct how the bom was exploded to transition back from the assigned state to the draft state as well.00:42
cedkvengfulsquirrel: yes it needs only quentity and boms00:43
vengfulsquirrelbut you can also select substitutes00:43
CIA-10tryton: ced roundup * #872/Translation: translated items reappearing as fuzzy: Did you update the module before?00:44
cedkvengfulsquirrel: no substitutes are made with boms00:44
vengfulsquirrelcedk: No that's not have I have it designed, or this is an alternative.00:45
cedkvengfulsquirrel: if to produce A you must use B or C00:45
vengfulsquirrelBut having production lines we can also support what rmu was talking about earlier which is more continuous/highly custom production orders.00:45
cedkvengfulsquirrel: so you create a BOM for A that use D00:46
cedkvengfulsquirrel: and two others boms to produce D, one with B and an other with C00:46
cedkvengfulsquirrel: I don't think so00:47
cedkand any way, you must generate all the moves at draft state00:47
vengfulsquirrelYes that is one way to model it but it is not intuitive in some cases where two seperate products would make more sense.00:47
vengfulsquirrelWhy must the moves be generated at draft state?00:47
cedkvengfulsquirrel: to reflect the forecast00:48
vengfulsquirrelSorry I probably didn't mean assigned to be second state00:48
vengfulsquirrelbut the second state should be where moves are created00:48
cedkotherwise you can not plan you production00:48
vengfulsquirrelotherwise you are going to be creating and deleting moves like crazy00:48
cedkvengfulsquirrel: not like crazy, normally the system must be configured to create by default the right production order00:49
cedkvengfulsquirrel: and anyway, with your model, you will create production.production_input_line like "crazy"00:49
cedkbecasue it is the same except that you make a backup00:50
cedkand if you need it, you can awlays create with my model, a module that create a copy of the moves when it change state from draft to other00:51
cedkor even better you can history moves :-)00:51
vengfulsquirrelWhy would it create a copy ?00:51
cedkyou say that you want to have it00:52
cedkfor me production.production_input_line is the moves at draft state00:52
cedkso if you need it after this state, just copy it00:52
cedkand by copy, I mean in an other table00:53
rmucedk: perhaps boms are not sufficient. think about A is-produced from (C is-produced from D) and (B is-produced from D), then user could choose different BOM for first D and second D.00:54
cedkrmu: yes, the list of BOMs must be more then a many2many00:55
cedkrmu: it must contain a kind of key that reference the place in the exploded tree00:55
rmuso it will be a tree. nevertheless, I have to catch some sleep. good night.00:56
cedkrmu: like in you example: A-C-D and A-B-D00:56
vengfulsquirrelrmu: good night, ttyl00:56
cedkrmu: good night, I will follow you :-)00:57
cedkvengfulsquirrel: we can continue this discussion tomorow00:58
vengfulsquirrelcedk: okay sounds good00:58
vengfulsquirreltalk to you then00:58
cedkvengfulsquirrel: think about my design :-)00:59
-!- bechamel(n=user@ has left #tryton00:59
vengfulsquirrelcedk: ha okay I will00:59
cedkvengfulsquirrel: because I'm really sur that it is better to work at move level01:00
vengfulsquirrelYeah I have to think about the data I need stored.01:00
cedkvengfulsquirrel: and also that first we must have the minimal data and we extend after with module01:03
-!- ikks(n=igor@ has joined #tryton02:38
-!- juanfer(n=juanfer@ has joined #tryton02:43
-!- yangoon( has joined #tryton05:19
-!- paola( has joined #tryton06:54
-!- racke( has joined #tryton08:13
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton08:20
-!- Gedd(n=ged@ has joined #tryton08:31
-!- gadaga( has joined #tryton08:44
-!- gadaga( has joined #tryton08:47
CIA-10tryton: cristi roundup * #877/ProgrammingError: relation "res_user-res_group" does not exist: [new] Traceback (most recent call last): File "/trytond/protocols/", line 48, in run res = dispatch(host, port, 'NetRPC', *msg) F ...08:50
CIA-10tryton: cristi roundup * #877/ProgrammingError: relation "res_user-res_group" does not exist: [chatting] Maybe is not a bug after all since i had a made an update and with hg fpull and tried to start against a database i had before. Are tho ...08:53
-!- racke( has left #tryton09:09
-!- johbo( has joined #tryton09:17
-!- simahawk( has joined #tryton09:49
-!- simahawk( has left #tryton09:50
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:17
-!- mib_7k0qkluy(i=5978d3ce@gateway/web/ajax/ has joined #tryton10:25
-!- carlos(n=carlos@ has joined #tryton10:36
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton11:03
cristi_ancedk: this kind of changes like search_rec_name11:06
cristi_anare quite new no ?11:06
cedkcristi_an: yes11:06
cristi_ancause in the version i had before there were other methods...11:06
cedkcristi_an: it replaces name_search11:06
cristi_anis this going to stay for the next 6 months or so ?11:06
cedkand more normally11:07
cristi_anrec_name come from ?11:07
cristi_anin ptyhon there is not used to comment methods ?11:08
cristi_aneach method with a short description of what it does...11:08
cristi_anor commented as override then the dev know that description is on parent class11:08
cedkcristi_an: we put docstring for standard method in model/*11:12 ?11:14
cedkcristi_an: grep11:15
-!- Ky1e( has joined #tryton11:23
cristi_ansearch_rec_name and get_rec_name are overriden methods ? and when this methods are called ? (write i undestood )11:30
cristi_ani am looking in address.py11:30
cedkcristi_an: when you search on rec_name or read it11:31
cristi_anbut rec_name may be a coumpound search no made out from more the (name field)11:32
cristi_anwhere can i seach for address rec_name from client ?11:33
cristi_anfrom what i see it is an overriden method from modelstoreage.py11:34
cedkI don't understand11:35
cristi_ani just want to understant this "simple" model party so i am looking on methods in address11:36
cristi_anthere are these two method get_rec_name and search_rec_name....11:36
cristi_ani understood are used to get the rec name and to do a search after rec_name11:36
cristi_anrec_name by default if the method get_rec_name is not override is eqaul to name11:37
cristi_ancorrect until her e?11:37
cedkcristi_an: yes11:37
cristi_annow in the client when i do a search after rec_name ?11:38
cristi_anjust to follow the method call11:38
cedkcristi_an: more precis is that rec_name is by default the value of the _rec_name of the Model which has as default value 'name'11:38
cedkcristi_an: I don't know11:38
cristi_anso if the method get_rec_name is not overrided in address then rec_name would heve been  name = fields.Char('Name', states=STATES)11:39
cristi_anso my question is where this method is used  def search_rec_name(self, cursor, user, name, args, context=None):11:41
cristi_ancause i wa able to see only being declared11:41
cristi_ani searched for soemthing like .search_rec_name but i found nothing ...11:43
cristi_anthat menas is not used anywehre ?11:43
cedkcristi_an: when type some letter in a many2one in the client, it will call to search on rec_name like the value11:45
udono1cristi_an: see country/
cedkcristi_an: like that you can enter in the many2one field the first letters of the name of the party but also the code of the party11:48
cristi_anudono1: i am  there11:48
udono1cristi_an: this makes the Countryname of an address appear as a list after typing some keys11:48
cristi_anaha so it is a call only on client side11:49
cristi_ansince i did not found usage on server code11:49
cristi_ani guess is xml rpc comming from cleint11:49
cristi_anand that is why i do not see usage on trytond11:50
cristi_anam i at least close with my conclusion ?11:59
cristi_anit is the same when you choose a custoemr when doing a sale12:01
cristi_anyou enter 3 letters12:01
cristi_ancompare with rec_name found12:01
cedkcristi_an: yes normally you don't search on rec_name on the server side12:01
cristi_anand return ...12:01
udono1cristi_an: Yes, when you look att address.xml you see an    <field name="country" completion="1"/>12:01
cedkudono1: no completion is an other thing12:02
cedkudono1: it is to display a list like in combobox12:02
udono1cedk: ah, ok12:02
cristi_anex party has no combo box in sale12:02
cristi_anand is many to one12:03
cristi_anbut why normally you don't search on rec_name on the server side ?12:03
cedkcristi_an: if you type just the code of a party12:03
cedkcristi_an: because it is not determinist12:03
cristi_ancedk: it is a search on a compund term12:03
cristi_anname + code + anythign that i define as rec_name no /12:04
cedkcristi_an: you will not search for party with rec_name like 'foo' on the server code12:04
cristi_ani will seach for a party that has code12:05
cristi_anor name foo12:05
cedkcristi_an: yes but it is really bad practice to do that on the server side12:05
cristi_anso ? :)12:06
cristi_anthis is not how it is done now ?12:06
cedkI don't understand what you ask ?12:07
cristi_anwhat is a bad practice ? to search for a party that has name or code 'foo' ?12:08
cedkcristi_an: yes12:08
cedkcristi_an: it doesn't make sense to code that on the server side12:08
cristi_anso to understand how it is done ?12:09
cristi_annow i am lost 110 %12:09
cristi_anbut when i do a sale ...i enter foo12:11
cristi_ani search on server is done returning all foo customers no ?12:11
cedkcristi_an: what I say it is that you must not call search_rec_name on the server side because it is bad12:11
cristi_annobody said that will call that on server side12:12
cristi_ani understood and i said that it is called on client side...12:12
cristi_anon server side...there is implemented...12:12
cristi_anso it is a call on server from client :)12:12
cristi_ancorrect ?12:13
cristi_anand sorry for misunderatndings12:14
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: As I said, I just pushed those changes to upstream. So I was at tip at that moment. So the second (and third) database were updated with tip: But ...12:33
CIA-10tryton: ced roundup * #872/Translation: translated items reappearing as fuzzy: I mean run the server with -d database -u all12:37
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: Yes, that is exactly what I did (with second and third database). And then looked in those databases at translations by Update translations.12:41
-!- paola_( has joined #tryton12:51
cristi_anif browse is called with 100 ids on address then the returned BrowseRecordList will containe 100 address ,BUT those addresses will have the party object filled ?13:01
cristi_aneach of those addresss will have reference to a complete party object  ?13:01
cristi_anor will contian only the ids of a the party ?13:01
cedkcristi_an: you will have a browserecord of each parties13:09
cristi_anso on a call another call is done to db to get parites as well ?13:13
cristi_anassume 100 address are retrieved in a db call then anoethre is done for parties ?13:14
cristi_ansince i hope is not done a call for each address to get its party13:14
cedkcristi_an: all is optimized to minimise the number of sql queries13:16
cristi_anis that so smart :) ?13:23
cristi_anon 100 addreses with 100 different parties tell me therea are not 101 sql ?13:23
cedkcristi_an: no 2 queries13:24
cristi_anin a for iteration like this
cristi_anyou knwo what will be perfect for me ? to be able to acces those model method into some unit tests13:25
cristi_anthen i will be able to put prints13:26
cristi_anand to see outputs...13:26
cristi_anis there a sample of such thing and i will not disturb :)13:26
cedkcristi_an: write a little module13:27
cedkcristi_an: and after that you can look at trytond/tests/test_tryton.py13:29
cedkto see how to access the server from ascrip13:29
CIA-10tryton: C?dric Krier <> default * 398:7049ad68b657 account/ (CHANGELOG account.xml Allow to update chart of account from template13:35
cristi_anthere is some thing before running those unit tests since on the 5th test i got this :test0020reorder (__main__.MPTTTestCase) ... ERROR13:39
CIA-10tryton: ced roundup * #877/ProgrammingError: relation "res_user-res_group" does not exist: [resolved] It is a dev branch, changes happen. You must always update the database after updating the source code.13:40
udono1cristi_an: if a testcase fail, it is good to report a bug13:46
cristi_anmaybe i do something worng13:47
cristi_anudono1:  i just run like this  ./test_tryton.py13:48
cristi_anit happes to u as well ?13:49
cedkI try it and it works here13:50
carloscedk: wow, is that last commit a way to refresh existing chart of accounts based on an updated module?13:51
cedkcarlos: yes, based on templates13:52
cedkIt was something we talked sometimes ago here13:53
carlosI asked you about it or something similar, not sure if that's what you mean13:53
carlosso I upgrade a module with a fixed chart of accounts13:53
cedkcristi_an: do you run a 1.0 server ?13:53
carlosthat updates the templates13:53
cedkcarlos: yes13:53
cristi_ancedk: i run latest code13:53
cristi_ani updated this morning13:54
carlosand then, I will be able to execute a wizard (or something like that) that will upgrade my chart of accounts for the selected year?13:54
carloscedk: is that correct?13:54
cedkcarlos: it is not for a selected year but for every years13:54
carlosyeah, that also makes sense13:54
cedkcarlos: as I said in the email, next step will be to historize some fields value13:55
carloscedk: thank you for that feature. That makes my life even easier to start using right now my experimental chart of accounts without having to work on migration scripts everytime I fix something13:55
cedkcarlos: like the name or the code of an account13:55
cedkcarlos: and we you read it, depending of the date you will see the right values13:55
carlosACTION didn't read the email yet13:56
cedkcristi_an: I mean the server that is listening ?13:56
carloscedk: I guess you will be using your historical information feature for that, right?13:56
-!- ikks(n=igor@ has joined #tryton13:57
cedkcarlos: no because it is different13:57
-!- Ky1e( has left #tryton13:57
cedkcarlos: we must be able to control the history13:57
carlosso you will allow to change such 'history' ?13:58
cedkand the history will be put in the templates13:58
cedkcarlos: yes if there is mistake13:58
carlosI see13:58
cedkit is more like from this date to this date, the account code must be ...13:58
carlosACTION goes to read the emails before keep asking...13:58
cristi_ancedk: the server that is listening is can i know what version i run ?13:59
cedkcarlos: the history is not explain in the email13:59
cedkcristi_an: ./bin/trytond --version13:59
cedkcarlos: the update process doesn't work if you change the tree structure14:00
carlosWell, my next question is (I wanted to check you didn't answered it in the email), do we need to do anything special in the chart of accounts?14:01
carlosother than keep the same tree structure14:01
carloshmm, which makes me wonder... then this upgrade will work always, except for parent changes, right? (you could change the type, name, description, etc... and the upgrade will work well)14:03
cristi_antests are for other version ?14:08
cristi_anudono1: for you latest unit tests if you run them work ?14:15
cristi_anit is just execute ./tryton-tests14:15
-!- enlightx( has joined #tryton14:17
cristi_anyes :(14:23
cristi_anwhat would be the error for me ?14:23
cristi_ando you have latest code ?14:24
udono1cristi_an: double check that there are no unresolved merges. Then you need hg merge in the repos and after this hg commit.14:25
cristi_anyou know what i will do ? delete whole ./tryton-dev.sh14:27
cristi_anthe same error :(14:30
cristi_anall code is fresh from retrived with dev -script14:30
udono1cristi_an: srry no idea14:37
cristi_ani put some prints to see14:38
cristi_anit is strange however sice it is code directly from repository14:38
cristi_annot touch with a , from me14:38
cristi_ancedk: at least a hint to fix this14:41
cedkcristi_an: first I don't understand why you have psycopg2 logging message14:44
cristi_an???? beats me14:44
cedkcristi_an: second, I'm really wondering if you don't run a 1.0 server because there is change between 1.0 and 1.1 about the order in MPTT14:46
cristi_ancedk: i had a clean directory14:46
cristi_anand i run ./tryton-dev.sh14:46
cedkcristi_an: I don't care about the directory but the running server14:46
cedkcristi_an: but are you sure it is these one that is running?14:48
cristi_anyes since otherwise how the client would have start14:48
cedkcristi_an: I don't know14:51
cristi_ank :(14:51
-!- mib_4hywanu0(i=5978d3ce@gateway/web/ajax/ has joined #tryton14:57
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton15:27
-!- bechamel(n=user@ has joined #tryton15:47
-!- irclog( has joined #tryton16:22
-!- schnueptus( has joined #tryton16:23
-!- Timitos(n=Timitos@ has joined #tryton16:35
-!- schnueptus( has left #tryton16:37
CIA-10tryton: C?dric Krier <> default * 1633:bdc93a46f90c trytond/trytond/model/ Fix child_of on Many2Many for new relation_name16:47
CIA-10tryton: C?dric Krier <> default * 133:316c1ccad7f6 product/product.xml: Add product by catehory action for issue83416:56
CIA-10tryton: ced roundup * #834/product category tree behavior: [resolved] Fix with changeset 316c1ccad7f616:56
-!- racke( has joined #tryton17:21
-!- bechamel`(n=user@ has joined #tryton17:32
CIA-10tryton: C?dric Krier <> default * 284:5119276dba1a account_invoice/ Add docstring to pay_invoice17:57
CIA-10tryton: C?dric Krier <> default * 285:5e4f3f8e58ab account_invoice/ ( invoice.xml):17:57
CIA-10tryton: Improve pay invoice wizard for issue80217:57
CIA-10tryton: - Allow zero payment amount17:57
CIA-10tryton: - Set partial as default17:57
CIA-10tryton: - Add write-off amount17:57
CIA-10tryton: ced roundup * #802/Usability: Write-Off in invoices: [resolved] Fix with changeset 5e4f3f8e58ab17:57
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton18:00
CIA-10tryton: C?dric Krier <> default * 1634:34626c7aa9ee trytond/trytond/backend/postgresql/ Add missing history in super call18:09
CIA-10tryton: C?dric Krier <> default * 1635:19ae039331ce trytond/trytond/model/ Fix creation of missing columns in history table18:09
-!- vengfulsquirrel( has joined #tryton18:41
-!- bechamel`(n=user@ has joined #tryton18:56
CIA-10tryton: C?dric Krier <> default * 1636:481e8443c5bf trytond/trytond/backend/postgresql/ Add primary key __id on history table18:58
CIA-10tryton: C?dric Krier <> default * 505:91c19ab610a0 stock/product.xml: Remove unused src_model19:24
CIA-10tryton: C?dric Krier <> default * 1637:b9af31db7b3e trytond/trytond/ir/ ( action.xml): Remove unused src_model and improve act_window form19:24
-!- simahawk(n=simao@ has joined #tryton20:35
vengfulsquirrelcedk: I think what I thought was a slowdown in creating stock locations is actually a slow down in creating products.  Maybe it has to do with the changes to the account revenue/account expense fields.20:56
-!- paola( has joined #tryton21:04
-!- simahawk(n=simao@ has left #tryton21:11
Timitosbechamel`: how do i get something in global context? in the context where company, user, groups and so on is?21:15
bechamel`Timitos: often data are added to context via the action of the menu, see account_invoice/invoice.xml21:25
Timitosbechamel`: i found in res.user another way to do it by _context_fields = ... but i do not get it work21:26
bechamel`Timitos: _context_fields is strange, i don't see where it is used21:29
Timitosbechamel`: it is used in and in company.py21:31
bechamel`Timitos: yes it's created there but where it is consumed21:32
Timitosbechamel: i think it puts the fields into the context21:33
bechamelTimitos: oh yes, I didn't see it is used later for the preference window21:37
Timitosbechamel: but it only seems to work on user model21:37
bechamelTimitos: yes it's global context for the user (by global i mean that it only depend of the user and not of what he is doing)21:44
Timitosbechamel: thx21:50
-!- johbo( has joined #tryton22:08
-!- oversize( has joined #tryton22:34
cedkvengfulsquirrel: could you be show how you create products?22:42
vengfulsquirrelhold on22:42
vengfulsquirrelcedk: I have a bunch of weird modules I added so it could involve them,
vengfulsquirrelcedk: The product_obj.create(values) takes about 1.2 seconds +/- a lot of things, ha and I know this is subjective but does that sound normal to you ?22:52
cedkvengfulsquirrel: it sounds too long for me22:54
cedkvengfulsquirrel: you use a connection or directly the API22:54
vengfulsquirrelI think directly because I don't have the server running.22:55
cedkvengfulsquirrel: do you add some stuff on product?22:56
vengfulsquirrelYeah I've added some fields22:57
cedkvengfulsquirrel: like?22:57
vengfulsquirrelcedk: What does this line do what caused it to be called ?
vengfulsquirrelthese to product.template:  ,
-!- Timitos(n=Timitos@ has joined #tryton23:11
cedkvengfulsquirrel: it set the value for fields that are not directly in a column of the table23:16
Timitoscedk: could you please help me with an states parameter? i am setting this in fields_get method and it seems that my parameter are not working:
Timitosi donĀ“t know why23:56
Timitosone important thing: the groups_option field comes from a inherits23:56
Timitosmaybe i am to tired to see my mistake23:57
-!- johbo( has joined #tryton23:58

Generated by 2.11.0 by Marius Gedminas - find it at!