Fix a lot of bug in "source" field:

- missing creation table
- autoselect when creating order from proposal
- do not show proposal as origin when creating proposal
- use code instead of id
- use label in english
Also renamed table demand_reason into input_reason to match other table input_method.
This commit is contained in:
Laurent Destailleur 2011-05-07 12:30:31 +00:00
parent eba5b65484
commit 85ced50cc8
2 changed files with 18 additions and 0 deletions

View File

@ -287,3 +287,12 @@ CurrencyXOF=CFA Francs BCEAO
CurrencySingXOF=CFA Franc BCEAO
CurrencyXPF=CFP Francs
CurrencySingXPF=CFP Franc
#### Input reasons #####
DemandReasonTypeSRC_INTE=Internet
DemandReasonTypeSRC_CAMP_MAIL=Mailing campaign
DemandReasonTypeSRC_CAMP_EMAIL=EMailing campaign
DemandReasonTypeSRC_CAMP_PHO=Phone campaign
DemandReasonTypeSRC_CAMP_FAX=Fax campaign
DemandReasonTypeSRC_COMM=Commercial contact
DemandReasonTypeSRC_SHOP=Shop contact

View File

@ -291,3 +291,12 @@ CurrencyXOF=Francs CFA BCEAO
CurrencySingXOF=Franc CFA BCEAO
CurrencyXPF=Francs CFP
CurrencySingXPF=Franc CFP
#### Input reasons #####
DemandReasonTypeSRC_INTE=Internet
DemandReasonTypeSRC_CAMP_MAIL=Campagne Publipostage
DemandReasonTypeSRC_CAMP_EMAIL=Campagne EMailing
DemandReasonTypeSRC_CAMP_PHO=Campagne Téléphonique
DemandReasonTypeSRC_CAMP_FAX=Campagne Fax
DemandReasonTypeSRC_COMM=Contact commercial
DemandReasonTypeSRC_SHOP=Contact en magazin