Code Monkey home page Code Monkey logo

website's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

website

TODO: add repo description.

Available addons

addon version maintainers summary
website_analytics_matomo 14.0.1.0.0 Track website users using matomo
website_cookiefirst 14.0.1.1.0 Cookiefirst integration
website_crm_privacy_policy 14.0.1.0.0 Website CRM privacy policy
website_crm_quick_answer 14.0.1.1.0 Add an automatic answer for contacts asking for info
website_forum_subscription 14.0.1.0.0 Adds a button to allow subscription from the website
website_google_analytics_4 14.0.1.1.0 Google Analytics 4 integration
website_google_tag_manager 14.0.1.0.0 Add support for Google Tag Manager
website_legal_page 14.0.1.0.0 Website Legal Page
website_menu_by_user_status 14.0.1.0.0 Allow to manage the display of website.menus
website_no_crawler 14.0.1.2.0 Disables robots.txt for indexing by webcrawlers like Google
website_odoo_debranding 14.0.1.1.0 Remove Odoo Branding from Website
website_plausible 14.0.1.0.1 LoisRForgeFlow Track website users using plausible
website_require_login 14.0.1.0.1 Website Login Required
website_snippet_country_dropdown 14.0.1.0.0 Allow to select country in a dropdown

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

website's People

Contributors

astirpe avatar bjornbillen avatar chienandalu avatar claudiagn avatar cristinamartinrod avatar cubells avatar dsolanki-initos avatar ernestotejeda avatar francesco-ooops avatar ibuioli avatar ioans73 avatar klodr avatar lasley avatar manuelregidor avatar matteoopenf avatar mymage avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar pedrobaeza avatar renda-dev avatar sbidoul avatar ska-ibees avatar smurf-u avatar tardo avatar victor-champonnois avatar victoralmau avatar weblate avatar yajo avatar yvesldff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

Error after installation

After installation, I get the following error message above the web editor menu bar.
Could not get content for website_snippet_marginless_gallery/static/src/css/website_snippet_marginless_gallery.css defined in bundle 'website.assets_frontend'

Any Idea how I can fix this?
The snippet seems to work but I don't get a dialog that asks for standard height of the images.

[9.0] Moving modules from v8 OCA/website to v9 OCA/e-commerce

Hi all,

This is an issue to discuss which modules we will move to OCA/e-commerce and which we won't

As discussed we must take this moment of moving to v9 to move modules to the correct repository.

All modules which depends from website_sale must be moved to OCA/e-commerce:

  • website_event_register_free_with_sale
  • website_sale_collapse_categories
  • website_sale_order_company
  • website_sale_unsaleable_options
  • website_sale_vat_required

If you agree this 5 modules will go to https://github.com/OCA/e-commerce/tree/9.0

Thanks

Wrong contact us info

The website uses the email of the "related user" for the HR employee who installed/created the website. Instead, it should use the company email specified in the company information.

Not really sure how else to explain it. The little blob that says "connect with us" has the correct data but when one goes to the page /page/website.contactus the contact info is not correct. It seems to be the contact info for a user who created the website.

Migration to version 9.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0

Modules to migrate

  • website_analytics_piwik - #145
  • website_anchor_smooth_scroll - By obulkin - #243
  • website_backend_views
  • website_blog_facebook_comment
  • website_blog_excerpt_img - By @yajo - #298
  • website_blog_mgmt - By @sergio-teruel - #147
  • website_blog_share - By @cubells - #291
  • website_breadcrumb - By @khaeusler - #216
  • website_canonical_url - By @yajo - #299
  • website_crm_privacy_policy - By @yajo - #302
  • website_calendar_snippet - It should be renamed to website_snippet_calendar - By @tarteo - #317
  • website_container_fluid - By @yajo - #300
  • website_cookie_notice - #195
  • website_crm_quick_answer - By @yajo - #321
  • website_event_register_free - In core
  • website_event_register_free_with_sale - In core
  • website_hr_department
  • website_img_bg_style - By @cubells - #290
  • website_legal_page - By @lasley - #194
  • website_logo - By @lasley - #192 - By @StephanRozendaal - #245
  • website_menu_by_user_status - By @hurrinico - #275
  • website_menu_multilang
  • website_no_crawler - By @RoelAdriaans-B-informed - #100
  • website_portal_purchase - By @lukebranch
  • website_sale_order_company - To be moved to OCA/e-commerce
  • website_sale_unsaleable_options - To be moved to OCA/e-commerce
  • website_sale_vat_required - To be moved to OCA/e-commerce - By @yajo - OCA/e-commerce#174
  • website_sale_collapse_categories - Removed as it's integrated on v9 core
  • website_seo_redirection - By @lasley - #219
  • website_signup_legal_page_required - By @archetipo - #272
  • website_snippet_anchor - By @yajo - #288
  • website_snippet_big_button - By @yajo - #303
  • website_snippet_marginless_gallery - By @yajo - #368
  • website_supplier_list - By @mikevhe18 - #286

