Technical Mailing lijst archieven


Re: Journal Entry's Source Document

Elico Solutions Pte Ltd, dominique kon sun tack
- 18-02-2019 06:46:33
Personal opinion: I think a free text field for reference is actually a more robust design.
(1) You can add a smart button to find the relevant PO, SO, Invoice, picking etc...
Much better than a many2one which will restrict you to only 1 related model.

(2) explicit reference that end-user can maintain/modify. Much easier to handle exceptional cases

(3) even possible to add some structure, e.g. add a list of source documents, comma separated, instead of only one.

More code, longer to do, but more robust (in my opinion)..


On Fri, Feb 15, 2019, 17:46 Kitti Upariphutthiphong < wrote:
Dear all,

Many time when create accounting report form Journal Entries, we always have to refer to the original document whatever create that entry. 

Journal Entries are created from various source of document, but Odoo do not have good way of storing it (normally it show in ref as text, which is editable).

Not sure if anyone face the same problem?

Are there any module out there that help storing source documents (as ID)?

Thank you,

Post to: