2015-02-09 19:37 GMT+01:00 Cédric Krier <[email protected]>:
>
> Hi,
>
> I wrote a blueprint to manage customer complaint and actions to take.
> http://code.google.com/p/tryton/wiki/CustomerComplaint
>
> The idea is to have a simple but robust basis that allow customization
> especially for actions to take.
> The action processing will be quite similar to the account_payment
> processing.
>

It is a good Idea but i prefer it to be more general.

Sometimes you need manage diferent complaints like purchase, invoice,
production or lot

Maybe we can split in two modules.

Complaint Module.

complaint
    reference: Char
    date: Date
    customer: Many2One to party.party
    address: Many2One to party.address
    company: Many2One to company.company
    description: Text
    employee: Many2One to company.employee
    origin: Reference
    type: Many2One to sale.complaint.type with domain on origin
    state: Selection: 'draft', 'waiting', 'approved', 'done', 'cancelled'
    actions: One2Many to sale.complaint.action

I add this two fields:
    cost: Float()
    causer: Many2One to party.party.

complaint.type
    name: Char
    origin: Many2One to ir.model.model

complaint.action.type
    name: Char

complaint.action
    complaint: Many2One to sale.complaint
    description: Text
    type: Many2One to complaint.action.tipe
    document: reference to any object of ERP, configurable (like sale,
purchase or invoice).

It easy and simplier and you can manage any complaint manaually, whith
this designs you can manage refund, or give a present and let for
other modules to make automation.

Sale Complaint Module:

Add automation of selection with an action.
     Create a sale return for the sale origin
     Create a sale return for the sale line origin for an optional
quantity and an option unit price
     Create a credit note for the invoice origin
     Create a credit note for the invoice line origin for an optional
quantity and an









>
> Thanks,
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected]
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/




-- 
Àngel Àlvarez Serra
Tel. 93 553 18 03
@aasnan
www.NaN-tic.com

Avís legal >>

_______________________________________________
Nan mailing list
[email protected]
http://lists.nan-tic.com/listinfo/nan

Reply via email to