Hi Ahmed,
Hello! It sounds like you are trying to add a custom field to the POS settings in Odoo, and use it to send new manufacturing orders based on the current machine and selected operation type.
To add a custom field to the POS settings, you can follow these steps:
Go to the "Point of Sale" app in Odoo and open the "Settings" menu.
Click on the "Technical Features" option at the top of the screen to enable developer mode.
Once developer mode is enabled, click on the "Point of Sale" menu again and select "Point of Sale Configurations".
Open the configuration that you want to add the custom field to.
Click on the "Edit" button at the top of the screen.
Scroll down to the bottom of the screen and click on the "Add a line" button in the "Custom Fields" section.
Enter a name for the custom field, and choose the field type that you want to use (e.g. "Selection").
Configure the options for the custom field as necessary, including any default values or validation rules.
Once you have added the custom field to the POS configuration, you can use it to send new manufacturing orders based on the current machine and selected operation type. To do this, you will need to create a custom module that listens for POS orders and creates new manufacturing orders based on the selected operation type and current machine.
This custom module can use the custom field that you created to retrieve the selected operation type from the POS order, and then use the Odoo APIs to create a new manufacturing order with the appropriate operation type and machine. You may also need to configure the module to handle any dependencies or other customizations that are specific to your manufacturing process.
I hope this helps! Let me know if you have any further questions or if there is anything else I can assist you with.
Ksolves Team!