Collapsible product categories in website shop causing NoneType error

I have successfully installed the module (without error) to create collapsible categories in the webshop, but when I navigate to the Customize menu and select the check box, the shop page shows this error.

I am suspecting that this is some sort of null data error, but not sure where/what might be missing? I have many categories with parent categories, and every product in the system has a public category defined.

Any suggestions on where to look would be much appreciated.

Oh, I am running odoo on Windows 8 and despite the file structure I am current up to the odoo_8.0.20150625 build.

screenhunter_65 jul 01 15 17
screenhunter_66 jul 01 15 23

Error
Error message:

"argument of type 'NoneType' is not iterable" while evaluating
"'fa-chevron-down' if categ.id in parent_category_ids else 'fa-chevron-right'"
QWeb
Error message:

Could not evaluate expression "'fa-chevron-down' if categ.id in parent_category_ids else 'fa-chevron-right'"
The error occured while rendering the template website_sale_collapse_categories.option_collapse_categories_recursive and evaluating the following expression: 'fa-chevron-down' if categ.id in parent_category_ids else 'fa-chevron-right'

Traceback
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\website\models\ir_http.py", line 199, in _handle_exception
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_http.py", line 147, in _handle_exception
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\http.py", line 666, in _handle_exception
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\http.py", line 1368, in get_response
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\http.py", line 1241, in flatten
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\http.py", line 1235, in render
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\api.py", line 241, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\website\models\ir_ui_view.py", line 172, in render
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\api.py", line 241, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_ui_view.py", line 1029, in render
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\api.py", line 241, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 261, in render
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 436, in render_tag_call
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 422, in render_tag_foreach
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 445, in render_tag_call
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\api.py", line 241, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 261, in render
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 283, in render_node
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\website\models\ir_qweb.py", line 61, in render_att_att
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 354, in render_att_att
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 223, in eval_format
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 222, in
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 213, in eval_str
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 205, in eval
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 202, in eval
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server\openerp\addons\base\ir\ir_qweb.py", line 88, in safe_eval
File "C:\Program Files (x86)\Odoo 8.0-20141003-000212\server.\openerp\tools\safe_eval.py", line 314, in safe_eval
File "", line 1, in
QWebException: "argument of type 'NoneType' is not iterable" while evaluating
"'fa-chevron-down' if categ.id in parent_category_ids else 'fa-chevron-right'"

website_integrator for odoo-community.org

Bountysource

The OCA is using website_partner to display the list of OCA sponsors on http://www.odoo-community.org.

We would like to display a second list for integrators. The partner page can be the same as the website_partner but the menu item is different and there would be a field on the partner to set the integrator level.

notification settings and digest mail notification

A customer needs digest notifications (weekly, daily, etc) on some website contents.
I wonder if there's already something there for:

  • managing settings/subscriptions (a specific panel in user's home)
  • a mailing list digest option
  • any other goodie related to this subject :)

Any pointer? Any must-have? Any "I've done that, it's here[link]"? ๐Ÿ˜„

[8.0] website seo redirection original URL is not available any longer after new entry

create a new Entry
example:
original URL:
http://www.yourdomain.com/shop/product/testproduct-6
destination URL:
http://www.yourdomain.com/specials/testproduct-6
relocate "enabled"

The docu states that if this is set as described both links should work but run always into the destination URL.....
I was 100% sure that this already worked...
but now it does not anymore if i exactly do this above example the original url is not avilable anymore. and i get 500 internal server error.

Migration to version 10.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0

Modules to migrate

[8.0] website_event_register_free - Register public user without event seats_max

After install website_event_register_free:

  • Create event without event seats_max, set only name and dates (minimun data), and do public to be available on website
  • Without login on website (with public user) go to event, set quantity of tickets and click on register now.
  • As you are not logged, you must to set data (name, company, email, telephone), but quantity selector is not shown

I'm working on a PR to solve

[8.0][website_legal_page] Xpath Expression breaks update and install !

@pedrobaeza @rafaelbn The Xpath expressions

