Openbravo Issue Tracking System - Contribution Requests
View Issue Details
0047705Contribution RequestsCore Contributionspublic2021-09-16 12:062021-10-15 12:23
sebastien_liron 
psanjuan 
urgentmajoralways
newopen 
5
0047705: pos business partner options are boolean and should be tri states component
pos business partner options are boolean and should be tri states component

The thing is that in some countries ( like Spain ) the fact that we fill optins like via email or via sms to false means that you already needs to make a business partner firm a paper ( austria too )

Now the boolean are by default at false in creation.

We will need to have a third initial state.
use the pos and create a business partner
use of tri state components instead of check boxes, also the corresponding fields should be changed in DB

What we have now :
two fields
viamail boolean : in db : 'Y' / 'N'
viasms boolean : in db : 'Y' / 'N'

so for this two fields to be changed as

viamail char(1) : in db : '0' / 'Y' / 'N'
viasms char(1) : in db : '0' / 'Y' / 'N'

with '0' as initial state, then the component will be able to switch from Y to N the value.

The idea will be te create a new Reference in the ERP to change the type of this existing fields ( and to be able to see the tri state component in both BO and FO )


NOR
Issue History
2021-09-16 12:06sebastien_lironNew Issue
2021-09-16 12:06sebastien_lironAssigned To => psanjuan
2021-09-16 12:07ucarrionIssue Monitored: ucarrion
2021-09-16 12:09rafarodaTag Attached: NOR
2021-10-15 12:23sebastien_lironProposed Solution updated

There are no notes attached to this issue.