IRC logs of #tryton for Tuesday, 2009-03-17 #tryton log beginning Tue Mar 17 00:00:02 CET 2009
cedkvengfulsquirrel: maybe it is
cedkvengfulsquirrel: it was 5 weeks ago00:20
cedkvengfulsquirrel: any way, I will be curious to see the code that create de 1000 locations00:23
CIA-10tryton: ced roundup * #870/AttributeError: 'Screen' object has no attribute 'views': [chatting] Need more info00:40
-!- juanfer(n=juanfer@ has joined #tryton02:52
-!- daedax20_( has joined #tryton03:10
-!- cedric_b( has joined #tryton04:50
-!- yangoon( has joined #tryton04:50
-!- ChanServ(ChanServ@services.) has joined #tryton04:51
-!- yangoon( has joined #tryton05:19
-!- enlightx( has joined #tryton07:44
-!- paola( has joined #tryton07:55
-!- johbo( has joined #tryton08:03
-!- Timitos(n=Timitos@ has joined #tryton08:03
-!- racke( has joined #tryton08:12
-!- enlightx( has joined #tryton09:18
-!- Gedd( has joined #tryton09:21
-!- gadaga( has joined #tryton09:40
-!- simahawk( has joined #tryton09:42
-!- simahawk( has left #tryton09:43
-!- bechamel(n=user@ has joined #tryton09:57
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:10
-!- daedax20( has joined #tryton11:05
-!- johbo( has joined #tryton11:25
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton11:32
-!- johbo( has joined #tryton11:36
cristi_ancedk: all reports11:37
cristi_anhave to be done by using existing orm11:37
cedkcristi_an: yes11:37
cristi_ani mean if there are some reports taht require some complex sql11:38
cristi_anso is not possible to just create a report using relatorio and some queries ?11:38
cedkcristi_an: yes, you can11:38
cristi_ansince that repot has maybe nothing to do with how object are handled by orm11:39
cristi_anso is possible from client to create report x with params p1,p2,p3 ==> a report11:39
-!- schnueptus( has joined #tryton11:41
cedkcristi_an: here is an example11:44
cristi_anconcrete sample : params start date,end date and to result a report where you can for each of the client invoices that are not paied...gruped and with initial unpaid sum at start date11:44
cristi_anyes...that one seems like my question11:46
-!- tekknokrat( has joined #tryton11:55
cedkTimitos: the ohloh page is updated again12:04
-!- tekknokrat( has left #tryton12:14
cristi_anin terms of developing modules how much difference in between open erp and tryton ?12:26
cristi_anif i put it in other way ... a tryton developer may easily create open erp modules and vice versa ?12:27
cedkcristi_an: normally12:27
cristi_anwhat i notices that the data entry is not very complicated to do in tryton12:44
cristi_anreports are the hardest part i say12:44 romania nowdays they ...came with a "brillian proposal" to change VAT on different products.12:45
cristi_anhow a thinkg like this affect a program like tryton12:46
cristi_andoes Tryton keep vat procentage in invoice lines ?12:46
cristi_anso if i still have previous month open ...12:46
cristi_anand next is with new vat procentages ?12:46
cedkcristi_an: not yet12:51
-!- johbo( has joined #tryton12:54
cristi_anbut beliveme you will need this...13:03
cristi_ansince there are discussions in serveral countries about vat13:03
cristi_anin this econom context13:04
cristi_ani tried now the open's erp web application demo13:25
cristi_anif someone can use that...13:25
cristi_anand do not fall into sleep13:25
cristi_anwhile doing an invoice13:25
cristi_anit is brave...13:26
cristi_anthat is so slow !13:26
cristi_ando you have that problem as well or my net is the problem13:29
cristi_anif someone can try to do an invoice with 3 products...plz count how much time you need....13:29
CIA-10tryton: udono roundup * #871/possible typo in tryton/tryton/gui/window/view_tree/ [new] tryton/tryton/tryton/gui/window/view_tree $ hg diff diff --git a/tryton/gui/window/view_tree/ b/tryton/gui/window/v ...13:34
cristi_anplz someine do me a favour and try to do an invoce...14:12
cristi_anmaybe indeed my net is the problem14:12
CIA-10tryton: C?dric Krier <> default * 1622:c4c0edf41f2d trytond/trytond/ (res/ res/ workflow/ Add missing _description14:12
CIA-10tryton: C?dric Krier <> default * 1623:f7df27d58bbe trytond/trytond/ (4 files in 4 dirs): Update fr_FR14:12
CIA-10tryton: C?dric Krier <> default * 392:37d888583aaf account/ ( Add missing _description14:13
CIA-10tryton: C?dric Krier <> default * 393:40519837a9a2 account/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 279:31dd80eaac46 account_invoice/ Add missing _description14:13
CIA-10tryton: C?dric Krier <> default * 280:8647ccedb469 account_invoice/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 34:1ce702fa76be account_product/ Add missing _description14:13
CIA-10tryton: C?dric Krier <> default * 35:68b428c81580 account_product/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 132:5d26ddd5f34f company/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 27:0ddef5a929d5 country/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 61:c78bcfbe7dfa currency/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 2:a7e8dcadcab7 google_translate/ ( fr_FR.csv Add fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 239:4c2900166421 party/ Add missing _description14:13
CIA-10tryton: C?dric Krier <> default * 240:34e2a6ee8d2a party/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 132:e695e7f0813a product/fr_FR.csv: Update fr_FR14:13
CIA-10tryton: C?dric Krier <> default * 258:6e1819564d75 purchase/ Add missing _description14:14
CIA-10tryton: C?dric Krier <> default * 259:857ed4f365a0 purchase/fr_FR.csv: Update fr_FR14:14
CIA-10tryton: C?dric Krier <> default * 500:500a6aaa063e stock/packing.xml: Fix typo14:14
CIA-10tryton: C?dric Krier <> default * 501:32175c0051e3 stock/fr_FR.csv: Update fr_FR14:14
CIA-10tryton: C?dric Krier <> default * 171:dc81a32f05dc stock_supply/fr_FR.csv: Update fr_FR14:14
cedkcristi_an: I try, it took me 3 min. to create a invoice with 3 lines14:17
cedkcristi_an: but searching partner doesn't work for me, I need to enter complete code to have it14:18
bechamelcristi_an: cedk: i tried too, but i was already fed up after the first line14:18
cedkcristi_an: and did not change any default values14:19
cedkcristi_an: and I used the mouse14:19
bechamelsomebody know why journal and account start with an "x" ? like "x 701000 Products Sales" and "x Sales Journal" ?14:19
cristi_ani see14:19
cristi_anso it is hard indeed14:19
cristi_annot my net is the problem14:19
cristi_anguys thx a lot...mybe in better server configuration it works better14:20
cristi_anbut the current demo does not convice me at all....:(14:20
cedkbechamel: perhaps for order14:21
bechamelcedk: or a problem in the name_get code, because in form with there are no "x" in front of names14:24
bechamelcedk: no sorry, it's in the code14:24
bechamelcedk: maybe you are right14:24
bechameland i also see that the icon for creating new record is no more available on the m2o fields ..14:26
CIA-10tryton: C?dric Krier <> default * 1220:94ec2475b92c tryton/tryton/gui/window/view_tree/ Fix typo for issue87114:26
CIA-10tryton: ced roundup * #871/possible typo in tryton/tryton/gui/window/view_tree/ [resolved] Fix with changeset 94ec2475b92c Next time, it will be better to attach the patch.14:26
CIA-10tryton: C?dric Krier <> default * 1086:a1061ec8e4c8 tryton/tryton/gui/window/ Improve test for long id for issue83514:27
CIA-10tryton: C?dric Krier <> default * 1356:0caedf89a193 trytond/trytond/osv/ Fix default value for _context in BrowseRecord14:29
CIA-10tryton: C?dric Krier <> default * 328:d61c9b45ed6e account/ Make tax fields invisible if there is no company defined for issue84414:29
CIA-10tryton: C?dric Krier <> default * 211:b356cb38e087 account_invoice/ Don't update taxes for invoice in state 'open', 'paid', 'cancel'14:29
bechamelsomebody know how the "process" view must be used ?14:31
cristi_anbechamel: only if you save the "parent"14:32
cristi_anit becomes active14:32
cristi_ananyway that is an interesting application14:33
bechamelcristi_an: yes, for example it is active on product i if i clic on it i see a sort of workflow but then i don't know what to do14:33
cristi_anit is not intuitive at all...14:34
cristi_ani preffer quality vs.quantitiy :)14:34
bechamelactually i try to guess what's the need behind it, for example i think that "green arrows" (to open related documents in a new tab) are sometimes missing in Tryton, maybe it is related ?14:37
-!- ikks(n=igor@ has joined #tryton15:06
-!- juanfer(n=juanfer@ has joined #tryton15:32
-!- udono1( has joined #tryton15:37
-!- paola( has joined #tryton15:37
-!- enlightx( has joined #tryton15:39
CIA-10tryton: Bertrand Chenal <> default * 502:30bde19d88fd stock/doc/index.rst: Typo15:57
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton16:19
cristi_anthe demo exe is now in german as def language ?16:20
cristi_anTimitos:  ?16:22
cedkcristi_an: no it is somebody who change the use language16:23
cristi_ani see16:23
cristi_antesters like me :)16:24
cedkcristi_an: I reset to english16:24
cristi_ancedk: i will need to do a module that imports from client a csv file (a file does not matter format)16:24
cristi_anand to create invoices on server side16:24
cristi_anor orders..16:25
cristi_anstuff like this16:25
cristi_anpossible ?16:25
gadagacristi_an: you can do that if you create a script using xmlrpc16:26
cristi_anlike you upload a file from a web application16:26
cristi_anbut that file is precessed by by server16:26
cristi_anand as a reuslt some invoces or other things are created,customers...16:27
cristi_anwell,xmlrpx is just calling a mwthod on server side...16:28
bechamelyes but you can call create or  write for example16:29
cristi_anhow can i open and upload a file i do not know16:29
gadagacristi_an: you can already launch a wizard, create write a record....16:29
gadagacristi_an: you can do everything you want with python ;)16:30
cristi_angadaga: but i have to use the existing client16:30
cristi_ancan i do that with it ?16:30
cristi_anwith wizzard i may upload the file...16:30
gadagacristi_an: yes if you create you own module on server side16:31
cristi_anthen to execute a procedure on server side that16:31
cristi_andoes my import job16:31
cristi_anthere is such samples somewhere in the current import files.,or parners from cvs anything ?16:32
cristi_ani foud something open backup file to restore....16:34
cristi_anthis is something similar since ... the user upload a files and something is exceuted on server side16:35
cristi_ancedk: the client has modules text in english but to menu in german16:36
gadagacristi_an: remove the conf fileand restart you client16:37
cristi_anwhere i find the conf ?16:37
cristi_ansince i just haev an exe16:38
bechamelcristi_an: if it's the auto-exe, just relaunch it16:38
gadagacristi_an: I don't have winbouze sorry i can't help you ;)16:39
cristi_ani have both :) but i run this time in wind16:40
cristi_anbechamel: a sample in current architecture...16:40
cristi_anfro uploading a file except resotre database ?16:41
bechamelcristi_an: there are no example of this kind of stuff, but it's possible with a wizard and a fields.Binary on it16:43
cristi_ansimilar to restore database ?16:45
cristi_anbtw this demo is build from what branch ?16:45
bechamelcristi_an: restore db is not a wizard, it's client side code16:47
-!- enlightx( has joined #tryton16:48
cristi_anwhy do i need a wizzard...? i just want to push on a button  ,then open a file chooser and then when i choosed to upload on server and the server to execute and process the file acording to that button' action or so16:49
cristi_ani need a wizzard for this...?16:49
cristi_anthe button should be named like Import Invoices From Csv16:50
cristi_anmore like an action16:50
bechamelcristi_an: yes, it's also possible if you define a model with a fields.binary on it, but what would be this model ?16:50
cristi_anwhy do i need binart16:51
cristi_anbinary ?16:51
cristi_ancsv is text16:51
cristi_anis not an image16:51
bechamelcristi_an: fields.Binary can be anything, this just means that if stored on the db it will be a blob, but if you use a wizard there are no storage involved16:52
cristi_ansorry for asking all this...but ..i have in front a project on which i will work like 6 month even more and i do not want to find out that after 3 months that i can;t do it16:53
cristi_anso i ask before going deeper...16:53
bechamelcristi_an: if you want to import a file and write server-side code to manage this file then a wizard is the way to go16:54
cristi_anCOOL !16:54
bechamelcristi_an: ... if it must involve user interaction16:54
cristi_anthe imp thing is that is possible16:54
cristi_anbechamel: OF COURSE USER INTERACTION16:54
bechamelcristi_an: if it just automatic stuff, a python script with xmlrpc is enough16:54
cristi_annoo nooo16:54
cristi_annot automatic stuff for this...16:55
cristi_anthat is other problem related to updates....16:55
cristi_anno very important16:55
cristi_anone more thing...:16:55
cristi_anin the future i will need to do a pos like ...i told you about16:55
cristi_anhow can a tryton client be connected to a cash register ?16:55
-!- schnueptus_( has joined #tryton16:57
bechamelcristi_an: it would be easier to answer you if you give more details, how your cash register can be interfaced ?16:58
cristi_an bechamel usualy there is an exe that is called with some parameters16:58
cristi_anparametes is a file in which the client write data :(16:59
-!- schnueptus( has joined #tryton17:00
cristi_anin some special format17:01
bechamelcristi_an: and the result should be that those data should be sent to the server ?17:02
cristi_ani do not understant !17:02
cristi_anthe workflow is for most cash registers :17:02
cristi_an1) they provide a program ususally an exe17:03
cristi_an2)if you want to print something to cash register that exe is called and a path is given as paramters to a local file where you write date you want to print17:04
cristi_aneach time that file has the same name17:05
cristi_anand is "re"created each time you print something17:05
cristi_ani think is quite hard to interact...with external systems from clietn due to it architecture17:06
cristi_anvery thin client...17:06
bechamelcristi_an: it should be possible to generate this file as a report (with a special extension) and to define a file action for this extension17:08
cedkcristi_an: I don't see why you want to interact with the client17:08
cristi_ancedk: ?17:09
cedkcristi_an: the server can ask each cash register to get the file and process it17:09
cristi_anhow that can be done ?17:09
bechamelcristi_an: what info is in the file ?17:09
cristi_anlike #Product;;;;1;1.3;;;;;text17:10
cristi_ansome special format depending on cash register17:10
bechamelcristi_an: so it the sales made by the machine ?17:10
cristi_anno cash register in this case is used as fiscal printer17:11
cristi_ansale is made from program17:11
bechamelso like I said it's a report that you "print" to some special printer17:12
cristi_anthe cash register just print the bill17:12
cedkcristi_an: as it was said before, you can imagine making anything, it is just a matter of time17:13
cristi_anBUT for this maybe is better to create...on separte progeam like real POS have....and at the end of the day to import in tryton the sales from that day17:13
cedkcristi_an: what I understand, is that you want to process the file from a cash register to create account moves17:13
cedkcristi_an: so you can write a wizard that the user run when he want to import17:14
cristi_anyes probably that is the best thing...17:14
cedkcristi_an: but you talk about a cash machine and now you want to write a POS17:14
cristi_ani w8 !!!!!17:14
cedkcristi_an: you must define what you want17:14
cristi_anthere were 2 separate issues !!!!17:15
cristi_an1)Import a file and based on that to generate some order/invoices even new customers if needed17:15
cristi_an2) to connect the client to a fiscal printer17:16
cedkcristi_an: what is a fiscal printer ?17:16
gadagaa ticket printer?17:17
cedkcristi_an: a ticket printer17:18
cedkcristi_an: to print you can define the command to run in the client17:19
cristi_anwell different terms...17:19
cristi_anthis one is cash register but it mat be used like a "ticket printer"17:19
cristi_ansince is very cheap17:19
cedkcristi_an: but all of that doesn't tell us what you want to do17:20
bechamelthe correct word is receipt:
cristi_ancedk: so i can define a command that run in the cleint and i get the file from server...17:20
gadagabechamel: ;)17:20
cristi_anbut discal printer is the word...17:20
gadagacristi_an: be carrefull with : INTERFACE: Three RS-232C ports17:21
cristi_ansince it has inside a fiscal memory17:21
cristi_anfrom java is very easy...17:21
cristi_angadaga: ???17:21
cristi_ani call datt print file each time i scan a product...17:21
cristi_anand ...beeep17:21
cristi_anand apear on the printer17:21
gadagacristi_an: your receipt printer can only dialog with rs-232 ...17:22
cristi_andatecs ?17:22
cristi_ancomputers have serial17:22
cristi_ani used that printer ...17:22
cedkcristi_an: so if I understand well, you want a POS17:23
cedkcristi_an: but the Tryton client is not made to be a POS17:23
cristi_anthat is what i asked !!!!! :) finally !17:23
cristi_anbut thre is workarond...17:24
cristi_anto create a separte POS application ...whcih put all the sales in a text file...17:24
cristi_anand to import that in the end of the day17:24
cristi_angadaga: but that problem is resolved by the exe that come with the printer on cd17:27
gadagacristi_an : on windows yes17:27
cristi_ancedk: but if i want to conect the fiscal printer and to print a receipt ...when the sale is closed that is possible17:28
cristi_annot on every product introduced..17:28
cristi_anonly when i close the sale17:28
cedkcristi_an: yes, you can print a report17:31
cedkcristi_an: if the printer is like a printer17:31
-!- enlightx( has joined #tryton17:32
cristi_ank.last question: what branch lateste exe demo client use17:33
bechamelcristi_an: 1.017:34
-!- Ky1e( has joined #tryton18:06
-!- vengfulsquirrel( has joined #tryton18:23
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: [new] Just translated new items (model names) and updated another database with the new translations. In this database the newly translated items ...18:34
CIA-10tryton: Mathias Behrle <> default * 1624:95442fd7b48c trytond/trytond/ (res/de_DE.csv workflow/de_DE.csv): Update translation for de_DE18:36
CIA-10tryton: Mathias Behrle <> default * 394:fd0f9fe72350 account/de_DE.csv: Update translation for de_DE18:36
CIA-10tryton: Mathias Behrle <> default * 281:9612c5fa78be account_invoice/de_DE.csv: Update translation for de_DE18:36
CIA-10tryton: Mathias Behrle <> default * 36:183afa38ca9a account_product/de_DE.csv: Update translation for de_DE18:37
CIA-10tryton: Mathias Behrle <> default * 241:636940c3f40c party/de_DE.csv: Update translation for de_DE18:37
CIA-10tryton: Mathias Behrle <> default * 260:fcacc000181c purchase/de_DE.csv: Update translation for de_DE18:37
-!- Ky1e_( has joined #tryton19:19
-!- Ky1e( has joined #tryton19:43
-!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton19:53
cristi_annice module cedk ,translation19:54
cristi_ani will try romanian :)19:54
cristi_anvery courious about the results19:54
yangoon cedk hi19:56
yangooncedk: what is the notion to force integers in quantites for units, but to allow fractionals for hours?19:56
cristi_anwhere should i put / copy beautifulsop.py19:58
yangooncedk: in purchase/sale lines19:59
yangooncristi_an: which OS are you running?19:59
cristi_anor how ubuntu19:59
yangooncristi_an: install the package, in debian it is python-beautifulsoup20:00
cristi_anyangoon: i downloaded a zip file20:00
cedkyangoon: it is the rounding of the uom20:00
cristi_anthere is apt-get stuff for beautifulsoap ?20:01
yangooncristi_an: you should use package management, apt for ubuntu20:01
yangooncedk: yes, but I don't understand, why units should be rounded (if we permit the input of parts of hours)?20:03
yangooncedk: becuase you can also cut pieces into parts, so it could be possible to sell 0,5 units20:03
cristi_anthis apt-get is so cool in ubuntu20:04
cristi_ancomparet to what windows offer :)20:05
cedkyangoon: you can change it if you want20:06
yangooncedk: just saw it, yes, thx20:07
cristi_ancedk: how can i test google translation20:08
cristi_ani found the google translate button20:10
cristi_anbut what can i do to make a romanian transaltion20:10
yangooncedk: hmm, I changed rounding of units to 0.01, but nevertheless impossible to put in fractionals in lines20:15
-!- rm-rfU( has joined #tryton20:16
-!- racke( has joined #tryton20:17
Timitosrmu: hi20:19
-!- racke( has left #tryton20:19
rmujust wanted to know if some of the MRP-design guys are online20:20
rmuI remember looking at some prototype code and can't remember where i found it - it's not on intuxication it seems?20:21
Timitosrmu: you should talk to vengfulsquirrel20:21
rmuI guess it's about noon at vengfulsquirrel's place?20:22
cristi_ani made a step further with translation so i selected all the fileds and press translate :) i have to w8 now...gui froze...!20:22
cristi_anis not possible to select language ?20:22
Timitosrmu: no i think it is earlier20:23
Timitosok. but quite near20:24
cristi_ancedk: "You are not allowed to modify this record."20:24
cristi_ani got this when i trye google translate20:24
CIA-10tryton: matb roundup * #874/InvalidOperation: Invalid literal for Decimal: 'False': [new] Changed rounding of units to 0.01, selected a product with UOM unit in a purchase, put in quantity 0.8 (shows only 0, in field quantity), co ...20:24
vengfulsquirrelrmu: No its 12:3020:26
rmuvengfulsquirrel: hi20:26
vengfulsquirrelHow's it going ?20:26
rmuwanted to know if i can help with the mrp module20:26
rmui think i saw some prototype code somewhere but am unable to find it20:27
rmuI'm annoyed with "modifs" and strange behaviour of the "other" erp20:28
vengfulsquirrel was the base20:30
vengfulsquirrelI haven't worked on it in a while though its still a non-working prototype20:30
vengfulsquirreli think i left off on not being able to resolve if a phantom should be represented as a product or not20:31
rmutx, will have a look20:32
rmui only looked here
vengfulsquirrelWell yeah these were just for prototypes it might end up being totally different.20:34
vengfulsquirrelAre you using an erp with a production module right now?20:34
rmui'm using openerp more or less20:34
rmubut i'm afraid their production module is not that useful20:35
rmui'm constantly running into issues and don't want to spend any more time on debugging/fixing this stuff20:36
rmuso i figured it might be more productive to develop something from the ground up20:37
cedkyangoon: oups sorry it is "Display Digits", rounding is for convertion20:37
vengfulsquirrelrmu: Yeah well I really need more examples of industry needs, all I have to work with is some books I bought, the business i work for(which is very out of the ordinary) and the business that X0d of nod work's for(the best set of use-cases I've found so far).  If you have some use cases I could use to justify or break my design decisions that would be great.20:38
vengfulsquirrelrmu: Yeah I haven't heard that many great things about their production module but I'm not really sure what people are expecting.20:38
rmuI will check20:38
vengfulsquirrelThere is a lot of ambiguity in all the definitions I have seen for almost every piece of a "production" component.20:39
vengfulsquirrelrmu: Did you see the document I have up ?20:39
rmuyes, I'm reading it currently20:39
rmuresp. i'm monitoring it constantly ;)20:40
vengfulsquirrelrmu: Do you need shop floor control ?20:45
rmumy needs are more or less20:47
rmu* configureable BOMs, with like 5 dimensions, some "continuous" (i.e. length, thickness)20:48
rmuno, don't need shop floor control20:48
-!- enlightx( has joined #tryton20:48
rmubut it would be nice to put there something like a "routing" for price calculation20:48
CIA-10tryton: matb roundup * #875/Purchase/Sale/Invoice Lines: rounding issues: [new] 1) Changed rounding of units to 0.01, selected a product with UOM unit in a purchase, put in quantity 0.8 (shows only 0, in field quantity) ...20:49
CIA-10tryton: matb roundup * #876/KeyError: 'analytic_account_1': [new] see issue 874 3) Traceback (most recent call last): File "/trytond/protocols/", line 48, in run res = dispatch(host, port, ' ...20:49
rmubut most important thing is modeling which things and how much are used to produce X20:49
CIA-10tryton: matb roundup * #875/Purchase/Sale/Invoice Lines: rounding issues: [chatting] for 3) -> issue 87620:50
rmuyour model looks sane as far as i can tell ;)20:50
CIA-10tryton: matb roundup * #876/KeyError: 'analytic_account_1': [chatting] correction: see issue 875 3)20:50
vengfulsquirrelrmu: Yeah so there are no discrete dimensions for sale its completely continuous ?20:52
vengfulsquirrelFor your configurable boms.20:52
rmuvengfulsquirrel: not completely ;-), but for this discussion, yes20:52
rmuimagine some plate that is cut with customised length and width20:53
rmui'm fine if i can "bolt on" this feature, it is probably too special for the general module20:55
vengfulsquirrelRight I think I had thought of a way to handle this but I can't remember off the top of my head.20:55
vengfulsquirrelOne way would just be to enumerate all the possible sizes but I'm guessing there are just too many for that, like 1 to 1000 millimeters by 1 to 1000 millimeters would create 1,000,000 boms.20:57
vengfulsquirrelHa that doesn't seem very feasible.20:57
rmumy idea goes along the way to have a product template, this can be customised along multiple dimensions, and those dimensions are then somehow reflected into a template bom to generate a concrete bom for that product variant20:57
cristi_anTimitos: can you tell me what are the most used mercurial commands you use ?20:57
cristi_anfpull and fupdate are used together ?20:58
cristi_anone after another ?20:58
Timitoscristi_an: yes20:58
cristi_anwhy ?20:58
rmuenumeration is no solution, imagine a 3rd dimension and 8 CMYK color codes20:58
Timitoscristi_an: sorry. no time for that in the moment. i am in a hurry20:59
cristi_ani will read...20:59
-!- bechamel(n=user@ has joined #tryton21:00
vengfulsquirrelrmu: Yeah but its a simple solution for a few dimensions each with a small amount of values for configurable boms, like assembling computers for example.21:01
rmuvengfulsquirrel: yes maybe. but even in this case enumerating all possible combinations quickly becomes unmanageable21:03
rmuhow can i help?21:05
cristi_ancedk: what vat module tryton use since it does not accept mine21:06
cristi_ani guess it does not compute that well...21:06
rmuvengfulsquirrel: next thing would be to create some views?21:06
vengfulsquirrelrmu: Well quickly, for your continuous thing I think it could be done overtop of the production design right now since it just copies everything out of the bom that is selected(or if its not doing that exactly we can just do that).  So you can just specify whatever you want to be what is produced.21:07
vengfulsquirrelSo the unresolved problem right now is how/where/what should store a phantom.21:08
vengfulsquirrelI originally had planned to just make a product have a flag that was True or False to determine if the product should be default be treated as a phantom.21:08
rmuvengfulsquirrel: yes that was my plan ;)21:08
rmuad phantom: i don't really care21:09
rmuperhaps it is useful to have phantoms as product to be able to define additional properties only once21:09
vengfulsquirrelWell in some cases you might have to store a phantom if for example its an actually assembly(although that's not always the case since it can be completely virtual and never really exist).21:10
rmuso what would be arguments against phantom is-a product with phantom flag set?21:11
-!- enlightx( has joined #tryton21:14
vengfulsquirrelrmu: Yeah well that's the problem, cedk didn't want the product to be a phantom and I haven't really resolved the argument because I don't know what the implications are.  I think maybe because it pollutes the product system with sometimes completely virtual products that don't exist at all.  The problem just needs to be explored more I think.  We both I think went on to do other stuff and haven't gone over it in a while to resol21:15
rmuat least it seems it would avoid code duplication21:16
CIA-10tryton: matb roundup * #875/Purchase/Sale/Invoice Lines: rounding issues: at 1) problem with display of digits for input is solved, because Display Digits was set to 0. I think it would be favorable to preset Display Di ...21:17
vengfulsquirrelrmu: Yeah I guess maybe creating an alternate design where phantoms are their own model and then comparing the two would be the thing to do.21:17
rmuvengfulsquirrel: this would need a bom input line that either references a product _or_ a phantom?21:19
rmuthe same for output?21:20
vengfulsquirrelrmu: Yeah but then, and I'm not even sure how important this is, what if the phantom actually is stockable and a production doesn't fully complete and you end up with I guess "work in progress" products which I would have just assumed were phantom products in the other design.21:21
vengfulsquirrelNo phantoms can't be in the output.21:22
vengfulsquirrelI *think*21:22
rmuhow do you specify what makes up a phantom then?21:23
vengfulsquirrelActually wait nevermind I was thinking production output.21:26
rmui agree, phantoms should not be output from production orders...21:27
vengfulsquirrelFor the phantom as I designed it, it just means when computing the production input/output ... after choosing a bom for the production if a phantom is an input then remove it and pull in all its inputs and outputs using the phantom's bom into production input and outputs.21:30
rmuone possibility would be to introduce a further animal that would be referenced from input- and output-lines instead of product21:32
vengfulsquirrelRight like some sort of proxy to either a product or a phantom ?21:32
rmuthat could reference a product or a bom, and it would be possible to tuck on something like properties21:33
rmuforget the thing about the properties, this wouldn't work as this information would be lost after production21:34
rmuhehe. this would make for a ugly data model ;)21:36
vengfulsquirrelthe product/phantom conditions?21:37
vengfulsquirrelHmm well maybe I should just solve this problem and it would be better now to determine if the module would solve your problems overall.21:37
rmuno, it probably won't ;)21:39
vengfulsquirrelrmu: Ha right its very minimal, well actually yeah I really mean we should make sure it won't make your problem UNsolvable.21:40
rmubut it looks reasonable and having some plan/intention/documentation written is better than guessing in the dark21:41
rmuso i will try to get up to speed with tryton developments and install a development server21:43
rmuand report back ;)21:43
vengfulsquirrelrmu: Yeah okay well I'll try to resolve this design issue and maybe non-prototype development can follow21:45
-!- enlightx( has joined #tryton21:46
-!- yangoon( has joined #tryton22:04
CIA-10tryton: C?dric Krier <> default * 141:724d59e57961 sale/ Use the new TableHandler interface22:43
CIA-10tryton: C?dric Krier <> default * 1625:6b093aa65043 trytond/trytond/backend/ (postgresql/ Add functions for table_rename, sequence_exist and sequence_rename22:43
CIA-10tryton: C?dric Krier <> default * 1626:f51b182d9fce trytond/trytond/ir/ ( Use _table from Model for SQL queries22:43
CIA-10tryton: C?dric Krier <> default * 1627:508e9080a5cc trytond/trytond/ (3 files in 2 dirs): Use default name for res.user-res.group22:43
CIA-10tryton: C?dric Krier <> default * 1630:951db9a39e3c trytond/trytond/res/ Use default name for ir Model22:43
CIA-10tryton: C?dric Krier <> default * 1629:65eef4640348 trytond/trytond/backend/postgresql/ Remove old table from the test22:43
CIA-10tryton: C?dric Krier <> default * 1628:197d01bb7588 trytond/trytond/res/ Remove _table from res.request22:43
CIA-10tryton: C?dric Krier <> default * 1631:5eabcded24c3 trytond/trytond/ (7 files in 6 dirs): Fix creation of table to use the right sequence name22:43
CIA-10tryton: C?dric Krier <> default * 1632:429307889980 trytond/: merge22:43
CIA-10tryton: C?dric Krier <> default * 395:13a24725f75c account/ ( Use the new TableHandler interface22:43
CIA-10tryton: C?dric Krier <> default * 396:fa994f0eaa46 account/: merge22:43
CIA-10tryton: C?dric Krier <> default * 282:2c9723cdddf8 account_invoice/ ( Use the new TableHandler interface22:43
CIA-10tryton: C?dric Krier <> default * 283:e86cf5fe8642 account_invoice/: merge22:43
CIA-10tryton: C?dric Krier <> default * 261:917fa3178f0e purchase/ Use the new TableHandler interface22:43
CIA-10tryton: C?dric Krier <> default * 262:3a52f3a1dede purchase/: merge22:44
CIA-10tryton: C?dric Krier <> default * 503:f0aaa81aa26a stock/ ( Use the new TableHandler interface22:44
CIA-10tryton: C?dric Krier <> default * 504:3689eff8dc77 stock/: merge22:44
CIA-10tryton: ced roundup * #872/Translation: translated items reappearing as fuzzy: [need-eg] Are they flagged as fuzzy in the cvs file?22:51
CIA-10tryton: C?dric Krier <> default * 397:28de116e4aa4 account/ Improve compute and compute_inv of tax if quantity is False for issue87422:56
CIA-10tryton: ced roundup * #874/InvalidOperation: Invalid literal for Decimal: 'False': [resolved] Fix with changeset 28de116e4aa422:56
CIA-10tryton: ced roundup * #875/Purchase/Sale/Invoice Lines: rounding issues: [resolved] Rounding is only used when converting units.22:58
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: No, they are all pushed, like i.e.
CIA-10tryton: ced roundup * #872/Translation: translated items reappearing as fuzzy: So I don't understand what you did.23:16
CIA-10tryton: matb roundup * #872/Translation: translated items reappearing as fuzzy: Translated in db test62, exported to csv (as you can see on latest pushes for de_DE), updated test60 and just those items are marked as fuzzy in t ...23:20
CIA-10tryton: C?dric Krier <> default * 41:d7a5c46150f0 analytic_invoice/ Fix analytic_account_ read for new ModelSQL for issue87623:24
CIA-10tryton: C?dric Krier <> default * 43:699beb4cb5a1 analytic_purchase/ Fix analytic_account_ read for new ModelSQL for issue87623:24
CIA-10tryton: C?dric Krier <> default * 36:b350a4a5592c analytic_sale/ Fix analytic_account_ read for new ModelSQL for issue87623:24
CIA-10tryton: ced roundup * #876/KeyError: 'analytic_account_1': [resolved] Fix with changeset 699beb4cb5a123:24
cristi_ancedk: it seems you work hard  :)23:25
cristi_anis this on dev branch so i should do an update eaqch day ?23:25
cristi_anor is enought in weekends...since i will code only then ...23:26
cristi_anbut i am interested if this is the bramch that dev script uses23:26
CIA-10tryton: ced roundup * #872/Translation: translated items reappearing as fuzzy: This in not possible that cvs import doesn't set fuzzy to True. It must be something else.23:29
bechamelcristi_an: iirc, the dev script allow to choose the branch23:30
CIA-10tryton: ced roundup * #873/Purchase/Sale/Invoice Lines: actualization of description: [resolved] This is the default behavior, if you want to have the description updated you must make it empty before changing the product.23:31
rmuvengfulsquirrel: another reason to use products as phantoms: this would allow to actually have them in a sale order.23:31
cristi_anand by default ?23:31
cristi_anbechamel: by default uses dev branch23:31
cedkrmu: I don't agree that phatom product must be real product23:32
rmuvengfulsquirrel: (being replaced with the contents at some point like when confirming)23:32
cedkrmu: otherwise it is not a phatom23:32
bechamelcristi_an: i don't know, I don't have it anymore ..23:33
rmucedk: i see it as something that is not actually stocked23:33
vengfulsquirrelcedk: Can you further justify why not to use them as a phantom ?  There are use-cases where a product could act as both a phantom and not a phantom.23:33
bechamelcristi_an: once all the module are fetched "hg fpull -f" update all of them23:34
vengfulsquirrelExcept sometimes work-in-progress could be modeled as a phantom thus requiring it to be stocked.23:34
cedkfor me a phatom define a set of product that can be used as replacement in a production order23:34
cedkI'm not enough precise23:34
vengfulsquirrelWhat do you mean replacement ?23:35
rmucedk: could also be a sale or purchase imho23:35
cedkrmu: no23:35
cedka phatom product is only a set of products23:36
cristi_anbechamel: thx23:36
cedkand in a BOM, you can use a phatom product to say that you can use any one from the set of product23:36
vengfulsquirrelcedk: Well okay as I've defined phantom it only means one thing in the implementation which is how that bom input line will be treated when the bom is exploded.  Phantom means pull in the sub bom, non-phantom means pull it from inventory.  If that isn't your definition of a phantom we need to unify our definitions.23:36
rmumy use case would be something like you make a limited special offer of some combined goods, the sales person encodes the special offer product in the sale order. on the pick list you get the stuff thats defined in the BOM.23:36
cedkvengfulsquirrel: +123:37
rmucedk: ok then i mean something completely different23:37
-!- ikks(n=igor@ has joined #tryton23:37
vengfulsquirrelrmu: I think you mean something like a product kit.23:38
vengfulsquirrelA virtual product that is a combinations of actual products.23:38
cedkrmu: yes you talk about real products23:38
cedkrmu: a product that is produce by just packing other products together23:39
vengfulsquirrelSo that kind of doesn't fit the production paradigm very well because the first thought is to solve that with a bom but unless you consider production the same as packaging then it doesn't work.23:39
cedkvengfulsquirrel: it can be the same23:40
rmunevermind about the sale and purchase stuff23:40
cedkvengfulsquirrel: you can later define some automatic production23:40
rmuso what is the definition of phantom bom/product?23:42
cedkor simply on the sale order having a wizard where you select those kind of promotions and it fill the sale order with all the lines23:42
bechamelif the kits are "assembled" before being sold (in a nice box or something) and stored in the shop it's more like a production, if it's somthing like "free mouse if you buy this laptop", it's more a like a discount23:43
vengfulsquirrelRight, and the latter is completely beyond the production system.23:44
cedkrmu: see vengfulsquirrel's defintion23:44
rmubechamel: my case is something "special offer modem + netbook + subscription" and on the pick list you want to have modem with ser.# and netbook with ser.#23:44
bechameland "phantom" is more a bom than a product:
rmucedk: i agree with this definition23:44
vengfulsquirrelMy definition or the link?23:45
rmuvengfulsquirrel: your def.23:45
rmubut i think cedk meant something different23:45
rmu< cedk> and in a BOM, you can use a phatom product to say that you can use any one from the set of product23:46
bechamelI think the definition is close to the content of the link23:46
cedkbechamel: the defintion you give is not the same23:47
vengfulsquirrelYeah and the link goes over some of the things I'm worried about, sometimes the phantom assembly is sort of like a product, like in #5.23:47
rmuthe SAP definition is what i mean (except i don't get why they talk about 6 pistons needing 8 pistion assemblies...)23:48
cedkok, in fact I'm one step futher with the phatom bom, because I think that can be also used to make substitution23:48
cedkbut it is not realy the phatom that help substition but more how we will display the BOM exploded in the production order23:49
cedkso let's go with the bechamel and vengfulsquirrel definitions23:50
vengfulsquirrelI have substituation explicitly defined though as well.23:51
vengfulsquirrelI think that would prevent a bunch of phantoms being created to support substitution.23:52
vengfulsquirrelTherefore making it more likely for a phantom to be a product without polluting the entire product system.23:52
cedkvengfulsquirrel: for me, there is one phatom and many boms that produce it23:52
vengfulsquirrelYes there are 1 or more boms for any product.23:53
vengfulsquirrelBe it phantom or not.23:53
cedkglobally, it is like everywhere you can put a product, you must be able to put in place a phatom product23:53
vengfulsquirrelrmu: Yeah maybe that 6 and 8 discrepancy is a typo ?23:54
rmuvengfulsquirrel: think so23:54
cedkit can be a temptation to say a phatom will be a product, but for me phatom only exist in production23:56
vengfulsquirrelcedk: Right but a product already can be not sellable or purchasable.23:56
bechamelcedk: this usage of phantom product/bom contains mush more features than the sap defintion (the sap definiton just tell: if you don't want to create to much production order, just define a phantom assembly, it will be merged with the parent in the resulting production order)23:56
rmuand services are not stocked too23:56
vengfulsquirrelcedk: but it can be stocked, and maybe it can be purchased but locally its cheaper to have it produced within one production run to produce the final product(using the phantom as a subassembly)23:57
vengfulsquirrelit just opens up a lot of other possibilities23:57
cedkvengfulsquirrel: yes maybe23:57
cedkbechamel: yes phatom says you display the explode result in the main production order23:58
cedkvengfulsquirrel: so OK, you change my mind, it can be a product23:58
rmuif you think about some sort of multi-dimensional variant system for products and phantom is not a kind of product then you would possibly have to duplicate the variant stuff for the phantoms23:59

Generated by 2.11.0 by Marius Gedminas - find it at!