<template id="terms_of_use_link"
          inherit_id="website.layout_footer_copyright"
          name="Terms of use Link">
    <xpath expr="//footer//div/span[@t-field='res_company.name']" position="after">
        <span>- <a href="/page/terms">Terms of use</a></span>
    </xpath>
</template>

in

breaks installation or update of this addon since there is no footer element in the website.layout_footer_copyright view!

Possible Fix:

<xpath expr="//span[@t-field='res_company.name']" position="after">

This expression is "sharp" enough in my opinion!

Unify snippets in one module?

I launched #107, but will have to launch more probably.

Should OCA unify all snippets in one module (i.e. website_snippets_extra), or make one for each one?

website_logo: original company logo is unnecessarly converted to a square image which leads to ugly reports

When I install website_logo, the image size of the original company_logo is changed to a square image and the logo is vertically centered. Example: I have a logo with a relationship of width 2 units and height 1 unit. The module creates a square company logo (width 2 units, height 2 units) where my original logo is vertically centered. Without installing the module, my company logo keeps the original relationship between width and height.
The result is:

  • the company logo needs to much space in the backend left navigation pane
  • for the reports the company logo is automatically downsized again and the resulting logo on the reports is to small.

Is there anything I can do about it?

website_backend_views doesn't scroll

I installed website_backend_views and the main partner form displays fine, but for some reason, the webpage cannot scroll up/down or left/right. Any ideas as to what the problem could be?

website_analytics_piwik issue

my piwik plugin install and configured very smoothly without any error. and Piwik start tracking visitors information. But when we click "send by email" on Quotation or Purchase module found following error:

QWebException: "'NoneType' object has no attribute 'piwik_analytics_host'" while evaluating
'website.piwik_analytics_host'

Website title cannot update

We have used this module for ULR redirection and works fine.Recently I have noticed that Page Title doesn't update and I have uninstalled this module for testing.Once it removed from the system I could able to renamed/update page titles under "SEO optimize".Hope this is a bug/issue and may be specific to EN version.

Tested on Odoo V9 Enterprise version

website_event_register_free_with_sale: Error 500 when buying a Event with price

1 -
20-04-2015 14-18-56
2 -
20-04-2015 14-20-24
3 -
20-04-2015 14-20-40
4 - Log:
File "/var/openerp/project/website_event_register_free_with_sale/controllers/website_sale.py", line 56, in checkout
return super(WebsiteSale, self).checkout(self, *_post)
File "/var/openerp/common/openerp/v8/openerp/http.py", line 399, in response_wrap
response = f(_args, **kw)
TypeError: checkout() takes exactly 1 argument (2 given)

[8.0] website_sale_vat_required - Doesn't show field VAT in checkout & README

After testing in runbot, with this module installed you cannot buy because when you and in the checkout form you cannot confirm the order. I guess when I click in "confirm" button Odoo ask for VAT because is required but as this field is not shown you cannot fill it.

After this test and issue I discover that README of this module is not up-to-date, there is not runbot button and there is not bug tracker link

[WISHLIST] Add stock indication to shop/product

It would be a nice feature to have a stock-indication
for example: If the product's stock is 0-10, show green circle, if lt or equal to 0, show red

It is possible to just add the product's stock through xml, but this will not show if the user is not logged in, since public user has no read on the product's stock field

website_document_page

This module would allow you to manage and structure document pages on the website to be used for an online help or wiki.

It would also allow you to provide a printable version with a table of content and subpages that you can use for a training course for example.

See also OCA/knowledge#38

website_event_register_free: Error when trying to register on free event

Odoo V8

website_event_sale installed.
image 2

