Skip to content

[18.0][MIG] purchase_deposit_analytic#3093

Open
Saran440 wants to merge 5 commits into
OCA:18.0from
ecosoft-odoo:18.0-mig-purchase_deposit_analytic
Open

[18.0][MIG] purchase_deposit_analytic#3093
Saran440 wants to merge 5 commits into
OCA:18.0from
ecosoft-odoo:18.0-mig-purchase_deposit_analytic

Conversation

@Saran440

@Saran440 Saran440 commented Jun 6, 2026

Copy link
Copy Markdown
Member

Change analytic_account_id to analytic_distribution

@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_deposit_analytic Module purchase_deposit_analytic labels Jun 6, 2026

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I currently reviewing the financial workflow for advance payments (deposits) on Purchase Orders (POs) and want to confirm your preferred accounting behavior regarding Analytic Distributions.
Current Workflow Behavior:

  1. RFQ Creation: A Request for Quotation is created where the original product line items are assigned to Analytic Account A (e.g., Department A).
  2. Deposit Registration: The PO is confirmed, and the user clicks Register Deposit to open the payment wizard.
  3. Wizard Modification: In the wizard, the user explicitly changes the analytic distribution to Analytic Account B (e.g., a corporate prepayment or clearing account) and clicks Create and View Bills.
  4. Result:
  • The generated Vendor Bill is created using Analytic Account B.
  • A new Purchase Deposit Line is added to the PO, also using Analytic Account B.
  • The original product line items remain untouched, keeping Analytic Account A.

Is it correct that the newly created Deposit Line and Vendor Bill follow the wizard's distribution (Account B)? Or should they automatically copy the original line's distribution (Account A)?

If a user overrides the distribution in the wizard (Account B), should this change retroactively update the existing, original PO lines, or should those original lines keep their initial values (Account A)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_deposit_analytic Module purchase_deposit_analytic series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants