Coder Social home page Coder Social logo

[RFC] Contract Sales about contract HOT 8 CLOSED

oca avatar oca commented on July 22, 2024
[RFC] Contract Sales

from contract.

Comments (8)

pedrobaeza avatar pedrobaeza commented on July 22, 2024

You already have project_task_material/project_task_material_stock for consuming products and sale_service_project for generating task from Sales Orders. What does this module add?

from contract.

angelmoya avatar angelmoya commented on July 22, 2024

Create recurring sale orders from contract, instead of create invoices

from contract.

angelmoya avatar angelmoya commented on July 22, 2024

project_task_material is right, but I prefer to create sale order because this way I can create a picking and invoice delivery qty

from contract.

pedrobaeza avatar pedrobaeza commented on July 22, 2024

project_task_material_stock create stock moves, but you're right that the track is not the same as with sales order.

The module should be called contract_sale_generation for being more explicit, as you can have also sales orders that generates contracts.

from contract.

angelmoya avatar angelmoya commented on July 22, 2024

OK, nice.

I started to do it keeping it simple.

I create a type field on contract that could be sale or invoice, and contract generate sale or invoice.

Next steeps:

  • Define recurring periods on lines, I think this functionality could be nice on contract module
  • Define type on lines

from contract.

pedrobaeza avatar pedrobaeza commented on July 22, 2024

For several periods, you can define several contracts and use the module https://github.com/OCA/contract/tree/9.0/contract_invoice_merge_by_partner. Any way, it can be one possibility for keeping all in one document, but you will complicate a lot the logic.

Several types (sales order/invoice) by line is also to complicate too much I think.

from contract.

angelmoya avatar angelmoya commented on July 22, 2024

WIP on #87

from contract.

pedrobaeza avatar pedrobaeza commented on July 22, 2024

Closing as there's a PR.

from contract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.