IRC logs of #tryton for Wednesday, 2017-11-08 #tryton log beginning Wed Nov 8 00:00:01 CET 2017
csotelodear comunity, I have upgraded to Tryton 4.2 from Tryton 3.8, and one issue that I have noticed id that categories on product, are diferent from accountant categories, is there a way to fix it?00:25
csoteloI have lost all my product categories that were related to account chart00:26
cedkcsotelo: no categories are migrated as account categories00:31
cedkcsotelo: but issue6794 improved a little bit the situation00:32
csotelothen, is there a way to move it? without lost information? and get account categories configured as were on before on 3.8=00:32
csotelolet me see00:32
cedkcsotelo: there is no lost but just a new field categories which is obsusly empty00:33
csoteloyes, I gues I must move data on a manual way, right?00:34
cedkcsotelo: you mean create data?00:34
csotelono, I mean move my old category info to the new account category format00:35
csotelois ok?00:35
cedkcsotelo: there were no move, category is named accounting_category00:35
csoteloI just figure00:35
csotelohowever my date still on old category tables00:36
csoteloI mean my data was no moved to the new accounting category table00:36
csoteloI guess I must do it on a manual way00:36
cedkcsotelo: there is a migration:
csoteloI guess that must happend on the --all, right?00:41
csotelocause that no happened on my migration :S00:42
-!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton00:54
-!- udono1( has joined #tryton01:15
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:22
-!- nicoe(~nicoe@2a02:578:858c:500:ee55:f9ff:fe7b:f7ac) has joined #tryton01:31
-!- perilla(~perilla@ has joined #tryton02:32
-!- perilla(~perilla@ has joined #tryton02:32
-!- meigallodixital( has joined #tryton02:55
-!- thaneor( has joined #tryton03:04
-!- cdchapman( has joined #tryton03:43
-!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton03:44
-!- cdchapman(~perturbed@ has joined #tryton05:34
-!- duderinoto( has joined #tryton07:02
-!- duderinoto( has left #tryton07:03
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton07:54
-!- hedererjs( has joined #tryton07:59
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton08:06
-!- rpit( has joined #tryton08:14
-!- zmijunkie( has joined #tryton08:30
-!- mrichez( has joined #tryton08:54
-!- myself21(uid11615@gateway/web/ has joined #tryton09:33
-!- meigallodixital( has joined #tryton09:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:37
-!- Timitos( has joined #tryton09:48
csoteloHello comunity, I was working last day on tryton upgrade from 3.8 to 4.2, I was having issues dependence with product_purchase module, for any reason on some moment it works, however I have notice that migration was no clear, altough anything works, it was no clear and some data was lost. I was trying to figure the issue and I have noticed that purchase_request is not on tryton 3.8 but it is on tryton 4.0 and later, when I use tryton-admin with --all,09:50
csotelogive me a issue dependence since product_purchase is no present, then if I try to download and install it, since it is a differet version from the tryton (3.8) since it is no already update give me a big issue, then my question is: what will be best practice on doing this upgrade ?09:50
-!- nicoe( has joined #tryton10:10
udono1csotelo: Hi, not sure if I understand correctly. On tryton-admin --all you get an error? Can you please paste it to https://pastebin.com10:15
csoteloudono1, I have to catched today, I just comment purchase_request rependence on stoock_supply module and doing a complete upgrade, and then , I will do the purchase_request install10:27
csoteloI hope will work well10:28
udono1csotelo the correct way is something like this: trytond-admin --all -u purchase_request -d database_name purchase_request module must be installed in the target (new) version of the migration.10:30
csoteloOMG, thanks udono1 !10:31
csotelolooks so simple :S10:32
csoteloudono1, unfortunately no10:41
udono1csotelo: if there are errors, please paste them.10:45
csotelocommand was: $ ./tryton/trytond/bin/trytond-admin -c ./tryton/config/trytond.conf --dev -v -d testing --all -u purchase_request10:45
-!- nicoe( has joined #tryton10:49
-!- robink(~quassel@unaffilated/robink) has joined #tryton10:49
-!- zodman(~zodman@ has joined #tryton10:49
-!- robinak(~quassel@unaffilated/robink) has joined #tryton10:50
semariecsotelo: the error seems to be an invalid xml file. could you check your trytond/modules/purchase_request/purchase_request.xml file ?10:52
udono1semarie: csotelo: Good idea. But i would grep the trytond/modules directory for "act_purchase_request_form" because of::10:59
udono1    ERROR trytond.convert Error while parsing xml file: In tag record: model ir.action.act_window with id act_purchase_request_form.10:59
semarieudono1: it is trytond/modules/purchase_request/purchase_request.xml that contains <record model="ir.action.act_window" id="act_purchase_request_form">...</record>11:00
-!- silwol(silwolmatr@gateway/shell/ has joined #tryton11:01
csotelosemarie, udono1 btw, I have tryed on before comenting purchase_Request dependence on stock_supply and upgrade it without issues, them I have uncoment the purchase_Request dependence on stock_supply and then install it, and works without issues. I was looking a right way to do it11:03
csotelosince, I guess it is no the right way11:03
udono1csotelo: Is there a possibility that someone add a manual ir.action.act_window entry in Tryton. How long do you run your database atall?11:14
csoteloudono1, I dont understand your question11:18
-!- catonano(~user@ has joined #tryton11:24
catonanoI just installed Tryton on Debian snatch. There seems to be no tyton system servce defined. Am I spposed to lanch trytond in the terminal ?11:25
udono1csotelo: as pokoli (12:23:56) saidi: csotelo: indeed the module installed without problems on test database:
udono1So there could be another module or an entry in your database which makes a Problem.11:28
csoteloI also was thinking on that, sinc I work with tryton gnu health11:28
csoteloat now the issue was solved as told you11:29
-!- sim6(sim6matrix@gateway/shell/ has joined #tryton11:37
-!- fmorato[m](fmoratomat@gateway/shell/ has joined #tryton11:37
-!- mariomop( has joined #tryton11:39
-!- mariomop( has joined #tryton12:29
-!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton12:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:23
csotelo_at_workhello dear comunity, just a simple questoin, after install a new tryton database, how to get timezone for party populated, sine I usually have it empty, thanks14:41
Timitoscsotelo_at_work: there is a default value to set in Party -> Configuration14:52
-!- thaneor1( has joined #tryton15:05
-!- catonano(~user@ has joined #tryton15:21
csotelo_at_workTimitos, yes, but timezone info is empty, I mean, no timezones are loaded. I also was working with new tryton project but timezones always is mepty, no information in order on set it16:09
Timitoscsotelo_at_work: i mixed timezone with language on party. by default there is no timezone field on the party but on the company16:11
Timitoscsotelo_at_work: it may be a field of gnu_health16:11
csotelo_at_workTimitos, nice to know, thanks :D16:12
csotelo_at_workby the way, related to the error I have experimenting related to migrate products and categories, finally I have done it on manual way. I mean, after migrate tryton from 3.8 to 4.2, I lost all categories for product templates, then I have taken a previous version backup, then set related categories as accounting categories and match category field on 3.8 version tables to the new 4.2 version tables for product_template and it works well16:14
csotelo_at_workand related to purchase_request issue, what I have done is comment purchase_request dependence on stock_supply, and take off purchase_request module, then upgrade the whole database, and the, take back purchase_request module and uncomment purchase_request dependences on stock_supply and install it, and tryton runs ok16:16
pokolicsotelo_at_work: so you managed to solve are your issues. Great!16:22
csotelo_at_workpokoli, then .. could be close to start helping on issues? although I am a senior, I must confess that after 4 four time on contrinute on core and modules fixes, I get frustrated on my self, It is a litle complex :S16:46
csotelo_at_workafter 4 times on trying to contribute*16:46
pokolicsotelo_at_work: have a look a the how to contribute:
pokolicsotelo_at_work: Here is an easy issue:
pokolicsotelo_at_work: so you can get familiar with the process17:00
csotelo_at_workAt now I am doing some localizations for my country, peru17:06
csotelo_at_worklike accounting and invoicing17:06
csotelo_at_workI just checked :D thanks!!!!17:07
pokolicsotelo_at_work: localization should be only the chart of accounts17:17
csotelo_at_workpokoli, yes17:17
csotelo_at_workI also a a localization for party, in order to manage documento type ( identifiers ) according to peruvian laws17:18
csotelo_at_workI al so have a localizatin for invoicing, since we manage diferent type of reporting, for common person single report, and for institucion we use commercial reports17:19
csotelo_at_workeach one with diferent sequences17:19
csotelo_at_workI must do the upgrade since these modules are for 3.8 version17:20
csotelo_at_workand I must start this friday with electronic book for peruavian authority and electronic invoicing that will be required as mandatory for all institutions on march 2018, now are just some companies according on month invoicing amount17:21
-!- smarro(~sebastian@2800:af0:1028:29d1:2ab2:bdff:fe11:9b67) has joined #tryton17:54
-!- cdchapman(~perturbed@ has joined #tryton18:29
-!- catonano(~user@ has joined #tryton18:50
-!- Telesight( has joined #tryton18:55
-!- robink(~quassel@unaffilated/robink) has joined #tryton18:56
-!- lukio( has joined #tryton19:03
-!- zmijunkie( has joined #tryton19:21
-!- lukio( has left #tryton19:36
-!- andrespoliti( has joined #tryton20:21
andrespolitiis it possible to add new values to a selection field via a module extension?20:22
-!- smarro(~sebastian@2800:af0:1028:29d1::2) has joined #tryton20:34
-!- cdchapman(~perturbed@ has joined #tryton20:44
-!- cdchapman(~perturbed@ has joined #tryton21:23
csotelo_at_workDear comunity, what about of getting current user logged and  / or compare this value with a model data?21:45
pokolicsotelo_at_work: you have it on transaction:
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- lukio( has joined #tryton22:02
-!- catonano(~user@ has joined #tryton22:14
-!- lukio( has left #tryton22:43

Generated by 2.11.0 by Marius Gedminas - find it at!