This website works better with JavaScript.
Home
Explore
Help
Sign In
njeudy
/
vertical-cooperative
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
377
Commits
24
Branches
24
Tags
3.5 MiB
Tree:
d909c3d32c
11.0
12.0
12.0-add-financial-risk
12.0-backend_filter
12.0-chg-monetary_fields
12.0-easy_my_coop-module_category_cooperator_management
12.0-emc-rest-connector
12.0-emc_loan-o3-add-paid-amount
12.0-emc_loan-o6-subscription_end_date
12.0-fix-coop-validation
12.0-flag-easymycoop-mail-template
12.0-loan-improvements
12.0-max-amount-per-share
12.0-o4-net-interest-rate
12.0-openupgrade
12.0-small-changes
12.0-touch-cooperator-type
14.0-MIG-INITIAL
9.0
9.0-fix_tax_shelter_declaration_exclusion
9.0-medor-hide_bank_and_birthdate
9.0-tag
9.0_remove_national_register_number
myceliandre_usability
12.0-2020-01-23.00
12.0-2020-02-05.00
12.0-2020-03-12.00
12.0-2020-03-20.00
12.0-2020-03-26.00
12.0-2020-04-02.00
12.0-2020-04-20.00
12.0-2020-05-11.00
12.0-2020-06-26.00
12.0-2020-08-19.00
12.0-2020-08-20.00
12.0-2020-08-21.00
12.0-2020-09-20.00
12.0-2020-10-26.00
12.0-2020-11-10.00
12.0-2020-11-15.00
12.0-2020-12-06.00
9.0-2020-02-19.00
9.0-2020-05-06.00
9.0-2020-05-20.00
9.0-2020-05-20.01
9.0-2020-05-20.02
9.0-2020-10-01.00
9.0-2020-11-24.00
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'd909c3d32c'
${ noResults }
vertical-cooperative
/
website_portal_extend
/
__init__.py
2 lines
42 B
Raw
Normal View
History
[ADD] wsite_portal_ext: Correctly manage companies Remove the usage of street2. The street is stored in the street attribute. And it found the name of the company in a parent_id if there is one. If the partner is a company. It shows information about the company. Namely, its name, its VAT number, its email, its phone, and its address. If the partner is a contact of a company. It shows informations about the company and about the contact. Namely, the name, the email and the phone of the contact, the name, the VAT and the address of the company. In fact the VAT and the address must be the same on the contact and on the company. This is the standard behaviour in Odoo. So when a partner became a contact of a company it lost his own address and VAT number. These two field are copied from the company. When the partner is a person. It shows information about this person. Namely, his or her name, email, phone, VAT (not required) and address. It also make the website portal easier to extend.
7 years ago
# -*- coding: utf8 -*-
import
controllers