yaml triggers onchanges with parent expressions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
Hello,
I am unable to create an invoice line with a record in yaml since on change are called.
Even when refering to an invoice, the data isn't given to the onchange.
In my case, the issue is the following one :
[2011-12-13 12:15:32,
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
record_dict = self._create_
File "/home/
result = getattr(model, match.group(
File "/home/
raise osv.except_
except_osv: ('No Partner Defined !', 'You must first select a partner !')
[2011-12-13 12:15:32,
Traceback (most recent call last):
File "/home/
_load_data(cr, module_name, idref, mode, 'test')
File "/home/
tools.
File "/home/
yaml_
File "/home/
self.
File "/home/
self.
File "/home/
record_dict = self._create_
File "/home/
result = getattr(model, match.group(
File "/home/
raise osv.except_
except_osv: ('No Partner Defined !', 'You must first select a partner !')
I attach a testing module containing 2 yaml files. One doing an invoice that works (test.yml).
And the other which fails (test2.yml) trying to separate invoice and invoice_line to have an invoice_line reference that could be reused for advanced testing.
Regards,
Yannick
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
summary: |
- [6.1] Yaml - impossible to create an invoice line with a reference + yaml triggers onchanges with parent expressions |
Hello Yannick Vaucher,
I have checked your issue at my end with Both ymls ,faced the same problem.
I have attach another yml file which has same problem of partner_id.would you please check it .
so I confirm this as bug.
Thanks for the reporting!