forum | 1 Oct 2009 12:03

error on invoice

Hello,

I try to validate an invoice and i just can't do it.

Just 1 invoices before, i've try to make a product with a negative price, since then I ve this error.
I try with a normal sale order, a normal invoice...and i always have this error:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 242, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2513, in write
    self.pool.get(object)._store_set_values(cr, user, ids, fields, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2718, in _store_set_values
    result = self._columns[val[0]].get(cr, self, ids, val, uid, context=context)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/fields.py", line 640, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File
"/usr/lib/python2.5/site-packages/openerp-server/addons/account_tax_include/invoice_tax_incl.py",
line 77, in _amount_line2
    for tax in tax_obj.compute(cr, uid, line.invoice_line_tax_id,
(Continue reading)

forum | 1 Oct 2009 11:12

Preferred default locale

Hi, 

I'm currently investigating a bug in HR / Working Hours where the webclient 5.0.6 crashes if one tries to
save a record where obliged fields are empty. I wonder if it has to do with the locale settings which are set
to POSIX for UBUNTU 8.0.4 and hence C for Postgresql8.3. While the user has the language preference fr_FR
for OpenERP 5.0.6

Questions:
1) Is this a valid setup ?
2) Just to be on the sure side I would like to set the locales to the preferred ones. I.E. What are the locales
used by Tiny to devellop?

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44597#44597

-------------------- m2f --------------------

forum | 1 Oct 2009 08:24

Re: [Solved]SQL Question

thanks ferdinand, 
I used the following function :
DELETE FROM res_partner_job WHERE contact_id IN (SELECT contact_id FROM res_partner_job LEFT JOIN
RES_PARTNER_CONTACT ON RES_PARTNER_JOB.contact_id = res_partner_contact.id WHERE
(RES_PARTNER_CONTACT.ID IS NULL)ORDER BY contact_id);

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44590#44590

-------------------- m2f --------------------

forum | 1 Oct 2009 16:39

Categories in partner's tree view

Hi all!
I have quick question:
When i add a line to display categories in tree view: field name="category_id" in res.partner tree view i
get a list with numbers of categories for the parther, etc (name, category_id):
"Partner name1" (3)
"Partner name2" (1)
is there any way to show names of categories in tree view...?

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44615#44615

-------------------- m2f --------------------

forum | 1 Oct 2009 17:13

Printing Horizontally from an rml file

Hello everybody! This is my 1st subject, well, I have a project with a table, which prints vertically from an
rml file, but I'd like to print it horizontally, is this possible to doing this from an rml file?

Now I print like this:

             Quatity
             2.00
             3.00
             3.00
             1.00
             2.00
Total      11.00

But i want to do something like this:

                                                            Total
Quantity    2.00    3.00    3.00    1.00      9.00

Thanks in advance for any kind of information that you may provide.
Regards.

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44617#44617

-------------------- m2f --------------------

forum | 1 Oct 2009 17:29

Re: Printing Horizontally from an rml file

Actually, rml's tables look a lot like html tables. While editing rml files with a text editor (notepad on
windows, vim or whatever with linux) and try to get how the code works.

------------------------
Cordialement, Regards,
Gauthier BEAURIN

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44618#44618

-------------------- m2f --------------------

forum | 1 Oct 2009 19:18

Error on 5.0.6 on purchase.order.line

On purchase module

purchase_order_line_tree view have fields date_order, and partner_id
but this fields are not defined on purchase.order.line object

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44623#44623

-------------------- m2f --------------------

forum | 1 Oct 2009 20:48

Re: ANNOUNCEMENT: IFRS Accounting and Financial Statement module

 <at> greno

Thank you for sharing this module. I've installed it on 5.0.1, single company.

After I've installed it when I now try to create a new account (Financial accounts/list of accounts/new) I
get an Integrity Error, null value in column "user_type" violates not-null constraint.

I understand the error in that i'm supposed to fill out the 'user_type' field (I have no idea what its for nor
where it came from) however there are no blue boxes (required fields) that I have not filled out.

I could go and dig about the database and turn the constraint off but since I have no idea what else this
user_type field is used by or needed for this would be a bad idea.

The problem is, as it is right now my install of openerp is broken as I cant create any new accounts! Anyone
know how to fix this? Does an upgrade to one of the point releases help fix this?

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44624#44624

-------------------- m2f --------------------

forum | 1 Oct 2009 23:51

Re: Printing Horizontally from an rml file

Thanks for the hint, I'll try to "play" with the rml file and see how it works. Once again thank you.

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44625#44625

-------------------- m2f --------------------

forum | 2 Oct 2009 07:59

Display the name of a contact in the address

Hello all,
For invoicing purpouse, we'd like to be able to insert the name of a contact of a company in the address when
printing our documents.  Is there a way to do that ?

Thanks

Arnaud

-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44627#44627

-------------------- m2f --------------------


Gmane