-
m2m is great, but one2many is often what one needs. Parts of the current m2m tried to be o2m, so that needs to be fixed.
The harder part about o2m (considering the current framework) is that it requi…
-
Error message appears when trying to enter at the mail-box.
The error only appears using the web client, in GTK client i don't have any error and i can send an email.
I am using openerp V. 6.0.4.
…
-
As discussed with Daniel on irc.
If we have a Book model that has a foreign key to Author, and we want to save an Author with a few books all at once, we pass data like {'name': 'shawn', 'book_set': …
-
So there is Many2Many .. How do you define One2Many relationship
-
In the following script provided by Joël Grand-Guillaume from CampToCamp:
a=ResPartnerAddress.find(:first)
a.partner_id.supplier=true
a.save
a.partner_id.supplier -> false
a.save doesn't save the re…
-
Hi !
Trying this:
res=ResPartner.find(:all,:domain=>[ ['supplier','=',true] ])
res.should be_true
res.each do |part|
if (part.address.length >0) :
@partner = part
break…