El 01/03/17 a las 15:20, Cédric Krier escribió:
On 2017-03-01 14:40, Luciano Rossi wrote:
Hi everybody,
After this change[0] company is required to create an analytic account. I
developed a module, cooperative_ar[1], sometime ago and I want to upgraded
to the new tryton version (4.2). One of the things that the module do is to
create analytic accounts from an xml[2]. Now that the company is required, I
do not know which is the best solution to add this field to the xml. Any
idea is welcome.
I guess the solution is to implement the same design as the account
module with the template.
Hi Cédric,
Finally I implement what you suggested. I created a new module called
*analytic_account_chart_template*[0] that the only thing that do is to
create analytic accounts from a chart template. Here is the
implementation of cooperative_ar module[1]. Perhaps, this kind a feature
would be nice to have it into analytic_account module directly. What do
you think?
[0] https://github.com/gcoop-libre/trytond-analytic_account_chart_template
[1]
https://github.com/gcoop-libre/trytond-cooperative_ar/commit/fd5ce0b310743f4e1634e1355a8895bc6cb7e2cf
Cheers,
--
Luciano Rossi - [email protected]
http://gcoop.coop - Cooperativa de Software Libre
Julián Alvarez 958 CABA C1414DRT +54 11 4771-0055
Visitá www.tiendas.coop - www.nube.coop
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/ae090e03-adc3-3772-6af5-88754263bb10%40gcoop.coop.