Tryton - Issues

 

Message40444

Author ced
Recipients Timitos, jesteve, pokoli, resteve, rvnovaes
Date 2018-04-28.11:43:56
Content
I think it is even better to remove the kind field completely.
We added it to ease non-accountant user to fill form like product. But indeed with issue3805, this can be eliminated as only accountant will be allowed to manage accounting categories.
The second usage is to compute the receivable/payable for a party. issue5565 shows that nobody use the design of one account per party. So I think we simply rely on the account type being payable or receivable.

Also removing the kind constraint will solve issue3229 and issue7204.

Following msg23169, the deferral property will be derived from the account type.

Here is the model proposal:

Account:

  - name
  - code
  - parent
  - type
  - reconcile
  - party required
  - GL balance
  - second currency
  - taxes
  - deferral: computed from account type (true: balance sheet, off-balance; false: income statement)

Account Type:

  - name
  - parent
  - statement: balance sheet; income statement; off-balance (constraint same as parent)
  - balance_type: payable, receivable, cash, income, other
  - income_type (when balance_type is income)
History
Date User Action Args
2018-04-28 11:43:56cedsetmessageid: <1524908636.52.0.0685139466062.issue4990@tryton.org>
2018-04-28 11:43:56cedsetrecipients: + Timitos, resteve, pokoli, jesteve, rvnovaes
2018-04-28 11:43:56cedlinkissue4990 messages
2018-04-28 11:43:56cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)