feat(numbering): block direct invoice creation + wire account.move into mixin
Customer invoices (out_invoice / out_refund) can only be created via sale.order._create_invoices() or with an invoice_origin matching an existing SO. Applies to ALL users including admins. Once created, the move's name is derived from the SO's parent number: IN-30000, IN-30000-02, CN-30000, ... Pre-existing portal-job link on action_post() preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
{
|
||||
'name': 'Fusion Plating — Native Jobs',
|
||||
'version': '19.0.8.22.3',
|
||||
'version': '19.0.8.22.4',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.',
|
||||
'author': 'Nexa Systems Inc.',
|
||||
|
||||
Reference in New Issue
Block a user