Re: [tryton] Party module vs employee/company/bank/etc
2014-02-11 15:10 GMT+01:00 Oskars Bonus : > Hello, > > New to Tryton and going through documentation (which should be updated). > Couple of questions arise: > 1) What is the main difference between party module and > employee/company/etc. modules? Which would be the way to go: Party = customer, supplier, freelance, etc Company = Your company. Employee = Company workers > 2) When is "party" used and when is "company" used? This confuses me quite a > bit since "Invoices" uses party as a mandatory field but then again - > "projects" and "tasks" use "company" A company create sales. Those sales are related to suppliers (party) A company create invoices. Those invoices are related to supliers or customers (party) > 3) What is the policy regarding the creation of custom modules? For example, > I would like to implement a completely new module or to rework "Projects" > module to suit my needs (in the second case I would actually create a new > module by using current one as a template as oppose to modify default one) you are free. (I recomend review code from other modules) > 4) As soon as I create a new entry under "Productions" module, application > crashes. Is it a bug? > Error: 'NoneType' object has no attribute 'id' > Traceback (most recent call last): > File "neso", line 131, in __request > File "trytond\trytond\protocols\dispatcher.pyc", line 158, in dispatch > File "trytond\trytond\model\model.pyc", line 317, in default_get > File "trytond\trytond\modules\production\production.pyc", line 211, in > default_location > AttributeError: 'NoneType' object has no attribute 'id' About location configuration? Raimon
[tryton] Party module vs employee/company/bank/etc
Hello, New to Tryton and going through documentation (which should be updated). Couple of questions arise: 1) What is the main difference between party module and employee/company/etc. modules? Which would be the way to go: - First of all create different parties and then assign them to corresponding employees and companies, or - Create parties and separate them under parties module (as it's done with "parties associated to sales" and "parties associated to purchases") 2) When is "party" used and when is "company" used? This confuses me quite a bit since "Invoices" uses party as a mandatory field but then again - "projects" and "tasks" use "company" 3) What is the policy regarding the creation of custom modules? For example, I would like to implement a completely new module or to rework "Projects" module to suit my needs (in the second case I would actually create a new module by using current one as a template as oppose to modify default one) 4) As soon as I create a new entry under "Productions" module, application crashes. Is it a bug? Error: 'NoneType' object has no attribute 'id' Traceback (most recent call last): File "neso", line 131, in __request File "trytond\trytond\protocols\dispatcher.pyc", line 158, in dispatch File "trytond\trytond\model\model.pyc", line 317, in default_get File "trytond\trytond\modules\production\production.pyc", line 211, in default_location AttributeError: 'NoneType' object has no attribute 'id' I would very much appreciate your input. Thank you! Kind regards, Oskars Bonus