New event created with no type of tickets. Ticket type free appears in webpage and when I click on Register now, I receive this: 500: Internal Server Error
Here is the trace:
Traceback (most recent call last):
File "/home/openerp-sandbox8/instance/parts/odoo/addons/website/models/ir_http.py", line 204, in _handle_exception
response = super(ir_http, self)._handle_exception(exception)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception
return request._handle_exception(exception)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 654, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/addons/base/ir/ir_http.py", line 126, in _dispatch
result = request.dispatch()
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 672, in dispatch
r = self._call_function(*_self.params)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 302, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 299, in checked_call
return self.endpoint(_a, *_kw)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 791, in call
return self.method(_args, *_kw)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/http.py", line 395, in response_wrap
response = f(_args, *_kw)
File "/home/openerp-sandbox8/instance/website/website_event_register_free/controllers/website_event.py", line 51, in event_register_free
'user_id': http.request.env.user.id,
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 462, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/addons/mail/mail_thread.py", line 377, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 336, in old_api
result = method(recs, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/connector/connector/producer.py", line 47, in create
record_id = create_original(self, vals)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/models.py", line 4007, in create
record = self.browse(self._create(old_vals))
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 462, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/models.py", line 4198, in _create
recs._validate_fields(vals)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/openerp-sandbox8/instance/parts/odoo/openerp/models.py", line 1292, in _validate_fields
raise ValidationError("Error while validating constraint\n\n%s" % tools.ustr(e))
ValidationError: ('ValidateError', u'Error while validating constraint\n\nNo more available seats.')

However, minimum and maximum available seats are defined.
image 1
image 2

[TRANSIFEX] Is the synchronization working?

Hi,

I'm quite new to Transifex, and I was looking for information about the synchronization, I read somewhere (didn't remember...) that the Transifex sync was done once a week by a bot.
I made some translations one month ago (website_cookie_notice on branch 9.0, FR translations), but they are not merged yet. Is there a validation process? Or maybe I forgot something on Transifex... ?

Regards,

website_blog_publication_date

This module adds a publication date field on a blog post to store the date when the post was published. This field is also used to sort public blog posts, instead of using the creation date.

[8.0][website_slide] Demo data error

My PR #149 got error on travis and runbot because one of the demo data raise an error

File "/home/travis/build/OCA/website/website_slides/models/slides.py", line 434, in create values['url']).get('values', dict())
File "/home/travis/build/OCA/website/website_slides/models/slides.py", line 581, in _parse_document_url document_id, only_preview_fields)
File "/home/travis/build/OCA/website/website_slides/models/slides.py", line 595, in _parse_youtube_document youtube_values = fetch_res['values'].get('items', list(dict()))[0]
ParseError: "list index out of range" while parsing /home/travis/build/OCA/website/website_slides/data/website_slides_demo.xml:76, near
<record id="slide_5" model="slide.slide">
<field name="name">OpenERP POS Indiegogo Campaign</field>
<field name="url">https://www.youtube.com/watch?v=C_Laaz4mORg</field>
<field name="channel_id" ref="channel_public"/>
<field name="category_id" ref="category_1"/>
<field name="website_published" eval="True"/>
<field name="tag_ids" eval="[(4, ref('tag3'))]"/>
</record>

