On 03 Jul 16:30, Dale Scott wrote: > Hi Cédric, thanks for your feedback. > > On Wednesday, 2 July 2014 07:39:14 UTC-6, Cédric Krier wrote: > > > > On 02 Jul 06:05, Dale Scott wrote: > > <snip> > > > > > > > Problem 1. If I view the detail of a specific product in Tryton (menu > > > Products > Products, select a specific product, "Switch view" to see > > > product detail), and then try to "Switch view" back to the grid view > > > showing all product, Tryton will warn that the record has been modified > > and > > > ask if I want to save it - even though I did not knowingly edit it. What > > > can cause this? > > > > Some data are not in the right format. So the client after displaying > > it, re-format it and detect a change in the value. > > > > Could you describe in a general way how you would investigate this?
I would put a print statement in the client: http://hg.tryton.org/tryton/file/e5604ddea4c4/tryton/gui/window/view_form/model/record.py#l140 I know we should have logging for that. > > > Problem 2. The P&V BOM table includes two foreign key constraints to the > > > P&V part table. Each row in [3] represents a child part on a BOM, > > PLListID > > > is the PNID of the parent product in [1], and PLPartID is the PNID of a > > > child product on the BOM. Other fields in [3] give the quantity on BOM, > > the > > > "use-as" UOM, the item number on the BOM listing, etc. Can Tryton import > > > multiple BOMs from a single csv file having this structure? Will someone > > > give me a hint as to the field names? > > > > I did not look to close to your data structure but any way, csv import > > only works for very basic/simple cases. Any even a little bit complex > > import should be done using a proteus script. Python is an the ETL > > (https://en.wikipedia.org/wiki/Extract,_transform,_load) > > > > Is the csv import capable of importing one single-level BOM, but no more > complex? Normally it is theoretically possible to import anything but it is much more complex and difficult when it is not simple data than using proteus. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpnIM54OLLKH.pgp
Description: PGP signature
