Commit Graph
13 Commits
Author SHA1 Message Date
Antoine (anso) 1efdb96227 [IMP] website_customer: layout improvements
The structure of this module was adapted
as it was broken and not appealing:

- Text alignments and font sizes were improved
- Card structure instead of a list
- Filters and search are now grouped on top and take less space in
the page

A specific mobile view for the filters was implemented off canvas as
the current one was not optimized.

All these changes were made to make this module more consistent with
the rest of the front-end modules.

The option to show the map is now visible/not visible depending on if
the database contains a google maps API

task-3083706

Part-of: odoo/odoo#109752
2023-05-30 10:31:43 +02:00
Paul Morelle 215bf5397e [FIX] website_customer: make res.partner.tag.classname overridable
The selection function get_selection_class for the field classname has
obviously been thought to be overridable by subclasses in order to add
new selection classes if need be.

However, before this commit the method was passed directly to the
Selection constructor, which used the callable object directly. If it
was overridden by a subclass, the Selection object would still use the
same non-overridden callable instance.

With this commit, we give the name of the method instead of the
callable, which makes that the method is resolved after all overrides,
and therefore the resulting selection will be the overridden one.

closes odoo/odoo#122416

X-original-commit: 91bea59678c92dbb06151dbf757398f588aeefdb
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Paul Morelle (pmo) <pmo@odoo.com>
2023-05-25 11:07:03 +02:00
Jeremy Kersten f8a7379be9 [IMP] website_customer, website_hr: match apps when redirect in edit backend
Edit in backend now redirect to related apps, and no more in website Apps

closes odoo/odoo#54208

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-07-09 06:45:33 +00:00
DramixDw 9b9829416b [IMP] website: simplify website menu
Some apps, once installed, automatically create a menuitem in website.
What complexify the UI and create useless menu withtout plusvalue.

It is not because you install livechat to make support online, that you want
a link in your menu to show stats e.g.

Now we remove the default menu created, and help user to find it when he create
a link. The autocomplete suggest most of the main App's controllers

task-2189613

closes odoo/odoo#49081

Related: odoo/enterprise#9733
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-05-01 07:59:07 +00:00
Romain Derie 7a90dedd25 [IMP] website*: use published mixin rather than own field
*website_crm_partner_assign, website_customer

Before this commit, some models would create their own `website_published`
field rather than using the `website.published.mixin` mixin which should be
used instead.

That was done to be able to override the default value of the boolean.

This commit simply adds the possibility to override the default value of the
mixin field.

Also, help and string could simply be added on xml views rather than overriding
the field.
2019-08-03 09:51:22 +00:00
Nimesh Jethva 53e8aba1ab [IMP]website_*: Improvement in model description
Purpose of this commit is to give description more "business oriented"
because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers.

Related Task ID : 37311
2018-09-21 11:45:15 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Jérome Maes 3275a90ff0 [MIG] website_customer : migraton to new api 2016-07-12 11:43:48 +02:00
Jérome Maes ea90d4ef0c [MOV] website_customer : move files 2016-07-12 11:43:48 +02:00
Jeremy Kersten df2bed3c16 [FIX] website_customer: rename tag into website tag
Confusing since b51795e924

todo: merge 2 models?
2015-08-31 21:02:42 +02:00
Thibault Delavallée eb58572ac2 [IMP][REF] website_customer, website_event, website_livechat, website_sale_delivery,
website_slides: use the recently introduced website.published.mixin to
replace the website_published and website_url fields defined in various
remaining modules.

In slides, some templates have been updated because share_url was basically
website_url and has been replaced.
2015-01-28 16:21:24 +01:00
Jeremy Kersten f8a16f50aa [FIX] website_customer: Fixes for review from commit e5ac65de59
Change xmlid from ir rule
Uses odoo unslug function
Rename CamelCase variable / function
Replace SQL by ORM search
Replace 1 by True for boolean
Improve name for ir model access
Add missing coding
Reindent long line
Reindent xml
Typo singular/plural
2015-01-09 09:55:35 +01:00
Jeremy Kersten e5ac65de59 [IMP] website_customer: add tags on partners. That allows to sort/filter the customers on website. Old categories [res.partner.category] (named Tags in UI) was confusing with tags and have been renamed into Categories. 2015-01-07 18:11:24 +01:00