It maybe because the youtube link ( https://www.youtube.com/watch?v=C_Laaz4mORg ) already closed.

[8.0] [website_portal] Login redirection regression

Commit 9141fe1 introduced a regression. It absolutely should not redirect to / in every case, in particular it overrides redirects defined in the url, breaking for example login and signup from checkout page or every possible customization of the redirect from frontend modules/template modifications with the HTML editor.

[9.0] website_logo does not load the logo

website_logo does not load the logo.

In the code it tries to find a logo where the domain is equal to a name of a website (see).
Is this as intended?

Shouldn't it be:
Take the logo where the domain is equal to the domain that is set on the website model.

TravisCI tests not working

It seems that core website_sale tests are being run and fail.

FAIL: test_02_admin_checkout (openerp.addons.website_sale.tests.test_sale_process.TestUi)

Also tests log is too long for TravisCI. Verbosity needs to be lowered.

website_sale_vat_required.saas_users

Error:

500: Internal Server Error
Error

Mensaje de error:

Element '<label class="control-label" for="vat" data-oe-id="1725" data-oe-source-id="1506" data-oe-xpath="/data/label" data-oe-model="ir.ui.view" data-oe-field="arch">' cannot be located in parent view

Error context:
View `saas_users`
[view_id: 1725, xml_id: website_sale_vat_required.saas_users, model: n/a, parent_id: 1506]

This happens when I'm logged in as (in this case root).
When I register as a new user no problem, the problem occurs when I am already a registered user and try make a order in shop.

Trace:

Traceback (most recent call last):
  File "/opt/odoo/8.0/core/addons/website/models/ir_http.py", line 196, in _handle_exception
    response = super(ir_http, self)._handle_exception(exception)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_http.py", line 146, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/odoo/8.0/core/openerp/http.py", line 659, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/opt/odoo/8.0/core/openerp/http.py", line 1358, in get_response
    result.flatten()
  File "/opt/odoo/8.0/core/openerp/http.py", line 1231, in flatten
    self.response.append(self.render())
  File "/opt/odoo/8.0/core/openerp/http.py", line 1225, in render
    context=request.context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/addons/website/models/ir_ui_view.py", line 172, in render
    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 1029, in render
    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_qweb.py", line 261, in render
    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_qweb.py", line 190, in get_template
    xml_doc = qwebcontext.loader(name)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 1027, in loader
    return self.read_template(cr, uid, name, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in read_template
  File "/opt/odoo/8.0/core/openerp/tools/cache.py", line 122, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 859, in read_template
    arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 553, in read_combined
    cr, uid, arch_tree, root_id, base.model, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 506, in apply_view_inheritance
    source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 484, in apply_inheritance_specs
    self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)
  File "/opt/odoo/8.0/core/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py", line 369, in raise_view_error
    raise AttributeError(message)
AttributeError: Element '<label class="control-label" for="vat" data-oe-id="1725" data-oe-source-id="1506" data-oe-xpath="/data/label" data-oe-model="ir.ui.view" data-oe-field="arch">' cannot be located in parent view

Error context:
View `saas_users`
[view_id: 1725, xml_id: website_sale_vat_required.saas_users, model: n/a, parent_id: 1506]

[RFC] website_domain: Restrict website to domain match

This module will add a domain_name field to website & website.config.settings. We may instead make a website.domain model & use a o2m instead.

In v10, this module will also need to add a website_id field into the website.config.settings, similar to what we had in v9.

If a website has a domain name selected, it will be used as the website for that domain (assuming the user has been directed to the right DB anyways). Something like this in the website model should do fine:

    @api.model
    def _get_current_website(self, domain_name):
        website = self.search([('domain', '=', domain_name)], limit=1)
        return website or self.search([], limit=1)

Anyone have any thoughts on existing strategies for this? Basically I need to host multiple websites on multiple domains from the same database. The branding will likely be different, but that can come later. Right now, I'm focusing solely on multi-website.

website_backend_views is not installable

I am on commit 797e7b3dc85348b064d59347b4e3769680922859 of the Odoo 9.0 branch. I am not able to install website_backend_views.

On the Technical Details tab of the module it simply says Not Installable for Status.

[9.0]website_logo: ported to 9.0: Need help to make it public

Hi
I have ported website_logo to 9.0, but I'm not a developer and have no idea what to do to make it available to others.
I had only to change the file website_logo/views/company_view.xml to

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <record id="view_company_form" model="ir.ui.view">
            <field name="name">res.company.form</field>
            <field name="model">res.company</field>
            <field name="inherit_id" ref="base.view_company_form"></field>
            <field name="arch" type="xml">
        <xpath expr="//page[@name='configuration']/group" position="after">
                    <group string="Website Logo">
                        <field name="website_logo" widget="image" nolabel="1"/>
                    </group>
        </xpath>
            </field>
        </record>
    </data>
</openerp>

and now it seems to work for 9.0.

[8.0] [website_portal_sale] 500: Internal Server Error

Viewing an invoice

Example URL: www.mysite.com/report/pdf/account.report_invoice/29

Error message: list index out of range

Dump:

Traceback (most recent call last): File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 199, in _handle_exception response = super(ir_http, self)._handle_exception(exception) File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 145, in _handle_exception return request._handle_exception(exception) File "/opt/odoo/odoo/openerp/http.py", line 666, in _handle_exception be used as response.""" File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 171, in _dispatch result = request.dispatch() File "/opt/odoo/odoo/openerp/http.py", line 684, in dispatch return Response(status=200, headers=headers) File "/opt/odoo/odoo/openerp/http.py", line 310, in _call_function File "/opt/odoo/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/openerp/http.py", line 307, in checked_call if self._cr: File "/opt/odoo/odoo/openerp/http.py", line 803, in __call__ File "/opt/odoo/odoo/openerp/http.py", line 403, in response_wrap @functools.wraps(f) File "/opt/odoo/odoo/addons/report/controllers/main.py", line 65, in report_routes pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=options_data, context=context) File "/opt/odoo/odoo/openerp/api.py", line 256, in wrapper ``@returns(model)``. File "/opt/odoo/odoo/addons/report/models/report.py", line 191, in get_pdf if html is None: File "/opt/odoo/odoo/openerp/api.py", line 256, in wrapper ``@returns(model)``. File "/opt/odoo/odoo/addons/report/models/report.py", line 168, in get_html except KeyError: File "/opt/odoo/odoo/openerp/api.py", line 256, in wrapper ``@returns(model)``. File "/opt/odoo/odoo/addons/report/models/report.py", line 507, in _get_report_from_name conditions = [('report_type', 'in', qwebtypes), ('report_name', '=', report_name)] IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.