Hi all,

I'm working on an xmlrpc connector where I now need to generate invoices and handle them.

I can generate an invoice, add invoice lines, and assign taxes to the invoice-lines. But I can't seem to get the invoice-taxes recalculated on the invoice itself!

Also, when I assign an invoice-line for a product that has taxes assigned to the category, I still need to walk the category tree for the first parent to have taxes to lookup the tax-ids even though 'taxes_category' was set True.

So: I'm under the impression that either the on_change handlers are not called when using rpc. Or else, calling model.account.invoice.create() does not trigger them. Is that correct, or do I need to use some additional magic?



--
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

--
[email protected] mailing list

Reply via email to