Hi-
I created a simple custom attribute on the sales/order entity. Now, for new orders, order number is null. I looked at the sales_order table, and sure enough, increment_id is null... can anyone help me out, I am stumped?
This is my setup.php:
`public function getDefaultEntities() {
return array(
'order' => array(
'entity_model' => 'sales/order',
//'attribute_model' => 'catalog/resource_eav_attribute',
'table' => 'sales/order',
'attributes' => array(
'pr_email_sent' => array(
'label' => 'prEmailSent',
'type' => 'varchar',
'default' => 'false'
),
)
)
);
}`
This is my config.xml
<fieldsets>
<sales_order>
<pr_email_sent><create>1</create><update>1</update></pr_email_sent>
</sales_order>
</fieldsets>
Thanks.