badep / addons Goto Github PK
View Code? Open in Web Editor NEWOdoo addons from BADEP
Home Page: https://badep.ma
Odoo addons from BADEP
Home Page: https://badep.ma
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 446, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 763, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 1077, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_ui_view.py", line 264, in create
context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 336, in old_api
result = method(recs, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/producer.py", line 48, in create
record_id = create_original(self, vals)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 4078, in create
record = self.browse(self._create(old_vals))
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 463, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 4269, in _create
recs._validate_fields(vals)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 1271, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) arch
failed against a constraint: Invalid view definition
Error details:
Element '' cannot be located in parent view
Error context:
View account.report_invoice_document_with_taxes
[view_id: 815, xml_id: sale_taxed_total.report_invoice_with_taxes, model: n/a, parent_id: 575]" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/psms/report/account_invoice_report_view.xml:4, near
account.report_invoice_document_tms
qweb
<h2>
<span t-if="o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')">Invoice</span>
<span t-if="o.type == 'out_invoice' and o.state == 'proforma2'">PRO-FORMA</span>
<span t-if="o.type == 'out_invoice' and o.state == 'draft'">Draft Invoice</span>
<span t-if="o.type == 'out_invoice' and o.state == 'cancel'">Cancelled Invoice</span>
<span t-if="o.type == 'out_refund'">Refund</span>
<span t-if="o.type == 'in_refund'">Supplier Refund</span>
<span t-if="o.type == 'in_invoice'">Supplier Invoice</span>
<span t-field="o.number"/>
</h2>
<div class="row mt32 mb32">
<div class="col-xs-3" t-if="o.date_invoice">
<strong>Invoice Date:</strong>
<p t-field="o.date_invoice"/>
</div>
<div class="col-xs-3" t-if="o.date_due">
<strong>Date d'échéance:</strong>
<p t-field="o.date_due"/>
</div>
<div class="col-xs-3" t-if="o.partner_id.ref">
<strong>Customer Code:</strong>
<p t-field="o.partner_id.ref"/>
</div>
<div class="col-xs-3" t-if="o.so_count">
<strong>Nombre de bons inclus:</strong>
<p t-field="o.so_count"/>
</div>
</div>
<table class="table table-condensed" style="height: 170mm; border: 1px solid black;">
<thead>
<tr>
<th style="border-right: 1px solid black; text-align: center; font-weight: normal;">Quantity</th>
<th style="border-right: 1px solid black; text-align: center; font-weight: normal">Description</th>
<th style="border-right: 1px solid black; text-align: center; font-weight: normal">Unit Price</th>
<th groups="sale.group_discount_per_so_line" style="border-right: 1px solid black; text-align: center; font-weight: normal">Discount (%)</th>
<th style="text-align: center; font-weight: normal">Amount</th>
</tr>
</thead>
<tbody class="invoice_tbody">
<tr t-foreach="o.invoice_line" t-as="l" style="height: 100%;">
<td class="text-right" style="border-right: 1px solid black;">
<span t-field="l.quantity"/>
<span t-field="l.uos_id" groups="product.group_uom"/>
</td>
<td style="border-right: 1px solid black;"><span t-field="l.name"/></td>
<td class="text-right" style="border-right: 1px solid black;">
<span t-esc="round(l.price_unit, 2)"/>
</td>
<td class="text-right" groups="sale.group_discount_per_so_line" style="border-right: 1px solid black;"><span t-field="l.discount"/></td>
<td class="text-right">
<span t-esc="round(l.price_total, 2)"/>
</td>
</tr>
<tr style="height:100%;">
<td class="text-right" style="border-right: 1px solid black;">
</td>
<td style="border-right: 1px solid black;"/>
<td class="text-right" style="border-right: 1px solid black;">
</td>
<td class="text-right" groups="sale.group_discount_per_so_line" style="border-right: 1px solid black;"/>
<td class="text-right">
</td>
</tr>
<tr style="border-top: 1px solid black;">
<td colspan="2" style="border-top: 1px solid black;">
<strong>ARRETEE LA PRESENTE FACTURE A LA SOMME DE:</strong>
</td>
<td style="border: 1px solid black;"><strong>Total</strong></td>
<td class="text-right" style="border: 1px solid black;">
<span t-field="o.amount_total" t-field-options="{"widget": "monetary", "display_currency": "o.currency_id"}"/>
</td>
</tr>
<tr style="border-top: none;">
<td colspan="2">
<span style="text-transform: uppercase;" t-field="o.amount_to_text"/>
</td>
<td colspan="2"/>
</tr>
</tbody>
</table>
<p t-if="o.comment">
<strong>Comment:</strong>
<span t-field="o.comment"/>
</p>
<p t-if="o.payment_term.note">
<strong>Payment Term:</strong>
<span t-field="o.payment_term.note"/>
</p>
<p t-if="o.fiscal_position.note">
<strong>Fiscal Position Remark:</strong>
<span t-field="o.fiscal_position.note"/>
</p>
</div>
</t>
</t>
</xpath>
</data>
</field>
</record>
addons/crm_facebook_leads/models/lead.py
Line 89 in 5e431f0
Hi
I get a error with getting the access token.
it tells me the user need to login again.
If I use get access token I get URL not invalid URL redirect
Hello,
I tried to set up the module for odoo v11 (entreprise edition). I got the following traceback
`
`
Here the video of procedure : https://drive.google.com/open?id=17CAHfn8c-JHeShVOgiQD88HlNmG2tbbp
when I try to install sale_taxed_total
and psms
modules I get these error logs:
ProgrammingError: relation "hr_contract" does not exist
LINE 9: RIGHT JOIN hr_contract contr ON contr.employ...
***Details ***
Traceback (most recent call last):
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 546, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 583, in dispatch
result = self._call_function(**self.params)
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 319, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 316, in checked_call
return self.endpoint(*a, **kw)
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 812, in __call__
return self.method(*args, **kw)
File "/home/pmutua/1-bit/aahi/openerp/http.py", line 412, in response_wrap
response = f(*args, **kw)
File "/home/pmutua/1-bit/aahi/openerp/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/home/pmutua/1-bit/aahi/openerp/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/addons/base/module/module.py", line 447, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/home/pmutua/1-bit/aahi/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/addons/base/module/module.py", line 495, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/home/pmutua/1-bit/aahi/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/pmutua/1-bit/aahi/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/home/pmutua/1-bit/aahi/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/pmutua/1-bit/aahi/openerp/modules/loading.py", line 157, in load_module_graph
init_module_models(cr, package.name, models)
File "/home/pmutua/1-bit/aahi/openerp/modules/module.py", line 290, in init_module_models
obj.init(cr)
File "/home/pmutua/1-bit/aahi/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/addons/hr/report/hr_employee_report.py", line 64, in init
)""" )
File "/home/pmutua/1-bit/aahi/openerp/sql_db.py", line 171, in wrapper
return f(self, *args, **kwargs)
File "/home/pmutua/1-bit/aahi/openerp/sql_db.py", line 247, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "hr_contract" does not exist
LINE 9: RIGHT JOIN hr_contract contr ON contr.employ...
FCM token is sometimes lost and not refreshed automatically
The facebook leads graph link is limited to 25 leads per page, at the end of the page you'll find "Next" link....
or you can use the limit parameter like this:
https://graph.facebook.com/v2.12/form_id/leads?access_token=xxx&limit=9999
Thanks.
Hello, I am Yorlys Oropeza worker of Universidad Isep, I have some problems in the installation of module CRM Facebook Lead Ads for Odoo, this module can't be installed in our Odoo instance.
This module showing the next error:
I verified all dependencies in our Odoo instance and some other in our VPS and python version,
and I execute others many installations and all work fine
This module need some extra dependencies?
Thanks for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.