IRC logs of #tryton for Tuesday, 2009-02-17

chat.freenode.net #tryton log beginning Tue Feb 17 00:00:01 CET 2009
2009-02-17 00:00 <vengfulsquirrel> On another note, is there a way to get stuff set in context? For example to pass a partially filled form into a default_* method ?
2009-02-17 00:00 <cedk> saxa: you can use easy_install with -d option
2009-02-17 00:01 <cedk> saxa: or python setup.py --help install
2009-02-17 00:01 <cedk> saxa: for all the options
2009-02-17 00:03 <cedk> vengfulsquirrel: default is called before any input of the user
2009-02-17 00:03 <saxa> vengfulsquirrel: will try that, thx
2009-02-17 00:03 <cedk> saxa: with easy_install, you have every depends that will be installed automaticly
2009-02-17 00:04 <saxa> cedk: I installed all of my python packages with "python setup.py build" and then "python setup.py install --root /tmp/pkg-name"
2009-02-17 00:04 <cedk> saxa: but you must use a directory that is in your PYTHON_PATH
2009-02-17 00:04 <saxa> I'm just creating a package so the root option should serve to override
2009-02-17 00:05 <saxa> as it creates the package with /usr/lib64/python2.5/site-packages blabla
2009-02-17 00:05 <saxa> so everything works up till now in that way
2009-02-17 00:05 <saxa> except this setuptools which i need to look more in detail with them
2009-02-17 00:06 <cedk> saxa: which one?
2009-02-17 00:06 <saxa> I installed already a dozen of packages in that way, never had a problem
2009-02-17 00:06 <saxa> cedk: 0.6c9
2009-02-17 00:06 <saxa> should be the last one
2009-02-17 00:06 <saxa> correct ?
2009-02-17 00:07 <cedk> saxa: of what?
2009-02-17 00:07 <saxa> setuptools
2009-02-17 00:07 <saxa> source i mean
2009-02-17 00:08 <cedk> saxa: you don't have setuptools installed ?
2009-02-17 00:09 <cedk> saxa: I don't understand what is the problem?
2009-02-17 00:12 <saxa> cedk: i have setuptools installed, and I think that they are wrongly built
2009-02-17 00:12 <cedk> saxa: because?
2009-02-17 00:12 <saxa> or maybe is just a permissions issue , because i'm running python setup.py build as a normal user
2009-02-17 00:13 <saxa> cedk: because I have probably build them in a wrong way, also if I doubt it.
2009-02-17 00:14 <saxa> ok, its a permission issue, I run now as root python
2009-02-17 00:15 <saxa> and then import setuptools and it had imported them without a problem
2009-02-17 00:15 <saxa> no single line of complain :)
2009-02-17 00:15 -!- b52laptop_(n=b52lapto@41.251.17.218) has joined #tryton
2009-02-17 00:16 <cedk> saxa: you don't have setuptools included in your distro?
2009-02-17 00:17 <saxa> cedk: I think not
2009-02-17 00:17 <saxa> unless they are in python
2009-02-17 00:18 <cedk> saxa: no it is an external package but it is very common
2009-02-17 00:18 <saxa> slamd64-12.2 is shipped with python only
2009-02-17 00:18 <saxa> cedk: I use slackware not ubuntu :)
2009-02-17 00:18 <saxa> so practically I need to build everything alone :)
2009-02-17 00:18 <cedk> saxa: it is not very useful
2009-02-17 00:19 <saxa> how you mean that ?
2009-02-17 00:19 <cedk> saxa: if there is not the common python modules provided with the distribution
2009-02-17 00:20 <saxa> but, you see, I like this stuff :) and I use slackware already from version nr.3 which was in 1997, so its diffivcult to me change it now :)
2009-02-17 00:20 <saxa> cedk: its quick, as there are scripts, and its no problem to do it for me as i'm used to that already,
2009-02-17 00:21 <saxa> anyway, is there a way to force tryton to install the files in a temporary dir ?
2009-02-17 00:21 <saxa> so from there I can pack them
2009-02-17 00:21 <saxa> it should be as openerp I installed it in that way ,
2009-02-17 00:22 <saxa> unless the base logic has changed completely
2009-02-17 00:22 <bechamel`> cedk: in debian, setuptools has his own package
2009-02-17 00:23 <cedk> saxa: Tryton is like any other python module
2009-02-17 00:23 -!- ovnicraft(n=ovnicraf@190.154.63.122) has left #tryton
2009-02-17 00:23 <cedk> bechamel`: I know, but debian provide a package to install it
2009-02-17 00:24 <bechamel`> cedk: yes
2009-02-17 00:25 <cedk> saxa: so you have all the setup.py options
2009-02-17 00:25 <saxa> yup
2009-02-17 00:26 <saxa> I dont want to do as root python setup.py install as it will probably install them in a python dir on my system
2009-02-17 00:26 <saxa> and I will not be able to do a package
2009-02-17 00:26 <saxa> so all modules worked without root privs
2009-02-17 00:26 <saxa> tryton should also
2009-02-17 00:27 <cedk> saxa: is there an issue?
2009-02-17 00:27 <saxa> yes
2009-02-17 00:28 <cedk> saxa: what?
2009-02-17 00:28 <saxa> when I do python setup.py build in trytond dir I get an error
2009-02-17 00:28 <saxa> let me paste the link
2009-02-17 00:28 <saxa> http://pastebin.ca/1339416
2009-02-17 00:29 <saxa> IOError: [Errno 13] Permission denied: '/usr/lib64/python2.5/site-packages/relatorio-0.5.0-py2.5.egg-info/top_level.txt'
2009-02-17 00:29 <cedk> saxa: did you have relatorio installed?
2009-02-17 00:29 <saxa> maybe I made an error in relatorio
2009-02-17 00:29 <saxa> yes
2009-02-17 00:30 <saxa> let me doublecheck
2009-02-17 00:30 <cedk> saxa: the egg-info is readable ?
2009-02-17 00:31 <saxa> thats the thing, let me check
2009-02-17 00:35 <saxa> cedk: you rules, there was a problem, in egginfo
2009-02-17 00:35 <saxa> thx man
2009-02-17 00:35 <saxa> already built the trytond
2009-02-17 00:35 <saxa> it was chmod 600 in egg.info instead of 644
2009-02-17 00:38 <saxa> ok
2009-02-17 00:38 <saxa> installed it
2009-02-17 00:39 <saxa> now, I want to know, if the modules I need all of them installed to have a full functional ERP ?
2009-02-17 00:40 <cedk> saxa: you must install only the one you needs
2009-02-17 00:40 <saxa> ok
2009-02-17 00:41 <saxa> all go installed the same way as trytond correct ?
2009-02-17 00:41 <saxa> into python
2009-02-17 00:41 <cedk> saxa: yes
2009-02-17 00:41 <cedk> saxa: be carefull that some modules depends on other modules
2009-02-17 00:42 <cedk> but easy_install handle it for you if you installed with it
2009-02-17 00:42 <saxa> ok, minimum is company probably ?
2009-02-17 00:42 <saxa> cedk: I dont wont to know about easy install :)
2009-02-17 00:43 <cedk> saxa: http://peak.telecommunity.com/DevCenter/EasyInstall
2009-02-17 00:51 <saxa> cedk: I know that site yes,
2009-02-17 00:52 <saxa> would be in any case nice if there would be a page with a hierarchy of the modules :)
2009-02-17 00:53 <cedk> saxa: all the information is in the setup.py
2009-02-17 00:53 <cedk> saxa: and I don't think it will be manageable to create a web page because it will depend of each version
2009-02-17 00:54 <cedk> and by the way, it is the work of the package manager
2009-02-17 00:55 -!- b52laptop_(n=b52lapto@41.251.17.218) has left #tryton
2009-02-17 00:58 <saxa> cedk: this only for distros which has a dependency checking
2009-02-17 00:58 <saxa> slackware has never had that
2009-02-17 00:58 <saxa> I know nobody likes slackware :)
2009-02-17 00:59 <saxa> anyway, if you want I can write up a page on wiki how to install it on slackware 64bit or better slamd64
2009-02-17 01:02 <saxa> reading manifest template 'MANIFEST.in'
2009-02-17 01:02 <saxa> warning: no files found matching 'TODO'
2009-02-17 01:02 <saxa> warning: no files found matching '*.odt'
2009-02-17 01:02 <cedk> saxa: If you want, but I need your google account
2009-02-17 01:02 <saxa> got that when doing a install of trytond_stoc_supply
2009-02-17 01:03 <saxa> cedk: my google account is casaxa@gmail.com
2009-02-17 01:03 <cedk> saxa: this is not an issue
2009-02-17 01:03 <saxa> cedk: its a warning which is ugly to see :)
2009-02-17 01:03 <saxa> ok
2009-02-17 01:03 <saxa> no problem :)
2009-02-17 01:06 <saxa> just a short question, why vatnumber is not named trytond_vatnumber ?
2009-02-17 01:06 <saxa> would be more elegant to handle it as a trytond module
2009-02-17 01:07 <saxa> maybe its just my opinion :)
2009-02-17 01:07 <cedk> saxa: It is a generic module that can be use any where
2009-02-17 01:13 <cedk> saxa: I add you to the wiki
2009-02-17 01:14 <cedk> saxa: the rules are: - don't duplicate info
2009-02-17 01:14 <cedk> - keep things simple
2009-02-17 01:14 <cedk> and try to have the same look and fell than the others pages
2009-02-17 01:24 <saxa> ok
2009-02-17 01:24 <saxa> he left
2009-02-17 01:24 <saxa> anyway I built up all the stuff
2009-02-17 01:24 <saxa> can trytond and openerp-server run together ?
2009-02-17 01:24 <saxa> probably they use both same ports correct ?
2009-02-17 01:35 <saxa> ok sleep time
2009-02-17 01:35 <saxa> night
2009-02-17 01:38 -!- bechamel`(n=user@85.201.86.139) has left #tryton
2009-02-17 01:53 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-17 01:54 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-17 03:39 -!- panthera(n=daniel@unable-to-package.org) has joined #tryton
2009-02-17 05:19 -!- yangoon(n=mathiasb@p549F66E0.dip.t-dialin.net) has joined #tryton
2009-02-17 07:45 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-17 09:11 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2009-02-17 09:37 -!- simahawk(n=simao@ppp-198-56.21-151.libero.it) has joined #tryton
2009-02-17 09:48 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-17 09:48 -!- Gedd(n=ged@77.109.114.179.adsl.dyn.edpnet.net) has joined #tryton
2009-02-17 09:49 -!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-17 09:53 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-17 10:46 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-02-17 10:46 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-02-17 10:47 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2009-02-17 10:52 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1180:93f31de7ab99 tryton/share/locale/de_DE/LC_MESSAGES/ (tryton.mo tryton.po): Update translation for de_DE
2009-02-17 11:04 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 269:33c0764e52c6 website/locale/de_DE/LC_MESSAGES/tryton.po: Update translation for de_DE
2009-02-17 11:21 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1547:da40a6a64256 trytond/trytond/workflow/de_DE.csv: Update translation for de_DE
2009-02-17 11:22 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 237:bcca1143224b purchase/de_DE.csv: Update translation for de_DE
2009-02-17 11:22 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 126:315fc4450895 sale/de_DE.csv: Update translation for de_DE
2009-02-17 11:35 -!- ikks(i=igor@190.120.135.34) has joined #tryton
2009-02-17 12:13 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1548:3438eacbe971 trytond/trytond/workflow/workflow.py: Re-read instance before calling _update_end
2009-02-17 12:13 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1549:67581d5297eb trytond/ (15 files in 7 dirs):
2009-02-17 12:13 <CIA-10> tryton: Allow to use related fields (many2one and reference) in read
2009-02-17 12:13 <CIA-10> tryton: Use rec_name function field instead of name_get and name_search
2009-02-17 12:13 <CIA-10> tryton: Remove get function on many2one field
2009-02-17 12:13 <CIA-10> tryton: Don't put record name in reference field
2009-02-17 12:13 <CIA-10> tryton: Handle rec_name in default_get so default value for many2one are now only id
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1550:7c82c1bfd692 trytond/trytond/ (model/modelsql.py wizard/wizard.py): Clean up values from default_get for related fields
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1551:3e4d53521e87 trytond/: merge
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1181:d0ce2a9c91bc tryton/ (14 files in 7 dirs):
2009-02-17 12:14 <CIA-10> tryton: Use related fields in read
2009-02-17 12:14 <CIA-10> tryton: Remove name_search and name_get to use rec_name
2009-02-17 12:14 <CIA-10> tryton: Improve reference fields
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 379:1da81c30a97c account/ (6 files):
2009-02-17 12:14 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:14 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1182:7f1fdd90390b tryton/: merge
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 380:d057823d2d85 account/account.py: Fix typo
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 264:84f72d66e7d9 account_invoice/invoice.py:
2009-02-17 12:14 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:14 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 26:db9348b9a36c account_product/product.py:
2009-02-17 12:14 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:14 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 113:2c862782d771 account_statement/ (journal.py statement.py):
2009-02-17 12:14 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:14 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:14 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 59:0db791489cf8 analytic_account/ (account.py account.xml line.py):
2009-02-17 12:15 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:15 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:15 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 41:ef2a94b63c60 analytic_purchase/purchase.py: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:15 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 124:30183d27e7f2 company/company.py:
2009-02-17 12:15 <CIA-10> tryton: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:15 <CIA-10> tryton: Return only id for default value of many2one
2009-02-17 12:15 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 24:a5202f79ff27 country/country.py: Replace name_get, name_search with get_rec_name and search_rec_name
2009-02-17 12:15 <CIA-10> (30 lines omitted)
2009-02-17 12:16 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1552:c40b12d2a804 trytond/trytond/ir/translation.py:
2009-02-17 12:16 <CIA-10> tryton: Fix decoding of reports in _set_report_translation for issue 780
2009-02-17 12:16 <CIA-10> tryton: base64 encoding introduced by changeset 1542:1fee1208a21f
2009-02-17 12:16 <CIA-10> tryton: ced roundup * #780/BadZipfile: File is not a zip file: [resolved] Applied
2009-02-17 12:18 <CIA-10> tryton: ced roundup * #783/XML-RPC: arguments mixed up: [resolved] The syntax have changed in the development branch. http://groups.google.com/group/tryton/browse_frm/thread/49af894ff4bb624f
2009-02-17 12:20 -!- carlos(n=carlos@176.pool85-55-25.dynamic.orange.es) has joined #tryton
2009-02-17 12:36 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 125:3b5061940547 company/company.py: Fix typo, use user_id instead of BrowseRecord
2009-02-17 12:45 <CIA-10> tryton: ced roundup * #782/DateWidget Problem: [testing] I think you have bind the disconnect to the BACKSPACE. Could you check?
2009-02-17 12:57 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 381:83fd7002912d account/account.py: Translate move state in General Ledger for issue781
2009-02-17 12:57 <CIA-10> tryton: ced roundup * #781/Translation: General Ledger: [resolved] Fix with changeset 83fd7002912d for the state but the account name was already translated.
2009-02-17 13:13 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-17 13:18 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2009-02-17 13:27 <cedk> saxa: did your installation work?
2009-02-17 13:34 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-02-17 13:37 <CIA-10> tryton: matb roundup * #781/Translation: General Ledger: [chatting] I have untranslated Write-Off in the ledger. s. screenshot.
2009-02-17 13:44 -!- udono(n=udono@dynamic-unidsl-85-197-18-18.westend.de) has joined #tryton
2009-02-17 14:09 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-02-17 14:10 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2009-02-17 14:18 <saxa> cedk: yup
2009-02-17 14:23 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton
2009-02-17 14:27 <saxa> cedk_: yes it works
2009-02-17 14:27 <saxa> at least it starts both the client and the server
2009-02-17 14:27 <saxa> now I need to figure out why it dont want to create a database
2009-02-17 14:27 <saxa> need to go now
2009-02-17 14:27 <saxa> l8r
2009-02-17 14:50 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-02-17 15:15 -!- cedric_b(n=cedric@ANantes-158-1-95-206.w86-199.abo.wanadoo.fr) has joined #tryton
2009-02-17 16:48 -!- juanfer(n=juanfer@190.144.69.234) has joined #tryton
2009-02-17 17:03 <CIA-10> tryton: ced roundup * #781/Translation: General Ledger: [resolved] This is the name of the move so it is not translatable.
2009-02-17 17:58 <CIA-10> tryton: matb roundup * #781/Translation: General Ledger: [chatting] I think, then it would be nice to have the name (Write-Off) stored in the database in the language of the company.
2009-02-17 18:02 <CIA-10> tryton: ced roundup * #781/Translation: General Ledger: [resolved] Fixed
2009-02-17 18:06 <CIA-10> tryton: matb roundup * #784/Layout: sums in m2o payment in invoices: [new] Attached screenshot shows, that the display for sum of Credit is truncated in the localized view.
2009-02-17 18:22 <CIA-10> tryton: matb roundup * #781/Translation: General Ledger: [chatting] Working on changeset: 381:83fd7002912d and getting always "Write-Off" in database and in report. Language of company is german, so it s ...
2009-02-17 18:27 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-17 18:30 <saxa> ok I tought one thing, looking some proprietary softwares for creating quotes and keep order in a company
2009-02-17 18:30 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-02-17 18:30 <saxa> many of them have a funcion where you can import lines into a quote
2009-02-17 18:30 <saxa> from a cvs or xls file
2009-02-17 18:30 <saxa> thats a good thing when you have many lines to do manually
2009-02-17 18:31 <saxa> I sometimes have about 300-600 lines of quote
2009-02-17 18:31 <yangoon> saxa: and who provides the cvs or xls file?
2009-02-17 18:31 <saxa> do you know if tryton has some kind of functionality ?
2009-02-17 18:31 <saxa> yangoon: customers
2009-02-17 18:31 <saxa> many times
2009-02-17 18:31 <saxa> also suppliers
2009-02-17 18:32 <saxa> I receive lists from state companies for tenders with 200 items
2009-02-17 18:32 <saxa> or more
2009-02-17 18:32 <saxa> they prepare and give already electronical version of the inquiry
2009-02-17 18:32 <yangoon> saxa: what do you need in such list? Product id and quantity?
2009-02-17 18:32 <saxa> yup
2009-02-17 18:32 <saxa> a part number and quantity
2009-02-17 18:33 <saxa> I saw some of them provide this also in the selling part of the workflow
2009-02-17 18:34 <saxa> so if I have a pricelist in my erp, then I want to create a quote quickly to my customer
2009-02-17 18:34 <saxa> and he gave me those part nrs and quantities , they just do
2009-02-17 18:34 <saxa> open a new quote form
2009-02-17 18:34 <saxa> click import lines
2009-02-17 18:35 <saxa> and whala , you have the quote ready
2009-02-17 18:35 <saxa> of course you select a file with the lines already in
2009-02-17 18:35 <bechamel> saxa: does those files follow any standard ?
2009-02-17 18:35 <saxa> its better than doing by hand one by one
2009-02-17 18:35 <saxa> bechamel: in the spare parts business yes
2009-02-17 18:36 <saxa> you always have a part number
2009-02-17 18:36 <saxa> which is never same for 2 different producers
2009-02-17 18:36 <saxa> everybody has its own product scheme
2009-02-17 18:37 <saxa> so for example, caterpillar has part numbers in that way
2009-02-17 18:37 <bechamel> saxa: so it's a csv whit only "part number, qty" as columns ?
2009-02-17 18:37 <saxa> 3R4050
2009-02-17 18:37 <saxa> or 123-4567
2009-02-17 18:37 <CIA-10> tryton: ced roundup * #781/Translation: General Ledger: It is fixed with changeset 979f72667e7f
2009-02-17 18:37 <saxa> komatsu has them
2009-02-17 18:37 <saxa> 123-45-67890
2009-02-17 18:37 <saxa> or
2009-02-17 18:37 <saxa> 1234-56-1234
2009-02-17 18:37 <yangoon> yangoon: I think it should be easy to rework such csv files to only contain id and quantity
2009-02-17 18:38 <saxa> yes I think thats not a problem to do
2009-02-17 18:38 <saxa> when you have such a file in excel its no problem
2009-02-17 18:38 <saxa> you can then do whatever you need
2009-02-17 18:38 <saxa> important is to have this 2 fields
2009-02-17 18:38 <saxa> part number and quantity
2009-02-17 18:39 <cedk> saxa: it will be very easy to create a simple wizard to do the job
2009-02-17 18:39 <saxa> good to know that
2009-02-17 18:39 <cedk> saxa: depending of the input format, but I think it could be done with ~20 lines of code
2009-02-17 18:39 <saxa> that would be a really nice addition
2009-02-17 18:39 <cedk> saxa: but it depends of the format
2009-02-17 18:40 <saxa> what is the key thing in here ?
2009-02-17 18:40 <saxa> I think a button should be visible in the quote window
2009-02-17 18:40 <saxa> where somebody can easily select a file
2009-02-17 18:41 <saxa> then the format is not much important
2009-02-17 18:41 <saxa> as in excel you can move it however you want
2009-02-17 18:42 <cedk> saxa: yes, it is very simple to create a module that adds a import excel button (with a specific format)
2009-02-17 18:43 <bechamel> are there any python lib to handle native xls format ?
2009-02-17 18:44 <saxa> bechamel: i think it can be also csv , which is practically text
2009-02-17 18:44 <saxa> ok, I will try to code some things about this
2009-02-17 18:44 <saxa> time time time, only this is the missing part :)
2009-02-17 18:45 <saxa> anyway, do you have any idea how can I specify to tryton which role to use for postgres ?
2009-02-17 18:45 <saxa> its in etc/tyrtond.conf ?
2009-02-17 18:45 <saxa> as I saw there is not much cmd line options
2009-02-17 18:46 <bechamel> saxa: role ? you mean user ?
2009-02-17 18:46 <cedk> bechamel: http://sourceforge.net/projects/pyexcelerator
2009-02-17 18:47 <cedk> saxa: yes, most option are set with the conf file
2009-02-17 18:48 <bechamel> cedk: " Last Update: Oct 26 2005 "
2009-02-17 18:48 <cedk> bechamel: otherwise there is the COM interface but it works only on win32
2009-02-17 18:49 <bechamel> cedk: yes
2009-02-17 18:53 <saxa> cedk: but I saw yesterday, when creating the package, the conf file is not automatically copied into /etc/trytond.conf
2009-02-17 18:53 <saxa> I mean by setup.py
2009-02-17 18:54 <saxa> I probably need to copy it in /etc
2009-02-17 18:54 <saxa> but then tryton will know its there ?
2009-02-17 18:55 <cedk> saxa: setup tools can not create file in /etc
2009-02-17 18:55 <cedk> saxa: so you must copy it
2009-02-17 18:59 <saxa> cedk: ok thx,
2009-02-17 19:02 <saxa> how can I correct that error I get about not haveing the correct encoding
2009-02-17 19:02 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-17 19:03 <saxa> http://pastebin.com/m752f9eeb
2009-02-17 19:04 <saxa> any ideas ?
2009-02-17 19:04 <saxa> probably I need to recreate the database correct ?
2009-02-17 19:05 <saxa> btw, when I was creating the postgres user it asked if the user should be allowed to creat new roles
2009-02-17 19:05 <saxa> i said no
2009-02-17 19:05 <saxa> is this correct ?
2009-02-17 19:06 <saxa> do i need to permit the creation of new roles ?
2009-02-17 19:07 <cedk> saxa: you need to have utf-8 support in postgresql
2009-02-17 19:20 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1183:c5e47559ff9f tryton/tryton/gui/window/view_form/model/field.py: Reset rec_name when value is set to False
2009-02-17 19:20 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1184:66016e037607 tryton/tryton/gui/window/view_form/view/form_gtk/ (many2one.py reference.py): Fix return value of Dialog for many2one
2009-02-17 19:22 <saxa> cedk: hmm, I think it should be
2009-02-17 19:22 <saxa> need to check that
2009-02-17 19:25 <yangoon> cedk: for issue 781: couldn't find changeset 979f72667e7f
2009-02-17 19:27 <yangoon> cedk: did you push it? where is it?
2009-02-17 19:27 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 382:979f72667e7f account/move.py: translate 'Write-Off' in move.line reconcile
2009-02-17 19:27 <cedk> yangoon: done
2009-02-17 19:27 <yangoon> cedk ah ok, thx!
2009-02-17 19:28 <saxa> ok I tried to do su - postgres to log as the postgres user
2009-02-17 19:28 <saxa> then I issued \encoding
2009-02-17 19:28 <saxa> and it showed LATIN1
2009-02-17 19:28 <saxa> I changed it by
2009-02-17 19:29 <saxa> SET client_encoding =' UTF8?';
2009-02-17 19:29 <saxa> and it showed the encoding utf8
2009-02-17 19:29 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-17 19:29 <saxa> now it says the same error as before
2009-02-17 19:29 <saxa> do i need a thing to be set up in the database somwhere else ?
2009-02-17 19:29 <saxa> maybe cleanup the database
2009-02-17 19:29 <saxa> ?
2009-02-17 19:33 <cedk> saxa: which version of postgresql
2009-02-17 19:36 <CIA-10> tryton: htgoebel roundup * #782/DateWidget Problem: Cédric Krier schrieb: > I think you have bind the disconnect to the BACKSPACE. While I never changed this file, deleting ~/.trytonsc solved the ...
2009-02-17 19:38 -!- enlightx(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton
2009-02-17 19:39 <saxa> cedk: postgres 8.3.x
2009-02-17 19:40 <saxa> now I was trying to initdb -E UTF8 but it claims that is different from the locale
2009-02-17 19:40 <saxa> I should probably correct my locale I use here
2009-02-17 19:40 <saxa> su postgres -c "initdb -D /var/lib/pgsql/data"
2009-02-17 19:40 <saxa> su postgres -c "initdb -D /var/lib/pgsql/data"
2009-02-17 19:40 <saxa> su postgres -c "initdb -D /var/lib/pgsql/data -E UTF8"
2009-02-17 19:41 <saxa> but wont create it
2009-02-17 19:41 <yangoon> saxa: I think you don't need to have the cluster in UTF8, but the db
2009-02-17 19:42 <yangoon> saxa: so you should do createdb -E UTF8 for the database
2009-02-17 19:42 <yangoon> saxa: and if it needs locales you have add them
2009-02-17 19:44 <saxa> yangoon: already created a cluster in UTF8
2009-02-17 19:44 <saxa> do you think this will be a problem ?
2009-02-17 19:45 <yangoon> saxa: it seems to be a performance penalty
2009-02-17 19:45 <yangoon> saxa: http://www.postgresql.org/docs/8.3/static/app-initdb.html
2009-02-17 19:47 <saxa> Shall the new role be allowed to create more new roles? (y/n)
2009-02-17 19:47 <yangoon> saxa: n
2009-02-17 19:47 <saxa> what is correct tanswer here ?
2009-02-17 19:47 <saxa> ok
2009-02-17 19:47 <saxa> thx
2009-02-17 19:47 <saxa> :)
2009-02-17 19:48 <yangoon> saxa: new database yes
2009-02-17 19:48 <yangoon> saxa: if you want to create from client
2009-02-17 19:48 <saxa> it asks only this
2009-02-17 19:50 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-17 19:50 <yangoon> saxa: you can only create new databases from the client, if the postgres user in trytond.conf is allowed to do
2009-02-17 19:50 <saxa> ok
2009-02-17 19:51 <saxa> last thing
2009-02-17 19:51 <saxa> how can I say that the role I want to use is not my user but tryton one
2009-02-17 19:51 <saxa> openerp has something like -U
2009-02-17 19:51 <yangoon> tryton user != postgres user
2009-02-17 19:51 <saxa> do I need to do this in the server or client part ?
2009-02-17 19:52 <saxa> yangoon: I'm sunning now tryton as my linux user
2009-02-17 19:52 <CIA-10> tryton: ced roundup * #782/DateWidget Problem: You can change it directly in the menu.
2009-02-17 19:52 <saxa> so postgres automatically looks for a role sasa which doesnt exist
2009-02-17 19:52 <yangoon> saxa: access to postgres is set in trytond.conf
2009-02-17 19:52 <saxa> I probably need to tell this to the server
2009-02-17 19:52 <saxa> ok
2009-02-17 19:52 <saxa> thx
2009-02-17 19:54 <saxa> yeay
2009-02-17 19:54 <yangoon> saxa: if you connect with psql, then it is -U, yes
2009-02-17 19:54 <saxa> there was a problem in my cmd line
2009-02-17 19:54 <saxa> i had -config instead --config
2009-02-17 19:54 <saxa> not it created the db
2009-02-17 19:54 <saxa> seems everything is ok now
2009-02-17 19:55 <saxa> thx
2009-02-17 19:55 <yangoon> saxa: gr8, yes, -c or --config
2009-02-17 20:07 <CIA-10> tryton: matb roundup * #785/NameError: name 'domain_invoice' is not defined: [new] Clicking add button on wizard "Handle invoice exception" Traceback (most recent call last): File "/tryton/gui/window/view_form/view/form_ ...
2009-02-17 20:17 <CIA-10> tryton: matb roundup * #786/Selection with tab completion only returns subset of all correct records: [new] s. screenshot: Input of just 8 in the select box of the account and hitting tab returns just two records, but there are many more beginning ...
2009-02-17 20:24 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 241:cefaa2d9ddff purchase/purchase.py: Remove LocalService
2009-02-17 20:24 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 130:21c2265a4a86 sale/sale.py: Remove LocalService
2009-02-17 20:25 <CIA-10> tryton: matb roundup * #787/AttributeError: 'BrowseRecordList' object has no attribute 'sale_uom': [new] Setting "Use taxes from category" as default on new product in sales order. Traceback (most recent call last): File "/trytond/protocols/n ...
2009-02-17 20:29 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-1f0829f8dc78ef79) has joined #tryton
2009-02-17 20:30 <cristi_an> Timitos: hi there
2009-02-17 20:31 <cristi_an> in your countries is there a difference in how stock is evaluated depending on which type stock you have ?
2009-02-17 20:32 <cristi_an> i mean if you have a shop stock is avaluated on the sale price including vat (in ro)
2009-02-17 20:32 <cristi_an> and if you have like a warehouse stock is evaluated on the cost price
2009-02-17 20:32 <cristi_an> or price without vat
2009-02-17 20:32 <cristi_an> depending on choice
2009-02-17 20:34 <saxa> cedk: yangoon , thanks for your time
2009-02-17 20:34 <saxa> it seems it works ok
2009-02-17 20:35 <saxa> i will begin playing a little with it and then I will report you things I like and what I dont :)
2009-02-17 20:36 <saxa> anyway, nice job , hope this can really become a standard program for many companies :)
2009-02-17 20:39 <cristi_an> noone here ?
2009-02-17 20:45 <vengfulsquirrel> cristi_an: I'm here, I just don't know anything about VAT.
2009-02-17 20:45 <cristi_an> it seems that in romania law arte so diffrent from rest of countries
2009-02-17 20:46 <cristi_an> and this make me impossilbe to use current modules :(
2009-02-17 20:46 <cristi_an> so many supid things i need to done...unfortunatelly
2009-02-17 20:47 <cristi_an> is there some accountant among you ? (here in tryton commnunity)
2009-02-17 21:03 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 242:e063a61c68b9 purchase/purchase.py: Fix domain on "handle invoice exception" wizard
2009-02-17 21:03 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 243:25f20e58b6e2 purchase/purchase.py: merge
2009-02-17 21:07 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 131:89c23d4ddf5d sale/sale.py: Fix domain on 'handle invoice exception' wizard
2009-02-17 21:08 <bechamel> cristi_an: I'M have no knowledge in accounting stuff too
2009-02-17 21:08 <bechamel> oups, /'M//
2009-02-17 21:12 <cristi_an> cedk is the all in one man ?
2009-02-17 21:15 <carlos> cristi_an: my knowledge is limited but maybe I could help you
2009-02-17 21:30 <CIA-10> tryton: ced roundup * #785/NameError: name 'domain_invoice' is not defined: [resolved] Fix with changeset e063a61c68b9 and 89c23d4ddf5d
2009-02-17 21:35 <cedk> cristi_an: I don't see what is your question
2009-02-17 21:36 <cristi_an> k.
2009-02-17 21:36 <cristi_an> thx carlos
2009-02-17 21:37 <cristi_an> we talked abou this..before a little but i documented mysqlf better how law is in romania
2009-02-17 21:37 <cristi_an> if you sell things in a shop for example you are froced to keep stock valuation on the selling price
2009-02-17 21:38 <cristi_an> that is the price that includes vat
2009-02-17 21:38 <cristi_an> in a warehouse you may keep stock valuation (or how stock is evaluated) or the cost price or selling price wihtout vat
2009-02-17 21:39 <cristi_an> i am courious how tryton handle stock valuatiion (or how stock iss evalutated)
2009-02-17 21:39 <cristi_an> ?
2009-02-17 21:39 <cedk> cristi_an: you can set what you want on the cost price, but I find your explaination not very logical
2009-02-17 21:40 <cristi_an> what is not logic ?
2009-02-17 21:41 <cristi_an> what part is not clear ?
2009-02-17 21:41 <cristi_an> we have differnce btween selloign endetail ans en-gros
2009-02-17 21:41 <cedk> cristi_an: why the cost price of a product depends of the location
2009-02-17 21:42 <cristi_an> value of a stock in a location where you do en detail is calculated differntly then on a location where you do en-gros
2009-02-17 21:42 <cristi_an> cedk: that is the law here...
2009-02-17 21:43 <cedk> cristi_an: I still find this not logical
2009-02-17 21:43 <cristi_an> in belgium is not the same ?
2009-02-17 21:43 <cristi_an> or in france since romania coped a lot from france
2009-02-17 21:43 <cristi_an> ?
2009-02-17 21:44 <cedk> cristi_an: I don't know but for me you must choose one
2009-02-17 21:44 <cedk> evaluation with cost price or evalutation with sale price
2009-02-17 21:44 <cedk> but not mix both
2009-02-17 21:45 <cristi_an> this is / company ?
2009-02-17 21:45 <cristi_an> or / location ?
2009-02-17 21:46 <cedk> choose one by company
2009-02-17 21:46 <carlos> cristi_an: in general, I think it should be per company or that would be a mess
2009-02-17 21:46 <cristi_an> that is not good for me :(
2009-02-17 21:46 <cristi_an> this supid law makers
2009-02-17 21:47 <cristi_an> why we have to be always be diffrent then rest...
2009-02-17 21:47 <cristi_an> ?
2009-02-17 21:47 <cristi_an> (this is self question :)
2009-02-17 21:48 <carlos> cristi_an: but what's the point of having a warehouse with cost price and another with sale price?
2009-02-17 21:51 <cristi_an> carlos: unfortunatelly i can;t find a translated document related to this
2009-02-17 21:51 <cristi_an> i do not know reasons
2009-02-17 21:51 <cristi_an> why the law specifies this
2009-02-17 21:51 <carlos> and what do you do when you move something from one to the other?
2009-02-17 21:55 <cristi_an> simple: it is called transfer and you subtract from location x the value of the product in that location and you add in the new lcoation the product accordign to the evaluation mode in thta location
2009-02-17 21:56 <carlos> so you still need the original cost of the product in both places
2009-02-17 21:56 <carlos> otherwise you are not able to recalculate it
2009-02-17 21:57 -!- enlightx(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton
2009-02-17 21:59 <cristi_an> http://translate.google.com/translate?prev=_t&hl=ro&ie=UTF-8&u=http%3A%2F%2Ffacultate.regielive.ro%2Fproiecte%2Fbirotica%2Fmonografie_contabila_stocuri-65305.html&sl=ro&tl=en&history_state0=
2009-02-17 22:00 <cristi_an> as you see there
2009-02-17 22:00 <cristi_an> assessment at the retail selling price (retail).
2009-02-17 22:01 <cristi_an> evaluation price wholesale (wholesale
2009-02-17 22:04 <udono> I didn't know that tryton has a stock valuation at all, cristi_an where I can find this?
2009-02-17 22:05 <cristi_an> i just ask if tryton supoprs such crap that we must do in Romania
2009-02-17 22:05 <cristi_an> maybe in Germany you do not need that stuff
2009-02-17 22:07 <udono> cristi_an: of course we need stock valuation in germany. Its for find out the value of a company on year-end
2009-02-17 22:08 <udono> cristi_an: and I don't think that romanian law is this different to other laws
2009-02-17 22:09 <cristi_an> but you have that in tryton
2009-02-17 22:09 <cristi_an> i talked about having different stock valuation depepending on location
2009-02-17 22:09 <cristi_an> from what i know i this is a particular case for romania
2009-02-17 22:10 <cristi_an> i wondered if there is a workaround in tryton
2009-02-17 22:11 <udono> cristi_an: stock location are just virtual things, they try to build your real stocks or shelfs
2009-02-17 22:11 <udono> cristi_an: I don't think that they are valuated different for the tax-authority.
2009-02-17 22:12 <cristi_an> in germany no
2009-02-17 22:12 <cristi_an> but in romania is a little be more complicated...
2009-02-17 22:12 <cristi_an> maybe i did not explained very well
2009-02-17 22:12 <udono> cristi_an: and I think in romania no, too, I think
2009-02-17 22:13 <cristi_an> do you have like 5 minutes...?
2009-02-17 22:13 <cristi_an> i can write an exple to you on paste bin :)
2009-02-17 22:13 <udono> cristi_an: you do not need a stock at all when making business, in romania, I believe
2009-02-17 22:15 <udono> cristi_an: you just buy some stuff
2009-02-17 22:15 <cristi_an> w8
2009-02-17 22:15 <cristi_an> just a sec...
2009-02-17 22:15 <cristi_an> i write the sample
2009-02-17 22:15 <udono> cristi_an: ok
2009-02-17 22:17 <cristi_an> http://paste.pocoo.org/show/104346/
2009-02-17 22:21 <udono> cristi_an: for me it seems impossible
2009-02-17 22:21 <cristi_an> ok...
2009-02-17 22:21 <cristi_an> now this is how things are in ro...
2009-02-17 22:21 <udono> firm x and warehouse x are the same company?
2009-02-17 22:22 <cristi_an> yes
2009-02-17 22:22 <cristi_an> same comapny of course
2009-02-17 22:23 <cristi_an> in the first place warehouse you give to customer an invoice like b2b
2009-02-17 22:23 <udono> cristi_an: so there are may companys in ro which try to save money and move from one internal location to another?
2009-02-17 22:23 <cristi_an> and in the second secnario you seel to a client
2009-02-17 22:23 <cristi_an> b2c
2009-02-17 22:23 <cristi_an> no...this is how it works...
2009-02-17 22:24 <udono> cristi_an: what do you mean by stock valuation exactly?
2009-02-17 22:24 <cristi_an> the value of the stock... ?
2009-02-17 22:24 <cristi_an> when you do inventory
2009-02-17 22:24 <cristi_an> for example
2009-02-17 22:25 <udono> cristi_an: ok, then we mean the same
2009-02-17 22:25 <cristi_an> the value of the stock is ...it's value ...dependign on how value is defined
2009-02-17 22:25 <udono> cristi_an: is it better to have a high or low stock value in ro?
2009-02-17 22:26 <cristi_an> well it beats me...i have to ask the accountant for this...but it does not matter in terms of taxes i guess
2009-02-17 22:27 <cedk> cristi_an: the documentation explain that the price must be the sale price depending of the "marketing"
2009-02-17 22:28 <cedk> cristi_an: so for me you can not switch from one valuation to an other
2009-02-17 22:28 <cristi_an> the link i gave you ?
2009-02-17 22:29 <cedk> yes
2009-02-17 22:30 <cristi_an> For these reasons, the goods are an exception in the stock since they are assessed in a particular way:
2009-02-17 22:31 <cristi_an>      evaluation price wholesale (wholesale);
2009-02-17 22:31 <cedk> cristi_an: the document is not very clear (perhaps the translation)
2009-02-17 22:31 <cristi_an>     assessment at the retail selling price (retail).
2009-02-17 22:31 <cristi_an> yess.
2009-02-17 22:31 <udono> but cristi_an, when you buy things, you decide in which location you put them in.
2009-02-17 22:31 <cedk> cristi_an: but for me it is very strange that you can change the evaluation price of a product
2009-02-17 22:31 <cristi_an> it is only about account 371
2009-02-17 22:32 <cristi_an> i will try to find...some official docs
2009-02-17 22:32 <cristi_an> in english
2009-02-17 22:33 <udono> cristi_an: and when you decide where to store the goods, it can hardly change the value
2009-02-17 22:33 <cedk> and what define a location (for one or another valuation)
2009-02-17 22:34 <udono> cristi_an: just ask timitos tomorrow, maybe he understand this.
2009-02-17 22:34 <udono> cristi_an: anyway Tryton has no module for stock valuation at all, afaik.
2009-02-17 22:35 <cristi_an> jok thx guys
2009-02-17 22:35 <cristi_an> i will search for better explained docs....
2009-02-17 22:36 <cedk> udono: I don't know if the way OpenERP does is right
2009-02-17 22:37 <udono> cristi_an: ok, and ask some officials in ro, maybe a misunderstanding of the law text...
2009-02-17 22:37 <cedk> udono: if yes, writing a module will not take too much time
2009-02-17 22:37 <udono> cedk: That's better to discuss with Timitos, cos he learned this in university.
2009-02-17 22:37 <cristi_an> ok.
2009-02-17 22:38 <udono> cedk: Yes, I think so, too.
2009-02-17 22:38 <udono> cedk: Another topic: what can be the problem, when I cannot choose a language in Trytons create database?
2009-02-17 22:38 <udono> cedk: the list is simply empty
2009-02-17 22:39 <cedk> udono: connection problem
2009-02-17 22:41 <udono> cedk: Got it. In deed, connection problem :-)
2009-02-17 22:54 <cedk> udono: I'm not sure about this way, because it looks the same as the average cost price
2009-02-17 22:55 <cedk> udono: any way, I will ask Timitos
2009-02-17 23:01 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 383:aa0f7c22238b account/account.py: Fix test in search_rec_name of account for issue786
2009-02-17 23:01 <CIA-10> tryton: ced roundup * #786/Selection with tab completion only returns subset of all correct records: [resolved] Fix with changeset aa0f7c22238b
2009-02-17 23:07 <CIA-10> tryton: ced roundup * #787/AttributeError: 'BrowseRecordList' object has no attribute 'sale_uom': [testing] Could not reproduce it? Could you re-check?
2009-02-17 23:47 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 265:4ae9121c3e72 account_invoice/invoice.py: Fix search_rec_name on account.invoice

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